Skip to content
21 changes: 21 additions & 0 deletions parm/aero/aero_det_config.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ data_in:
- '{{ DATA }}/obs'
- '{{ DATA }}/crtm'
- '{{ DATA }}/fv3jedi'
- '{{ DATA }}/upp'

copy:
{% for bkg_time in bkg_times %}
Expand Down Expand Up @@ -74,6 +75,20 @@ data_in:
- ['{{ COMIN_CHEM_BMAT_PREV }}/{{ GPREFIX }}aero_diffusion_hz.nc', '{{ DATA }}/berror/diffusion_hz.nc']
- ['{{ COMIN_CHEM_BMAT_PREV }}/{{ GPREFIX }}aero_diffusion_vt.nc', '{{ DATA }}/berror/diffusion_vt.nc']

####################################
# copy atmos background and increment from UPP generating analysis grib2 file
### copy gaussian sfc file from COMIN_ATMOS_HISTORY_PREV
### - ["{{ COMIN_ATMOS_HISTORY_PREV }}/{{ GPREFIX }}sfc.f006.nc", "{{ DATA }}/upp/sfc_{{ current_cycle | to_YMDH }}0000.nc"]
### copy gaussian atmos analysis from COMIN_ATMOS_ANALYSIS
### - ["{{ COMIN_ATMOS_ANALYSIS }}/{{ APREFIX }}analysis.atm.a006.nc", "{{ DATA }}/upp/atm_{{ current_cycle | to_YMDH }}0000.nc"]

## copy gaussian background files from COMIN_ATMOS_HISTORY_PREV
- ['{{ COMIN_ATMOS_HISTORY_PREV }}/{{ GPREFIX }}atm.f006.nc', '{{ DATA }}/upp/{{ GPREFIX }}atm.f006.nc']
- ['{{ COMIN_ATMOS_HISTORY_PREV }}/{{ GPREFIX }}atm.f006.nc', '{{ DATA }}/upp/atm_{{ current_cycle | to_YMDH }}0000.nc']
- ['{{ COMIN_ATMOS_HISTORY_PREV }}/{{ GPREFIX }}sfc.f006.nc', '{{ DATA }}/upp/sfc_{{ current_cycle | to_YMDH }}0000.nc']
### copy atmos increment from COMIN_ATMOS_ANALYSIS
- ['{{ COMIN_ATMOS_ANALYSIS }}/{{ APREFIX }}increment.atm.i006.nc", "{{ DATA }}/upp/{{ APREFIX }}increment.atm.i006.nc']

{% filter indent(width=4) %}
{% include 'aero_stage_crtm_coeff.yaml.j2' %}
{% include 'aero_stage_jedi_fix.yaml.j2' %}
Expand All @@ -85,6 +100,8 @@ data_in:
{% endfilter %}

data_out:
# mkdir:
# - "{{ COMOUT_CHEM_GRIB }}"

copy:
## copy variational YAML to ROTDIR
Expand All @@ -98,10 +115,14 @@ data_out:
- ['{{ DATA }}/anl/aeroinc.{{ current_cycle | to_fv3time }}.fv_tracer.res.tile6.nc', '{{ COMOUT_CHEM_ANALYSIS }}/aeroinc.{{ current_cycle | to_fv3time }}.fv_tracer.res.tile6.nc']

- ['{{ DATA }}/anl/aeroinc_gauss.{{ current_cycle | to_isotime }}.gaussian.modelLevels.nc', '{{ COMOUT_CHEM_ANALYSIS }}/{{ APREFIX }}aeroinc.nc']

## copy analysis
- ['{{ DATA }}/anl/{{ anl_time | to_fv3time }}.fv_tracer.res.tile1.nc', '{{ COMOUT_ATMOS_RESTART }}/{{ anl_time | to_fv3time }}.aeroanl_fv_tracer.res.tile1.nc']
- ['{{ DATA }}/anl/{{ anl_time | to_fv3time }}.fv_tracer.res.tile2.nc', '{{ COMOUT_ATMOS_RESTART }}/{{ anl_time | to_fv3time }}.aeroanl_fv_tracer.res.tile2.nc']
- ['{{ DATA }}/anl/{{ anl_time | to_fv3time }}.fv_tracer.res.tile3.nc', '{{ COMOUT_ATMOS_RESTART }}/{{ anl_time | to_fv3time }}.aeroanl_fv_tracer.res.tile3.nc']
- ['{{ DATA }}/anl/{{ anl_time | to_fv3time }}.fv_tracer.res.tile4.nc', '{{ COMOUT_ATMOS_RESTART }}/{{ anl_time | to_fv3time }}.aeroanl_fv_tracer.res.tile4.nc']
- ['{{ DATA }}/anl/{{ anl_time | to_fv3time }}.fv_tracer.res.tile5.nc', '{{ COMOUT_ATMOS_RESTART }}/{{ anl_time | to_fv3time }}.aeroanl_fv_tracer.res.tile5.nc']
- ['{{ DATA }}/anl/{{ anl_time | to_fv3time }}.fv_tracer.res.tile6.nc', '{{ COMOUT_ATMOS_RESTART }}/{{ anl_time | to_fv3time }}.aeroanl_fv_tracer.res.tile6.nc']
- ['{{ DATA }}/upp/atm_{{ current_cycle | to_YMDH }}0000.nc', '{{ COMOUT_CHEM_ANALYSIS }}/{{ APREFIX }}analysis.aero.nc']
- ['{{ DATA }}/upp/GFSPRS.GrbF00', '{{ COMOUT_CHEM_GRIB }}/{{ APREFIX }}aeroanl.grib2']
- ['{{ DATA }}/upp/GFSPRS.GrbF00.idx', '{{ COMOUT_CHEM_GRIB }}/{{ APREFIX }}aeroanl.grib2.idx']

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might need to specify the resolution in the output file names?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about gcdas.tXXz.analysis.aero.0p25.grib2? I assume 0p25 corresponds to C384.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah that sounds good.

59 changes: 59 additions & 0 deletions parm/aero/aero_upp_config.yaml.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
upp:
rundir: '{{ DATA }}/upp'
exe_src: '{{ EXECgfs }}/upp.x'
mpi_cmd: '{{ APRUN_AEROANLFINAL }}'
jcb_base_yaml: '{{ PARMgfs }}/gdas/aero/jcb-base.yaml.j2'
config:
grib_version: "grib2"
ioform: "netcdfpara"
po: [1000.,975.,950.,925.,900.,875.,850.,825.,800.,775.,750.,725.,700.,675.,650.,625.,600.,575.,550.,525.,500.,475.,450.,425.,400.,375.,350.,325.,300.,275.,250.,225.,200.,175.,150.,125.,100.,70.,50.,40.,30.,20.,15.,10.,7.,5.,3.,2.,1.,0.7,0.4,0.2,0.1,0.07,0.04,0.02,0.01]
rdaod: False
nasa_on: True
fix_data:
mkdir:
- "{{ DATA }}/upp"
copy:
- ["{{ PARMgfs }}/post/gcafs/postxconfig-NT-gcafs.txt", "{{ DATA }}/upp/postxconfig-NT.txt"]
- ["{{ PARMgfs }}/post/params_grib2_tbl_new", "{{ DATA }}/upp/params_grib2_tbl_new"]
- ["{{ PARMgfs }}/post/nam_micro_lookup.dat", "{{ DATA }}/upp/eta_micro_lookup.dat"]
- ["{{ EXECgfs }}/upp.x", "{{ DATA }}/upp/"]
- ["{{ PARMgfs }}/post/itag.jinja", "{{ DATA }}/upp/"]
- ["{{ PARMgfs }}/post/optics_luts_DUST_nasa.dat", "{{ DATA }}/upp/optics_luts_DUST_nasa.dat"]
- ["{{ PARMgfs }}/post/optics_luts_NITR_nasa.dat", "{{ DATA }}/upp/optics_luts_NITR_nasa.dat"]
- ["{{ PARMgfs }}/post/optics_luts_SALT_nasa.dat", "{{ DATA }}/upp/optics_luts_SALT_nasa.dat"]
- ["{{ PARMgfs }}/post/optics_luts_SOOT_nasa.dat", "{{ DATA }}/upp/optics_luts_SOOT_nasa.dat"]
- ["{{ PARMgfs }}/post/optics_luts_SUSO_nasa.dat", "{{ DATA }}/upp/optics_luts_SUSO_nasa.dat"]
- ["{{ PARMgfs }}/post/optics_luts_WASO_nasa.dat", "{{ DATA }}/upp/optics_luts_WASO_nasa.dat"]

analysis:
config:
nasa_on: True
data_in:
none:

atmincvars: [
['ugrd', 'u_inc'],
['vgrd', 'v_inc'],
['dpres', 'delp_inc'],
['delz', 'delz_inc'],
['tmp', 'T_inc'],
['spfh', 'sphum_inc'],
['rwmr', 'liq_wat_inc'],
['o3mr', 'o3mr_inc'],
['icmr', 'icmr_inc']]

aeroincvars: [
['dust1', 'mass_fraction_of_dust001_in_air'],
['dust2', 'mass_fraction_of_dust002_in_air'],
['dust3', 'mass_fraction_of_dust003_in_air'],
['dust4', 'mass_fraction_of_dust004_in_air'],
['dust5', 'mass_fraction_of_dust005_in_air'],
['seas1', 'mass_fraction_of_sea_salt001_in_air'],
['seas2', 'mass_fraction_of_sea_salt002_in_air'],
['seas3', 'mass_fraction_of_sea_salt003_in_air'],
['seas4', 'mass_fraction_of_sea_salt004_in_air'],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these consistent with the bin size selections we plan to go with?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, these are not. I will update them.

['so4', 'mass_fraction_of_sulfate_in_air'],
['oc1', 'mass_fraction_of_hydrophobic_organic_carbon_in_air'],
['oc2', 'mass_fraction_of_hydrophilic_organic_carbon_in_air'],
['bc1', 'mass_fraction_of_hydrophobic_black_carbon_in_air'],
['bc2', 'mass_fraction_of_hydrophilic_black_carbon_in_air']]