Skip to content

Commit

Permalink
Add atm_ozone_frequency drv_flds_in namelist variable
Browse files Browse the repository at this point in the history
The logic for how this is set still needs to be fixed
  • Loading branch information
billsacks committed Jul 11, 2021
1 parent 2547b50 commit 8f93d2a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bld/build-namelist
Original file line number Diff line number Diff line change
Expand Up @@ -3841,8 +3841,10 @@ my $outfile;
my %nl_group = ();
foreach my $name (@nl_groups) { $nl_group{$name} = ''; }

# Dry deposition and MEGAN VOC emis namelists
@comp_groups = qw(drydep_inparm megan_emis_nl fire_emis_nl carma_inparm ndep_inparm);
# Dry deposition, MEGAN VOC emis and ozone namelists
@comp_groups = qw(drydep_inparm megan_emis_nl fire_emis_nl carma_inparm ndep_inparm ozone_coupling_nl);
# FIXME The following add_default call needs to be moved and the right logic needs to be put in place
add_default($nl, 'atm_ozone_frequency', 'val'=>'monthly_interpolated');
$outfile = "$opts{'dir'}/drv_flds_in";
$nl->write($outfile, 'groups'=>\@comp_groups);
if ($print>=1) {
Expand Down
11 changes: 11 additions & 0 deletions bld/namelist_files/namelist_definition.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6805,6 +6805,17 @@ List of fluxes needed by the CARMA model, from CLM to CAM.
Default: set by build-namelist.
</entry>

<!-- Ozone namelist variables shared between CAM and driver -->

<entry id="atm_ozone_frequency" type="char*64" category="ozone_coupling"
group="ozone_coupling_nl" valid_values="instantaneous,monthly_interpolated">
Frequency of surface ozone field passed from CAM to surface components.
Surface ozone is passed every coupling interval, but this namelist flag
indicates whether the timestep-level values are interpolated from a
coarser temporal resolution.
Default: set by build-namelist.
</entry>

<!-- WACCM_GHG Chemistry -->

<entry id="waccm_forcing_file" type="char*256" input_pathname="rel:waccm_forcing_datapath" category="waccm_sc"
Expand Down

0 comments on commit 8f93d2a

Please sign in to comment.