Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare observations for snow DA updates to the ensemble members #998

Merged
merged 10 commits into from
Apr 16, 2024
Merged
2 changes: 1 addition & 1 deletion parm/snow/obs/config/adpsfc_snow.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
obsdatain:
engine:
type: H5File
obsfile: '{{ DATA }}/obs/{{ OPREFIX }}adpsfc_snow.nc4'
obsfile: '{{ DATA }}/obs/{{ OPREFIX_OUT }}adpsfc_snow.nc4'
obsdataout:
engine:
type: H5File
Expand Down
2 changes: 1 addition & 1 deletion parm/snow/obs/config/ims_snow.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
obsdatain:
engine:
type: H5File
obsfile: '{{ DATA }}/obs/{{ OPREFIX }}ims_snow.nc4'
obsfile: '{{ DATA }}/obs/{{ OPREFIX_OUT }}ims_snow.{{ CASE }}.nc4'
obsdataout:
engine:
type: H5File
Expand Down
2 changes: 1 addition & 1 deletion parm/snow/obs/config/snocvr_snow.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
obsdatain:
engine:
type: H5File
obsfile: '{{ DATA }}/obs/{{ OPREFIX }}snocvr_snow.nc4'
obsfile: '{{ DATA }}/obs/{{ OPREFIX_OUT }}snocvr_snow.nc4'
obsdataout:
engine:
type: H5File
Expand Down
14 changes: 11 additions & 3 deletions parm/snow/prep/prep_gts.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,17 @@ gtsbufr:
mkdir:
- '{{ DATA }}/obs'
copy:
- ['{{ COM_OBS }}/{{ OPREFIX }}adpsfc.tm00.bufr_d', '{{ DATA }}/obs/']
- ['{{ COMIN_OBS }}/{{ OPREFIX_IN }}adpsfc.tm00.bufr_d', '{{ DATA }}/obs/']
gtsioda:
copy:
- ['{{ DATA }}/{{ OPREFIX }}adpsfc_snow.nc4', '{{ COM_OBS }}/{{ OPREFIX }}adpsfc_snow.nc4']
gfs:
copy:
- ['{{ DATA }}/{{ OPREFIX_OUT }}adpsfc_snow.nc4', '{{ COMOUT_OBS }}/{{ OPREFIX_OUT }}adpsfc_snow.nc4']
gdas:
copy:
- ['{{ DATA }}/{{ OPREFIX_OUT }}adpsfc_snow.nc4', '{{ COMOUT_OBS }}/{{ OPREFIX_OUT }}adpsfc_snow.nc4']
enkfgdas:
copy:
- ['{{ DATA }}/{{ OPREFIX_OUT }}adpsfc_snow.nc4', '{{ COMOUT_OBS }}/{{ OPREFIX_OUT }}adpsfc_snow.nc4']
- ['{{ COMIN_OBS }}/{{ OPREFIX_IN }}snocvr_snow.nc4', '{{ COMOUT_OBS }}/{{ OPREFIX_OUT }}snocvr_snow.nc4']
bufr2ioda:
adpsfc: '{{ HOMEgfs }}/sorc/gdas.cd/test/testinput/bufr_adpsfc_snow.yaml'
4 changes: 2 additions & 2 deletions parm/snow/prep/prep_ims.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ calcfims:
mkdir:
- '{{ DATA }}/obs'
copy:
- ['{{ COM_OBS }}/{{ OPREFIX }}ims{{ current_cycle | to_julian }}_4km_v1.3.nc', '{{ DATA }}/obs/ims{{ current_cycle | to_julian }}_4km_v1.3.nc']
- ['{{ COMIN_OBS }}/{{ OPREFIX_IN }}ims{{ current_cycle | to_julian }}_4km_v1.3.nc', '{{ DATA }}/obs/ims{{ current_cycle | to_julian }}_4km_v1.3.nc']
- ['{{ FIXgfs }}/gdas/obs/ims/IMS_4km_to_{{ CASE }}.mx{{ OCNRES }}.nc', '{{ DATA }}/obs/IMS4km_to_FV3_mapping.{{ CASE }}_oro_data.nc']
ims2ioda:
copy:
- ['{{ DATA }}/ims_snow_{{ current_cycle | to_YMDH }}.nc4', '{{ COM_OBS }}/{{ OPREFIX }}ims_snow.nc4']
- ['{{ DATA }}/ims_snow_{{ current_cycle | to_YMDH }}.nc4', '{{ COMOUT_OBS }}/{{ OPREFIX_OUT }}ims_snow.{{ CASE }}.nc4']

4 changes: 2 additions & 2 deletions test/testinput/bufr_adpsfc_snow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ observations:
- obs space:
name: bufr

obsdatain: '{{ DATA }}/obs/{{ OPREFIX }}adpsfc.tm00.bufr_d'
obsdatain: '{{ DATA }}/obs/{{ OPREFIX_IN }}adpsfc.tm00.bufr_d'

exports:
variables:
Expand Down Expand Up @@ -39,7 +39,7 @@ observations:

ioda:
backend: netcdf
obsdataout: '{{ DATA }}/{{ OPREFIX }}adpsfc_snow.nc4'
obsdataout: '{{ DATA }}/{{ OPREFIX_OUT }}adpsfc_snow.nc4'

variables:

Expand Down
Loading