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

JEDI increment write to cubed sphere history #983

Merged
merged 13 commits into from
Mar 28, 2024
Merged
30 changes: 15 additions & 15 deletions parm/atm/utils/gdas_jediinc2fv3.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ background:
field table filename: ./fv3jedi/field_table
akbk: ./fv3jedi/akbk.nc4
layout:
- ${{ layout_x }}
- ${{ layout_y }}
npx: ${{ npx_ges }}
npy: ${{ npy_ges }}
npz: ${{ npz_ges }}
- {{ layout_x }}
- {{ layout_y }}
npx: {{ npx_ges }}
npy: {{ npy_ges }}
npz: {{ npz_ges }}
field metadata override: ./fv3jedi/fv3jedi_fieldmetadata_restart.yaml
input:
datapath: ./bkg
Expand All @@ -33,11 +33,11 @@ jedi increment:
field table filename: ./fv3jedi/field_table
akbk: ./fv3jedi/akbk.nc4
layout:
- ${{ layout_x }}
- ${{ layout_y }}
npx: ${{ npx_ges }}
npy: ${{ npy_ges }}
npz: ${{ npz_ges }}
- {{ layout_x }}
- {{ layout_y }}
npx: {{ npx_ges }}
npy: {{ npy_ges }}
npz: {{ npz_ges }}
field metadata override: ./fv3jedi/fv3jedi_fieldmetadata_history.yaml
input:
filetype: cube sphere history
Expand All @@ -50,11 +50,11 @@ fv3 increment:
field table filename: ./fv3jedi/field_table
akbk: ./fv3jedi/akbk.nc4
layout:
- ${{ layout_x }}
- ${{ layout_y }}
npx: ${{ npx_ges }}
npy: ${{ npy_ges }}
npz: ${{ npz_ges }}
- {{ layout_x }}
- {{ layout_y }}
npx: {{ npx_ges }}
npy: {{ npy_ges }}
npz: {{ npz_ges }}
field metadata override: ./fv3jedi/fv3jedi_fieldmetadata_fv3inc.yaml
output:
filetype: auxgrid
Expand Down
9 changes: 5 additions & 4 deletions parm/atm/variational/3dvar_drpcg.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,10 @@ final:
increment:
output:
state component:
filetype: auxgrid
gridtype: gaussian
filename: ./anl/atminc.
filetype: cube sphere history
filename: ./anl/atminc.{{ current_cycle | to_fv3time }}.nc4
provider: ufs
fields to write: [ugrd,vgrd,tmp,pressfc,spfh,icmr,clwmr,o3mr]
geometry:
fms initialization:
namelist filename: ./fv3jedi/fmsmpp.nml
Expand All @@ -98,4 +99,4 @@ final:
npx: {{ npx_anl }}
npy: {{ npy_anl }}
npz: {{ npz_anl }}
field metadata override: ./fv3jedi/fv3jedi_fieldmetadata_restart.yaml
field metadata override: ./fv3jedi/fv3jedi_fieldmetadata_history.yaml
5 changes: 0 additions & 5 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,6 @@ add_test(NAME test_gdasapp_check_yaml_keys
# WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/)
# commented out above test because it does not really do as advertised with all these templates which are not valid yaml

# test for ush/jediinc2fv3.py
add_test(NAME test_gdasapp_jedi_increment_to_fv3
COMMAND ${Python3_EXECUTABLE} ${PROJECT_SOURCE_DIR}/ush/jediinc2fv3.py ${PROJECT_BINARY_DIR}/test/testdata/atmges_compress.nc4 ${PROJECT_BINARY_DIR}/test/testdata/atminc_compress.nc4 ${PROJECT_BINARY_DIR}/test/testoutput/fv_increment.nc
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/)

# test for converting ewok yaml to gdas
add_test(NAME test_gdasapp_convert_ewok_yaml
COMMAND ${PROJECT_SOURCE_DIR}/test/convert_ewok_yaml.sh ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}
Expand Down
187 changes: 0 additions & 187 deletions ush/jediinc2fv3.py

This file was deleted.

Loading