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

My modification to source code has effects for BGC run but no effects for SP run

Status
Not open for further replies.

Yi Yao

Yi Yao
Member
Happy new year! Recently I was doing some modifications to the irrigation module in CLM. Here I want to have something special for rice paddies, thus I set the condition as (col%itype(c)==(200+cft_lb+47)), as the 48th cft is irrigated rice. However, in BGC simulations, it works but in SP, it does not work. I am so confused by this result.
 

erik

Erik Kluzek
CSEG and Liaisons
Staff member
To use the full set of crops you need to use the BGC model and turn on the use_crop namelist option to use all prognostic crop types. For SP mode (and when BGC is on, but use_crop is off) it integrates specific crops up into generic crop types. So what you are seeing is completely expected.

For the details it also matters what specific version you are using. But, the above general statement is going to apply for any recent versions.
 
Status
Not open for further replies.
Top