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

Add JEDI-based analysis calculation #28

Closed
wants to merge 35 commits into from
Closed
Show file tree
Hide file tree
Changes from 31 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
2833e05
Initial commit
DavidNew-NOAA Sep 8, 2024
77ed7ce
Redo YAML config for calcanl
DavidNew-NOAA Sep 11, 2024
dbc6ddd
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA Sep 11, 2024
6ea2a97
Initial commit
DavidNew-NOAA Sep 11, 2024
1f19dff
Update to reflect changes to FMS nonrestart
DavidNew-NOAA Sep 11, 2024
fb54e30
Add datetime templating flag for FMS increments
DavidNew-NOAA Sep 12, 2024
f3fbc9f
Use JCB template variables for 'fields to write' parameter
DavidNew-NOAA Sep 13, 2024
e82d179
Use fv3inc fields metadata for JEDI increment output
DavidNew-NOAA Sep 13, 2024
c0f1fef
Revert some stuff
DavidNew-NOAA Sep 13, 2024
597c0f9
Update atmosphere_output_ensemble_increments_fms_nonrestart.yaml.j2
DavidNew-NOAA Sep 13, 2024
641c795
read FMS non-restart increment
DavidNew-NOAA Sep 13, 2024
2e52215
Merge branch 'feature/cubeinc' into feature/calcanl
DavidNew-NOAA Sep 13, 2024
e102bb0
Update fv3jedi_calcanl.yaml.j2
DavidNew-NOAA Sep 13, 2024
3cbfa5c
Make hydrostatic_delz just delz
DavidNew-NOAA Sep 17, 2024
3817d08
Add surface background file
DavidNew-NOAA Sep 17, 2024
a4367ad
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA Sep 17, 2024
df8b2e8
Update YAML for analysis calc
DavidNew-NOAA Sep 23, 2024
afa5b6c
Rename some stuff per Rahul's comment
DavidNew-NOAA Sep 23, 2024
c6dd00f
Final renaming
DavidNew-NOAA Sep 23, 2024
5628736
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA Sep 25, 2024
ba1379a
Add cubed_sphere_grid_ to prefixes
DavidNew-NOAA Sep 25, 2024
607b74c
Revert some stuff
DavidNew-NOAA Sep 26, 2024
85ccdb4
Add "cubed_sphere_grid_" prefix where appropriate
DavidNew-NOAA Sep 26, 2024
4b2827e
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA Oct 3, 2024
ef5775a
Remove ges.sfc background file
DavidNew-NOAA Oct 7, 2024
aa3b110
Finish update to list of analysis variables
DavidNew-NOAA Oct 8, 2024
dd6f3ad
Merge branch 'develop' into feature/calcanl
danholdaway Oct 23, 2024
55fa040
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA Oct 24, 2024
5e48cf0
Merge branch 'develop' into feature/calcanl
danholdaway Nov 1, 2024
96d9e87
add atmosphere_ prefix to analysis_variables
DavidNew-NOAA Nov 1, 2024
bbbd9c8
Merge branch 'feature/calcanl' of https://github.com/noaa-emc/jcb-gda…
DavidNew-NOAA Nov 1, 2024
6218562
Update atmosphere test template
DavidNew-NOAA Nov 1, 2024
de9264a
Update test/client_integration/gdas-atmosphere-templates.yaml
DavidNew-NOAA Nov 1, 2024
9dfa810
Slight asthetic change
DavidNew-NOAA Nov 1, 2024
68c7105
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA Nov 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 73 additions & 0 deletions algorithm/atmosphere/fv3jedi_analcalc.yaml.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
background geometry:
fms initialization:
namelist filename: ./fv3jedi/fmsmpp.nml
field table filename: ./fv3jedi/field_table
akbk: ./fv3jedi/akbk.nc4
layout:
- {{ atmosphere_layout_x }}
- {{ atmosphere_layout_y }}
npx: {{ atmosphere_npx_ges }}
npy: {{ atmosphere_npy_ges }}
npz: {{ atmosphere_npz_ges }}
field metadata override: ./fv3jedi/fv3jedi_fieldmetadata_history.yaml
increment geometry:
fms initialization:
namelist filename: ./fv3jedi/fmsmpp.nml
field table filename: ./fv3jedi/field_table
akbk: ./fv3jedi/akbk.nc4
layout:
- {{ atmosphere_layout_x }}
- {{ atmosphere_layout_y }}
npx: {{ atmosphere_npx_ges }}
npy: {{ atmosphere_npy_ges }}
npz: {{ atmosphere_npz_ges }}
field metadata override: ./fv3jedi/fv3jedi_fieldmetadata_fv3inc.yaml
full resolution analysis geometry:
fms initialization:
namelist filename: ./fv3jedi/fmsmpp.nml
field table filename: ./fv3jedi/field_table
akbk: ./fv3jedi/akbk.nc4
layout:
- {{ atmosphere_layout_x }}
- {{ atmosphere_layout_y }}
npx: {{ atmosphere_npx_ges }}
npy: {{ atmosphere_npy_ges }}
npz: {{ atmosphere_npz_ges }}
field metadata override: ./fv3jedi/fv3jedi_fieldmetadata_restart.yaml
ensemble resolution analysis geometry:
fms initialization:
namelist filename: ./fv3jedi/fmsmpp.nml
field table filename: ./fv3jedi/field_table
akbk: ./fv3jedi/akbk.nc4
layout:
- {{ atmosphere_layout_x }}
- {{ atmosphere_layout_y }}
npx: {{ atmosphere_npx_anl }}
npy: {{ atmosphere_npy_anl }}
npz: {{ atmosphere_npz_anl }}
field metadata override: ./fv3jedi/fv3jedi_fieldmetadata_restart.yaml
additions from template:
pattern: '%hr%'
forecast hours: ['06']
template:
background:
datetime: "{{ atmosphere_background_time_iso }}"
filetype: cube sphere history
datapath: ./analcalc_%hr%
filename: ges.%hr%.nc
provider: ufs
state variables: [liq_wat,delz,delp,w,graupel,surface_geopotential_height,
ice_wat,ice_nc,rain_nc,o3mr,rainwat,snowwat,sphum,t,ua,va]
increment:
filetype: fms restart
is restart: false
filename_nonrestart: ./analcalc_%hr%/siginc.%hr%.nc
added variables: [ua,va,t,sphum,ice_wat,liq_wat,o3mr,delp,delz]
full resolution analysis:
filetype: auxgrid
gridtype: gaussian
filename: ./analcalc_%hr%/anl.%hr%.
ensemble resolution analysis:
filetype: auxgrid
gridtype: gaussian
filename: ./analcalc_%hr%/anl.ensres.%hr%.
2 changes: 1 addition & 1 deletion algorithm/atmosphere/fv3jedi_fv3inc_lgetkf.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ members from template:
state variables: *bkgvars
jedi increment input:
filetype: cube sphere history
filename: ./anl/mem%mem%/atminc.%yyyy%mm%dd.%hh%MM%ssz.nc4
filename: ./anl/mem%mem%/cubed_sphere_grid_atminc.%yyyy%mm%dd.%hh%MM%ssz.nc4
provider: ufs
fv3 increment output:
filetype: auxgrid
Expand Down
27 changes: 14 additions & 13 deletions algorithm/atmosphere/fv3jedi_fv3inc_variational.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jedi increment geometry:
layout:
- {{ atmosphere_layout_x }}
- {{ atmosphere_layout_y }}
npx: {{ atmosphere_npx_anl }}
npy: {{ atmosphere_npy_anl }}
npz: {{ atmosphere_npz_anl }}
field metadata override: ./fv3jedi/fv3jedi_fieldmetadata_history.yaml
npx: {{ atmosphere_npx_ges }}
npy: {{ atmosphere_npy_ges }}
npz: {{ atmosphere_npz_ges }}
field metadata override: ./fv3jedi/fv3jedi_fieldmetadata_fv3inc.yaml
fv3 increment geometry:
fms initialization:
namelist filename: ./fv3jedi/fmsmpp.nml
Expand All @@ -36,9 +36,9 @@ fv3 increment geometry:
layout:
- {{ atmosphere_layout_x }}
- {{ atmosphere_layout_y }}
npx: {{ atmosphere_npx_anl }}
npy: {{ atmosphere_npy_anl }}
npz: {{ atmosphere_npz_anl }}
npx: {{ atmosphere_npx_ges }}
npy: {{ atmosphere_npy_ges }}
npz: {{ atmosphere_npz_ges }}
field metadata override: ./fv3jedi/fv3jedi_fieldmetadata_fv3inc.yaml
members:
- background input:
Expand All @@ -51,10 +51,11 @@ members:
filenames: [ {{ atmosphere_variational_history_prefix }}cubed_sphere_grid_atmf006.nc, {{ atmosphere_variational_history_prefix }}cubed_sphere_grid_sfcf006.nc ]
state variables: *bkgvars
jedi increment input:
filetype: cube sphere history
filename: ./anl/atminc.%yyyy%mm%dd.%hh%MM%ssz.nc4
provider: ufs
filetype: fms restart
is restart: false
filename is datetime templated: true
filename_nonrestart: ./anl/cubed_sphere_grid_atminc.%yyyy%mm%dd.%hh%MM%ssz.nc4
fv3 increment output:
filetype: auxgrid
gridtype: gaussian
filename: ./anl/atminc.
filetype: fms restart
is restart: false
filename_nonrestart: ./anl/cubed_sphere_grid_atminc.%yyyy%mm%dd_%hh%MM%ssz.nc4
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
output:
state component:
filetype: cube sphere history
filename: ./anl/atminc.%yyyy%mm%dd.%hh%MM%ssz.nc4
filename: ./anl/cubed_sphere_grid_atminc.%yyyy%mm%dd.%hh%MM%ssz.nc4
provider: ufs
fields to write: [ugrd,vgrd,tmp,pressfc,spfh,icmr,clwmr,o3mr]
fields to write: {{atmosphere_analysis_variables}}
geometry:
fms initialization:
namelist filename: "{{atmosphere_fv3jedi_files_path}}/fmsmpp.nml"
Expand Down
18 changes: 18 additions & 0 deletions model/atmosphere/atmosphere_final_increment_fms_nonrestart.yaml.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
output:
state component:
filetype: fms restart
is restart: false
filename_nonrestart: ./anl/cubed_sphere_grid_atminc.%yyyy%mm%dd.%hh%MM%ssz.nc4
fields to write: {{atmosphere_analysis_variables}}
geometry:
fms initialization:
namelist filename: "{{atmosphere_fv3jedi_files_path}}/fmsmpp.nml"
field table filename: "{{atmosphere_fv3jedi_files_path}}/field_table"
akbk: "{{atmosphere_fv3jedi_files_path}}/akbk.nc4"
layout:
- {{atmosphere_layout_x}}
- {{atmosphere_layout_y}}
npx: {{atmosphere_npx_ges}}
npy: {{atmosphere_npy_ges}}
npz: {{atmosphere_npz_ges}}
field metadata override: "{{atmosphere_fv3jedi_files_path}}/fv3jedi_fieldmetadata_fv3inc.yaml"
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
filetype: cube sphere history
provider: ufs
filename: ./anl/mem%{member}%/atminc.%yyyy%mm%dd.%hh%MM%ssz.nc4
filename: ./anl/mem%{member}%/cubed_sphere_grid_atminc.%yyyy%mm%dd.%hh%MM%ssz.nc4
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
filetype: fms restart
is restart: false
filename_nonrestart: ./anl/mem%{member}%/cubed_sphere_grid_atminc.%yyyy%mm%dd.%hh%MM%ssz.nc4
Loading