@@ -163,10 +163,10 @@ sub cat_and_create_namelistinfile {
163163#
164164# Figure out number of tests that will run
165165#
166- my $ntests = 3276 ;
166+ my $ntests = 3285 ;
167167
168168if ( defined ($opts {' compare' }) ) {
169- $ntests += 1987 ;
169+ $ntests += 2161 ;
170170}
171171plan( tests => $ntests );
172172
@@ -288,7 +288,7 @@ sub cat_and_create_namelistinfile {
288288&make_config_cache($phys );
289289my @mfiles = ( " lnd_in" , " drv_flds_in" , $tempfile );
290290my $mfiles = NMLTest::CompFiles-> new( $cwd , @mfiles );
291- foreach my $options ( " -drydep" , " -megan" , " -drydep -megan" , " -fire_emis" , " -drydep -megan -fire_emis" ) {
291+ foreach my $options ( " -drydep --bgc sp " , " -megan --bgc sp " , " -drydep -megan --bgc bgc " , " -fire_emis --bgc bgc " , " -drydep -megan -fire_emis --bgc bgc " ) {
292292 &make_env_run();
293293 eval { system ( " $bldnml -envxml_dir . $options > $tempfile 2>&1 " ); };
294294 is( $@ , ' ' , " options: $options " );
@@ -576,8 +576,8 @@ sub cat_and_create_namelistinfile {
576576 " --res 1.9x2.5 --bgc bgc --use_case 1850-2100_SSP2-4.5_transient --namelist '&a start_ymd=19101023/'" ,
577577 " -namelist \" &a dust_emis_method='Zender_2003', zender_soil_erod_source='lnd' /'\" " ,
578578 " -bgc bgc -use_case 2000_control -namelist \" &a fire_method='nofire'/\" -crop" ,
579- " -res 0.9x1.25 -bgc sp -use_case 1850_noanthro_control -drydep -fire_emis " ,
580- " -res 0.9x1.25 -bgc bgc -use_case 1850_noanthro_control -drydep -fire_emis -light_res 360x720" ,
579+ " -res 0.9x1.25 -bgc sp -use_case 1850_noanthro_control -drydep" ,
580+ " -res 0.9x1.25 -bgc bgc -use_case 1850_noanthro_control -drydep -fire_emis -megan - light_res 360x720" ,
581581 " --bgc bgc --light_res none --namelist \" &a fire_method='nofire'/\" " ,
582582 " --bgc fates --light_res 360x720 --no-megan --namelist \" &a fates_spitfire_mode=2/\" " ,
583583 " --bgc fates --light_res none --no-megan --namelist \" &a fates_spitfire_mode=1/\" " ,
@@ -1093,6 +1093,10 @@ sub cat_and_create_namelistinfile {
10931093 namelst => " suplnitro='NONE'" ,
10941094 phys => " clm6_0" ,
10951095 },
1096+ " FATESwBothSpST3" => { options => " --bgc fates --envxml_dir . --no-megan" ,
1097+ namelst => " use_fates_sp = TRUE, use_fates_ed_st3 = TRUE" ,
1098+ phys => " clm6_0" ,
1099+ },
10961100 " FireNoneButBGCfireon" => { options => " -bgc bgc -envxml_dir . -light_res none" ,
10971101 namelst => " fire_method='li2021gswpfrc'" ,
10981102 phys => " clm6_0" ,
@@ -1145,6 +1149,14 @@ sub cat_and_create_namelistinfile {
11451149 namelst => " " ,
11461150 phys => " clm4_5" ,
11471151 },
1152+ " useFIREEMISwithNOFIRE" => { options => " --bgc bgc --envxml_dir . --fire_emis" ,
1153+ namelst => " fire_method='nofire'" ,
1154+ phys => " clm6_0" ,
1155+ },
1156+ " useFIREEMISwithSP" => { options => " --bgc sp --envxml_dir . --fire_emis" ,
1157+ namelst => " " ,
1158+ phys => " clm6_0" ,
1159+ },
11481160 " useDRYDEPwithFATES" => { options => " --bgc fates --envxml_dir . --no-megan --drydep" ,
11491161 namelst => " " ,
11501162 phys => " clm4_5" ,
@@ -1494,7 +1506,7 @@ sub cat_and_create_namelistinfile {
14941506print " ========================================================================\n " ;
14951507
14961508# Check for ALL resolutions with CLM50SP
1497- my @resolutions = ( " 360x720cru" , " 10x15" , " 4x5" , " 0.9x1.25" , " 1.9x2.5" , " ne3np4.pg3" , " ne16np4.pg3" , " ne30np4" , " ne30np4.pg2" , " ne30np4.pg3" , " ne120np4.pg3" , " ne0np4CONUS.ne30x8" , " ne0np4.ARCTIC.ne30x4" , " ne0np4.ARCTICGRIS.ne30x8" , " C96" , " mpasa480" , " mpasa120" );
1509+ my @resolutions = ( " 360x720cru" , " 10x15" , " 4x5" , " 0.9x1.25" , " 1.9x2.5" , " ne3np4" , " ne3np4 .pg3" , " ne16np4.pg3" , " ne30np4" , " ne30np4.pg2" , " ne30np4.pg3" , " ne120np4.pg3" , " ne0np4CONUS.ne30x8" , " ne0np4.ARCTIC.ne30x4" , " ne0np4.ARCTICGRIS.ne30x8" , " C96" , " mpasa480" , " mpasa120" );
14981510my @only2000_resolutions = ( " 1x1_numaIA" , " 1x1_brazil" , " 1x1_mexicocityMEX" , " 1x1_vancouverCAN" , " 1x1_urbanc_alpha" , " 5x5_amazon" , " 0.125nldas2" , " mpasa60" , " mpasa15" , " mpasa3p75" );
14991511my @regional ;
15001512foreach my $res ( @resolutions ) {
@@ -1531,7 +1543,7 @@ sub cat_and_create_namelistinfile {
15311543print " Test important resolutions for BGC and historical\n " ;
15321544print " ==================================================\n " ;
15331545
1534- my @resolutions = ( " 4x5" , " 10x15" , " 360x720cru" , " ne30np4.pg3" , " ne3np4.pg3" , " 1.9x2.5" , " 0.9x1.25" , " C96" , " mpasa120" );
1546+ my @resolutions = ( " 4x5" , " 10x15" , " 360x720cru" , " ne30np4.pg3" , " ne3np4" , " ne3np4 .pg3" , " 1.9x2.5" , " 0.9x1.25" , " C96" , " mpasa120" );
15351547my @regional ;
15361548my $nlbgcmode = " bgc" ;
15371549my $mode = " $phys -$nlbgcmode " ;
@@ -1758,7 +1770,7 @@ sub cat_and_create_namelistinfile {
17581770 &cleanup();
17591771}
17601772
1761- my @crop_res = ( " 1x1_numaIA" , " 4x5" , " 10x15" , " 0.9x1.25" , " 1.9x2.5" , " ne3np4.pg3" , " ne30np4" , " ne30np4.pg3" , " C96" , " mpasa120" );
1773+ my @crop_res = ( " 1x1_numaIA" , " 4x5" , " 10x15" , " 0.9x1.25" , " 1.9x2.5" , " ne3np4" , " ne3np4 .pg3" , " ne30np4" , " ne30np4.pg3" , " C96" , " mpasa120" );
17621774foreach my $res ( @crop_res ) {
17631775 $options = " -bgc bgc -crop -res $res -envxml_dir ." ;
17641776 &make_env_run();
@@ -1847,7 +1859,7 @@ sub cat_and_create_namelistinfile {
18471859 &cleanup();
18481860}
18491861# Transient ssp_rcp scenarios that work
1850- my @tran_res = ( " 4x5" , " 0.9x1.25" , " 1.9x2.5" , " 10x15" , " 360x720cru" , " ne3np4.pg3" , " ne16np4.pg3" , " ne30np4.pg3" , " C96" , " mpasa120" );
1862+ my @tran_res = ( " 4x5" , " 0.9x1.25" , " 1.9x2.5" , " 10x15" , " 360x720cru" , " ne3np4" , " ne3np4 .pg3" , " ne16np4.pg3" , " ne30np4.pg3" , " C96" , " mpasa120" );
18511863foreach my $usecase ( " 1850-2100_SSP2-4.5_transient" ) {
18521864 my $startymd = 20150101;
18531865 foreach my $res ( @tran_res ) {
@@ -1884,7 +1896,7 @@ sub cat_and_create_namelistinfile {
18841896 " -bgc bgc -clm_demand flanduse_timeseries -sim_year 1850-2000 -namelist '&a start_ymd=18500101/'" ,
18851897 " -bgc bgc -envxml_dir . -namelist '&a use_c13=.true.,use_c14=.true.,use_c14_bombspike=.true./'" );
18861898 foreach my $clmopts ( @clmoptions ) {
1887- my @clmres = ( " 10x15" , " 4x5" , " 360x720cru" , " 0.9x1.25" , " 1.9x2.5" , " ne3np4.pg3" , " ne16np4.pg3" , " ne30np4.pg3" , " C96" , " mpasa120" );
1899+ my @clmres = ( " 10x15" , " 4x5" , " 360x720cru" , " 0.9x1.25" , " 1.9x2.5" , " ne3np4" , " ne3np4 .pg3" , " ne16np4.pg3" , " ne30np4.pg3" , " C96" , " mpasa120" );
18881900 foreach my $res ( @clmres ) {
18891901 $options = " -res $res -envxml_dir . " ;
18901902 &make_env_run( );
0 commit comments