Hi, I am trying to setup a WACCM run in CESM2.1.3 where instead of a fixed mixing ratio at the atmosphere lower boundary for CH3Cl, CH4, N2O, CO, and H2, I have a fixed flux for those species. I have done this before with CH4, and it required removing CH4 from flbc_list in user_nl_cam, adding it to srf_emis_specifier, and then modyfiying the CAM build-namelist file so that the following check for CH4 does not take place:
# Make sure the flbc_list specifies all the GHGs needed for radiation.
my $flbc_list = $nl->get_value('flbc_list');
if (defined $flbc_list) {
# If flbc_list has already been defined, check that it contains all
# the GHGs needed by the radiation code.
foreach my $ghg ('CO2','CH4','N2O','CFC11','CFC12') {
if ($flbc_list !~ /$ghg/) {
die "$ProgName - ERROR: $ghg is missing from flbc_list \n";
However, I would like to leave the original build-namelist file intact. Is it possible to modify the CAM build-namelist file and point to the modified file when building the model? Or is there an easier way to setup emissions for CH3Cl, CH4, N2O, CO, and H2?
Thanks,
Greg
# Make sure the flbc_list specifies all the GHGs needed for radiation.
my $flbc_list = $nl->get_value('flbc_list');
if (defined $flbc_list) {
# If flbc_list has already been defined, check that it contains all
# the GHGs needed by the radiation code.
foreach my $ghg ('CO2','CH4','N2O','CFC11','CFC12') {
if ($flbc_list !~ /$ghg/) {
die "$ProgName - ERROR: $ghg is missing from flbc_list \n";
However, I would like to leave the original build-namelist file intact. Is it possible to modify the CAM build-namelist file and point to the modified file when building the model? Or is there an easier way to setup emissions for CH3Cl, CH4, N2O, CO, and H2?
Thanks,
Greg