Skip to content

Commit

Permalink
Set init_interp_fill_missing_with_natveg for the ne30np4.pg3 grid
Browse files Browse the repository at this point in the history
  • Loading branch information
ekluzek committed Nov 28, 2023
1 parent ebb3e64 commit 98cb379
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bld/CLMBuildNamelist.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4356,6 +4356,11 @@ sub setup_logic_initinterp {
$log->fatal_error("$var can only be set if use_init_interp is true");
}
}
# This only seems to be important for this one grid...
if ( $nl_flags->{'res'} eq "ne30np4.pg3" ) {
add_default($opts, $nl_flags->{'inputdata_rootdir'}, $definition, $defaults, $nl, "init_interp_fill_missing_with_natveg",
'hgrid'=>$nl_flags->{'res'} );
}
}

#-------------------------------------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions bld/namelist_files/namelist_defaults_ctsm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -903,6 +903,8 @@ attributes from the config_cache.xml file (with keys converted to upper-case).
>hgrid=ne0np4CONUS.ne30x8 maxpft=17 mask=tx0.1v2 use_cn=.false. use_crop=.false. irrigate=.true. glc_nec=10 do_transient_pfts=.false.
</init_interp_attributes>

<!-- This is needded for NE30.pg3 presumably because the finidat file is based on ctsm5.2 surface datasets? -->
<init_interp_fill_missing_with_natveg hgrid="ne30np4.pg3">.true.</init_interp_fill_missing_with_natveg>

<!--
1850 preindustrial IC (if use_init_interp is added and set to .true. then MUST still interpolate even on an exact match)
Expand Down

0 comments on commit 98cb379

Please sign in to comment.