Skip to content

Commit

Permalink
more changes for switching aerosol DA to JCB (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
CoryMartin-NOAA authored Nov 26, 2024
1 parent 77fdc32 commit 7d40664
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
21 changes: 20 additions & 1 deletion algorithm/aero/aero_gen_bmatrix_diagb.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,26 @@ variables:
- mass_fraction_of_sea_salt003_in_air
- mass_fraction_of_sea_salt004_in_air

rescale: {{ aero_diagb_rescale_factor }} # rescales the filtered std. dev. by "rescale"
global rescale:
geometry:
fms initialization:
namelist filename: "{{aero_fv3jedi_files_path}}/fmsmpp.nml"
field table filename: "{{aero_fv3jedi_files_path}}/field_table"
akbk: "{{aero_fv3jedi_files_path}}/akbk.nc4"
layout:
- {{ aero_layout_x }}
- {{ aero_layout_y }}
npx: {{ aero_npx_clim_b }}
npy: {{ aero_npy_clim_b }}
npz: {{ aero_npz_clim_b }}
field metadata override: "{{aero_fv3jedi_files_path}}/fv3jedi_fieldmetadata_restart.yaml"
rescale stddev:
filetype: fms restart
skip coupler file: true
datapath: {{ aero_rescale_b_path }}
filename_trcr: rescale.fv_tracer.res.nc
filename_cplr: rescale.coupler.res

number of halo points: {{ aero_diagb_n_halo }}
number of neighbors: {{ aero_diagb_n_neighbors }}
simple smoothing:
Expand Down
8 changes: 8 additions & 0 deletions algorithm/aero/aero_obs_staging.yaml.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
mkdir:
- '{{aero_obsdatain_path}}'
copy:
{% for observation_from_jcb in observations %}
{% if use_observer(observation_from_jcb) %}
- ['{{aero_obsdataroot_path}}/{{aero_obsdatain_prefix}}{{observation_from_jcb}}{{aero_obsdatain_suffix}}', '{{aero_obsdatain_path}}']
{% endif %}
{% endfor %}

0 comments on commit 7d40664

Please sign in to comment.