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

CLM4 ERROR when using transient CO2 on pt1_pt1 resolution

Dear All,I'm trying to force CLM4 in CESM1.0.4 using CMIP5 GCMs output with transient CO2 concentration. Now I can run CLM using the GCMs output. And I can run CLM with transient CO2 concentration using Qian's forcing. But when I combined to use the GCM output and transient CO2 concentration together, I got the error as following:  ENDRUN: lnd_import_mct                   ERROR: must have nonzero index_x2l_Sa_co2diag for co2_type equal to diagnosticFor running CLM using GCMs output, I set -res as pt1_pt1 and added the needed datm stream files. And since I can run the transient CO2 concentration experiment using Qian's forcing, I think my stream file for CO2 should be fine. So I guess there is something wrong to make the CO2 concentration file corresponding to pt1_pt1 resolution. But now I have no idea about how to fix the error above. Could anyone give me any clues?Any help will be greatly appreciated!Miao 
 

erik

Erik Kluzek
CSEG and Liaisons
Staff member
The problem is that the land is expecting CO2 to come from the atmosphere, and it's NOT being sent for some reason. The datm needs to get setup to send CO2 as an additional streem, and "CCSM_BGC" must be set to "CO2A". Instructions for doing this for the global case with Qian forcing are in the CLM User's Guide at...http://www.cesm.ucar.edu/models/cesm1.0/clm/models/lnd/clm/doc/UsersGuide/x9471.htmlThe setup changes a bit for your case, because you can't use the patch file, you'll need to add the CO2 streams file by hand to the end of the list of your streams. To diagnose what's going on look in the atm.log file and make sure it's reading in CO2. Then add some more diagnostic output to the cpl and make sure that co2_diag is included in the list of fields addressed in the cpl. It could be that the datm is reading the CO2, but it's not getting sent to the coupler. The easiest problem is just when CCSM_BGC is NOT set to CO2A which it needs to be or else co2 isn't going to be passed in the coupler.
 

erik

Erik Kluzek
CSEG and Liaisons
Staff member
The problem is that the land is expecting CO2 to come from the atmosphere, and it's NOT being sent for some reason. The datm needs to get setup to send CO2 as an additional streem, and "CCSM_BGC" must be set to "CO2A". Instructions for doing this for the global case with Qian forcing are in the CLM User's Guide at...http://www.cesm.ucar.edu/models/cesm1.0/clm/models/lnd/clm/doc/UsersGuide/x9471.htmlThe setup changes a bit for your case, because you can't use the patch file, you'll need to add the CO2 streams file by hand to the end of the list of your streams. To diagnose what's going on look in the atm.log file and make sure it's reading in CO2. Then add some more diagnostic output to the cpl and make sure that co2_diag is included in the list of fields addressed in the cpl. It could be that the datm is reading the CO2, but it's not getting sent to the coupler. The easiest problem is just when CCSM_BGC is NOT set to CO2A which it needs to be or else co2 isn't going to be passed in the coupler.
 

erik

Erik Kluzek
CSEG and Liaisons
Staff member
The problem is that the land is expecting CO2 to come from the atmosphere, and it's NOT being sent for some reason. The datm needs to get setup to send CO2 as an additional streem, and "CCSM_BGC" must be set to "CO2A". Instructions for doing this for the global case with Qian forcing are in the CLM User's Guide at...http://www.cesm.ucar.edu/models/cesm1.0/clm/models/lnd/clm/doc/UsersGuide/x9471.htmlThe setup changes a bit for your case, because you can't use the patch file, you'll need to add the CO2 streams file by hand to the end of the list of your streams. To diagnose what's going on look in the atm.log file and make sure it's reading in CO2. Then add some more diagnostic output to the cpl and make sure that co2_diag is included in the list of fields addressed in the cpl. It could be that the datm is reading the CO2, but it's not getting sent to the coupler. The easiest problem is just when CCSM_BGC is NOT set to CO2A which it needs to be or else co2 isn't going to be passed in the coupler.
 

erik

Erik Kluzek
CSEG and Liaisons
Staff member
The problem is that the land is expecting CO2 to come from the atmosphere, and it's NOT being sent for some reason. The datm needs to get setup to send CO2 as an additional streem, and "CCSM_BGC" must be set to "CO2A". Instructions for doing this for the global case with Qian forcing are in the CLM User's Guide at...http://www.cesm.ucar.edu/models/cesm1.0/clm/models/lnd/clm/doc/UsersGuide/x9471.htmlThe setup changes a bit for your case, because you can't use the patch file, you'll need to add the CO2 streams file by hand to the end of the list of your streams. To diagnose what's going on look in the atm.log file and make sure it's reading in CO2. Then add some more diagnostic output to the cpl and make sure that co2_diag is included in the list of fields addressed in the cpl. It could be that the datm is reading the CO2, but it's not getting sent to the coupler. The easiest problem is just when CCSM_BGC is NOT set to CO2A which it needs to be or else co2 isn't going to be passed in the coupler.
 
Thank you very much Erik,You are right. I fogot setting "CCSM_BGC" to "CO2A" by mistake. Now I can run my simulation successfully. Many thanks!Regards,Miao
 
Thank you very much Erik,You are right. I fogot setting "CCSM_BGC" to "CO2A" by mistake. Now I can run my simulation successfully. Many thanks!Regards,Miao
 
Thank you very much Erik,You are right. I fogot setting "CCSM_BGC" to "CO2A" by mistake. Now I can run my simulation successfully. Many thanks!Regards,Miao
 
Thank you very much Erik,You are right. I fogot setting "CCSM_BGC" to "CO2A" by mistake. Now I can run my simulation successfully. Many thanks!Regards,Miao
 
Top