Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Rainfed corn yield underestimation after 2000 and activation of potato crop in CLM.

oleson

Keith Oleson
CSEG and Liaisons
Staff member
I don't know what the effects would be. The default lower_boundary_condition for CLM5 is indeed 2.
 

uzairrahil

Mohammad Uzair Rahil
New Member
Thank sir @slevis . I have a short question. why the below setting gives me a runtime error?, I wanna have all gird-averaged variables in first stream and only GRAINC_TO_FOOD in subgrid level. How to resolve?

hist_empty_htapes = .false., .true.

! Monthly average output for both streams
hist_nhtfrq = 0, 0

! Stream 1: 1 file per year (grid-averaged output)
hist_mfilt = 12, 12

! Stream 1: grid-averaged output (.true.), Stream 2: subgrid/PFT-level output (.false.)
hist_dov2xy = .true., .false.

hist_fincl2 = 'GRAINC_TO_FOOD'
 

slevis

Moderator
Staff member
Try removing the line
hist_empty_htapes = .false., .true.
or at least the ", .true." part of it, because I'm pretty sure that this option only applies to the first history file.
 

AquaTech_007

AquaTech_007
New Member
@uzairrahil
@slevis @samrabin

I am running the CLM5 model for simulations of Rainfed Grapes. I read your thread about activating potato crops in the model, which were inactive by default. Similarly, my case study PFT, Rainfed Grapes is also inactive by default in the model. I have tried to activate it, but it is still being simulated as Spring Wheat, which appears to be the closest active PFT. I have filled in all the missing crop phenology parameters in the NetCDF parameter file (clm5_params.c171117.nc) and allocated 20% CROP since most of the field consists of grass & 100% to the 'Rainfed Grapes' in the surface dataset. However, it is still being simulated as Spring Wheat and is harvested in exactly the same season. also tried do_harvest=.false. in the user_nl_clm but it didn't work. I have attached the Graphs of TLAI, CPHASE & LIVESTEMC.

Could you please clarify which specific parameters or sections of the code need to be modified? Thank you in advance.
 

Attachments

  • CPHASE.jpg
    CPHASE.jpg
    42.3 KB · Views: 2
  • LIVESTEMC.jpg
    LIVESTEMC.jpg
    42.5 KB · Views: 1
  • TLAI.jpg
    TLAI.jpg
    43.7 KB · Views: 1

oleson

Keith Oleson
CSEG and Liaisons
Staff member
I will let @uzairrahil provide a more comprehensive answer since he has evidently done this successfully, but one thing I can think of is setting the "mergetoclmpft" variable for grapes in the parameter file appropriately. Currently, it is set to 19 and 20 (rainfed and irrigated spring wheat), so change it to 47 and 48 (rainfed and irrigated grapes) if you haven't done so already.
 

uzairrahil

Mohammad Uzair Rahil
New Member
Thank you so much Dr.@oleson. Please correct me if I am wrong. I activated potatoes and have done the followings :

1. I cloned a fresh copy of the latest CTSM using git-fleximod update because it has the new utility called set_paramfile which is in tools .

git clone GitHub - ESCOMP/CTSM: Community Terrestrial Systems Model (includes the Community Land Model of CESM)
cd CTSM
./bin/git-fleximod update


2. Activated potatoes and irrigated potatoes as:
./set_paramfile -i input_parameter_file.nc -o output_param_file_name.nc -p potatoes,irrigated_potatoes mergetoclmpft=55,56

3. After doing the above, I got a runtime error, because pft related parameters had (nan/zero) values, for example planting_date. You will need to add some values (based on laterature initially), so then you can calibrate with observation accordingly if yield is what you are looking at.

Sincerely,
Rahil
 
Top