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

JCB-based obs+bias staging, Jedi class updates, and marine B-matrix refactoring #2992

Open
wants to merge 108 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
108 commits
Select commit Hold shift + click to select a range
20fb88c
replace separate JEDI radiance bias correction files with tarball (#2…
RussTreadon-NOAA Aug 28, 2024
8a219cd
Merge branch 'develop' into feature/radbcor
RussTreadon-NOAA Aug 29, 2024
73aa233
rename JEDI radiance bias correction tarball file to be more self-des…
RussTreadon-NOAA Aug 29, 2024
00a013f
Merge remote-tracking branch 'upstream/develop' into feature/radbcor
RussTreadon-NOAA Sep 6, 2024
3215d9b
Merge branch 'NOAA-EMC:develop' into feature/radbcor
RussTreadon-NOAA Sep 6, 2024
04b4347
Merge branch 'develop' into feature/radbcor
RussTreadon-NOAA Sep 7, 2024
1203866
update gdas.cd hash to include recent commits to GDASApp develop (#2862)
RussTreadon-NOAA Sep 7, 2024
5985e9f
update pygfs jedi class and atmospheric tasks to extract JEDI radianc…
RussTreadon-NOAA Sep 9, 2024
009659c
Merge branch 'develop' into feature/radbcor
RussTreadon-NOAA Sep 9, 2024
73e56a7
move radiance bias correction staging to jedi class (#2868)
RussTreadon-NOAA Sep 10, 2024
666d7d6
initial attempt to generalize processing of variational bias correcti…
RussTreadon-NOAA Sep 10, 2024
1e4a284
move VarBcDir inside initialize_analysis method (#2862)
RussTreadon-NOAA Sep 10, 2024
386313b
Merge branch 'develop' into feature/radbcor
RussTreadon-NOAA Sep 10, 2024
dd9099e
Merge branch 'develop' into feature/radbcor
RussTreadon-NOAA Sep 11, 2024
b48e126
update sorc/gdas.cd hash to bring in radiance tarball ctest changes (…
RussTreadon-NOAA Sep 11, 2024
27434bb
Merge branch 'develop' into feature/radbcor
RussTreadon-NOAA Sep 12, 2024
ba77d4e
add extract_tar method to jedi class, use extract_tar in atm and atme…
RussTreadon-NOAA Sep 12, 2024
bc3a6dd
correct typo in atmens_analysis.py (2862)
RussTreadon-NOAA Sep 12, 2024
7ba33c1
Merge branch 'develop' into feature/radbcor
RussTreadon-NOAA Sep 13, 2024
7182a2a
Merge branch 'develop' into feature/radbcor
RussTreadon-NOAA Sep 14, 2024
8016852
Merge branch 'develop' into feature/radbcor
RussTreadon-NOAA Sep 15, 2024
4fb8f81
Merge branch 'NOAA-EMC:develop' into feature/radbcor
RussTreadon-NOAA Sep 16, 2024
bdffc02
Merge branch 'develop' into feature/radbcor
RussTreadon-NOAA Sep 16, 2024
0ab7bdd
improve error handling for jedi class tarfile.extractall (#2862)
RussTreadon-NOAA Sep 17, 2024
8b627a1
remove unnecessary close following tarfile add (#2862)
RussTreadon-NOAA Sep 17, 2024
eb4fc37
use endswith to clean up scripting (#2862)
RussTreadon-NOAA Sep 17, 2024
4229886
Merge branch 'develop' into feature/radbcor
RussTreadon-NOAA Sep 18, 2024
ed52b72
refactor jedi class method extract_tar (#2862)
RussTreadon-NOAA Sep 18, 2024
80305b6
update sorc/gdas.cd to current head of GDASApp develop (#2862)
RussTreadon-NOAA Sep 18, 2024
821ee76
make jedi method extract_tar static, clean up comments, correct typo …
RussTreadon-NOAA Sep 18, 2024
bf4015f
Merge remote-tracking branch 'upstream/develop' into feature/radbcor
RussTreadon-NOAA Sep 19, 2024
042ec50
correctly prefix tlapse radiance bias correction files for cycling (#…
RussTreadon-NOAA Sep 19, 2024
5306b06
extend duration of C96C48_ufs_hybatmDA CI by one cycle to 2024022406 …
RussTreadon-NOAA Sep 20, 2024
5c13475
Merge branch 'develop' into feature/radbcor
RussTreadon-NOAA Sep 20, 2024
ae6b315
Merge branch 'develop' into feature/radbcor
RussTreadon-NOAA Sep 21, 2024
7fec851
Merge branch 'NOAA-EMC:develop' into feature/radbcor
RussTreadon-NOAA Sep 23, 2024
98ba33b
Merge branch 'develop' into feature/radbcor
RussTreadon-NOAA Sep 23, 2024
acec1f4
Merge branch 'develop' into feature/radbcor
RussTreadon-NOAA Sep 25, 2024
1796b11
Merge branch 'develop' into feature/radbcor
RussTreadon-NOAA Sep 26, 2024
3a81288
Initial commit
DavidNew-NOAA Sep 27, 2024
8c02211
Merge branch 'feature/radbcor' into feature/jcb-obsbias
DavidNew-NOAA Sep 27, 2024
43c8075
correct ORION.env typo, adjust JEDI ORION job configurations (#2862)
RussTreadon-NOAA Sep 27, 2024
5f7ceeb
Merge branch 'develop' into feature/radbcor
RussTreadon-NOAA Sep 27, 2024
193c87a
Merge branch 'feature/radbcor' into feature/jcb-obsbias
DavidNew-NOAA Sep 27, 2024
4f0446a
Update GDAS hash
DavidNew-NOAA Sep 27, 2024
7c30e48
Update
DavidNew-NOAA Oct 4, 2024
f61d410
Merge branch 'develop' into feature/jcb-obsbias
DavidNew-NOAA Oct 4, 2024
f18d4ce
Initialize all JEDI applications on the initialize jobs
DavidNew-NOAA Oct 7, 2024
d5e476b
Update GDAS hash
DavidNew-NOAA Oct 7, 2024
5b2ea31
Merge branch 'develop' into feature/jcb-obsbias
DavidNew-NOAA Oct 7, 2024
cec645f
pynorms
DavidNew-NOAA Oct 7, 2024
bc7fbbd
pynorms #2
DavidNew-NOAA Oct 7, 2024
b3d3239
pynorms #3
DavidNew-NOAA Oct 7, 2024
afada5d
Fix some python bugs
DavidNew-NOAA Oct 8, 2024
9e57e52
Update GDAS hash
DavidNew-NOAA Oct 8, 2024
25fad0e
Fixing bugs
DavidNew-NOAA Oct 8, 2024
78bf67d
Bug fix
DavidNew-NOAA Oct 8, 2024
dadda23
Remove redundant code for tarball extraction, update comments, and up…
DavidNew-NOAA Oct 8, 2024
ee22db3
pynorms
DavidNew-NOAA Oct 8, 2024
057a5e9
pynorms #2
DavidNew-NOAA Oct 8, 2024
ccd11fc
Update GDAS hash
DavidNew-NOAA Oct 9, 2024
438d9cd
Merge branch 'develop' into feature/jcb-obsbias
DavidNew-NOAA Oct 9, 2024
c8f38be
Update GDAS hash
DavidNew-NOAA Oct 9, 2024
700204d
Address Cory's comments
DavidNew-NOAA Oct 10, 2024
62783ce
pynorms
DavidNew-NOAA Oct 10, 2024
0ab05b1
Merge branch 'develop' into feature/jcb-obsbias
DavidNew-NOAA Oct 10, 2024
f2a7a55
Slight change for readability
DavidNew-NOAA Oct 13, 2024
4baa1d5
Add key checking to JEDI class constructor
DavidNew-NOAA Oct 13, 2024
2f72ecc
Update
DavidNew-NOAA Oct 13, 2024
e3ffaf0
Update
DavidNew-NOAA Oct 13, 2024
955f191
Update GDAS hash
DavidNew-NOAA Oct 13, 2024
13c0093
Merge branch 'develop' into feature/jcb-obsbias
DavidNew-NOAA Oct 13, 2024
e8baba3
pynorms
DavidNew-NOAA Oct 13, 2024
0805a08
Initial commit
DavidNew-NOAA Oct 13, 2024
d40fa39
Merge branch 'develop' into feature/marine-refactor
DavidNew-NOAA Oct 13, 2024
8cd354a
Debug
DavidNew-NOAA Oct 13, 2024
61fb6ea
Merge branch 'feature/jcb-obsbias' into feature/marine-refactor
DavidNew-NOAA Oct 13, 2024
8bf1a42
Update GDAS hash
DavidNew-NOAA Oct 13, 2024
8d53fe6
Saving progress
DavidNew-NOAA Oct 15, 2024
694ad55
Saving progress
DavidNew-NOAA Oct 15, 2024
cc4a0d8
Update GDAS hash to develop
DavidNew-NOAA Oct 15, 2024
9d8aa93
Clean up exception handling
DavidNew-NOAA Oct 15, 2024
b83ff6e
Save progress
DavidNew-NOAA Oct 16, 2024
9b65188
Merge branch 'develop' into feature/marine-refactor
DavidNew-NOAA Oct 16, 2024
7477d20
Merge branch 'develop' into feature/jcb-obsbias
DavidNew-NOAA Oct 22, 2024
00adfea
Update GDAS hash
DavidNew-NOAA Oct 22, 2024
3c98b82
Update GDAS hash
DavidNew-NOAA Oct 22, 2024
d15c8be
Merge branch 'develop' into feature/marine-refactor
DavidNew-NOAA Oct 22, 2024
cc74aa4
Bugfixes
DavidNew-NOAA Oct 23, 2024
c455445
Update GDAS hash
DavidNew-NOAA Oct 23, 2024
2dc75c7
pynorms
DavidNew-NOAA Oct 23, 2024
196a204
Merge branch 'develop' into feature/marine-refactor
DavidNew-NOAA Oct 23, 2024
ac3d385
Remove comment
DavidNew-NOAA Oct 23, 2024
4cd585c
Update GDAS hash
DavidNew-NOAA Oct 23, 2024
7e4defa
Update GDAS hash
DavidNew-NOAA Oct 23, 2024
6b6464d
Merge branch 'develop' into feature/jcb-obsbias
DavidNew-NOAA Oct 23, 2024
1c0fcf1
Update GDAS hash
DavidNew-NOAA Oct 23, 2024
97bf8e8
Add comment blocks to methods
DavidNew-NOAA Oct 23, 2024
66129a2
pynorms
DavidNew-NOAA Oct 23, 2024
74e5efa
Make jcb rendering method save copies of jcb_config and task_ocnfig
DavidNew-NOAA Oct 23, 2024
371c4c0
pynorms
DavidNew-NOAA Oct 23, 2024
ed5111a
Merge branch 'feature/jcb-obsbias' into feature/marine-refactor
DavidNew-NOAA Oct 23, 2024
f710d0f
Fix to make sure bkg_list.yaml isn't loaded directly in marine JCB base
DavidNew-NOAA Oct 24, 2024
215188a
pynorms
DavidNew-NOAA Oct 24, 2024
cbf1c6f
pynorms
DavidNew-NOAA Oct 24, 2024
54223bf
pynorms
DavidNew-NOAA Oct 24, 2024
ec9e68a
Merge branch 'develop' into feature/jcb-obsbias
DavidNew-NOAA Oct 24, 2024
abdbe31
Update gdas hash
DavidNew-NOAA Oct 24, 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
6 changes: 4 additions & 2 deletions parm/config/gfs/config.atmanl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
echo "BEGIN: config.atmanl"

export JCB_BASE_YAML="${PARMgfs}/gdas/atm/jcb-base.yaml.j2"
export JCB_ALGO_YAML=@JCB_ALGO_YAML@
export JCB_ALGO_YAML_VAR=@JCB_ALGO_YAML_VAR@
export JCB_ALGO_FV3INC="fv3jedi_fv3inc_variational"

export STATICB_TYPE=@STATICB_TYPE@
export LOCALIZATION_TYPE="bump"
Expand All @@ -33,6 +34,7 @@ export layout_y_atmanl=@LAYOUT_Y_ATMANL@
export io_layout_x=@IO_LAYOUT_X@
export io_layout_y=@IO_LAYOUT_Y@

export JEDIEXE=${EXECgfs}/gdas.x
export JEDIEXE_VAR="${EXECgfs}/gdas.x"
export JEDIEXE_FV3INC="${EXECgfs}/fv3jedi_fv3inc.x"

echo "END: config.atmanl"
3 changes: 0 additions & 3 deletions parm/config/gfs/config.atmanlfv3inc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,4 @@ echo "BEGIN: config.atmanlfv3inc"
# Get task specific resources
. "${EXPDIR}/config.resources" atmanlfv3inc

export JCB_ALGO=fv3jedi_fv3inc_variational
export JEDIEXE=${EXECgfs}/fv3jedi_fv3inc.x

echo "END: config.atmanlfv3inc"
13 changes: 7 additions & 6 deletions parm/config/gfs/config.atmensanl
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
echo "BEGIN: config.atmensanl"

export JCB_BASE_YAML="${PARMgfs}/gdas/atm/jcb-base.yaml.j2"
if [[ ${lobsdiag_forenkf} = ".false." ]] ; then
export JCB_ALGO_YAML=@JCB_ALGO_YAML_LETKF@
else
export JCB_ALGO_YAML=@JCB_ALGO_YAML_OBS@
fi

export JCB_ALGO_YAML_LETKF=@JCB_ALGO_YAML_LETKF@
export JCB_ALGO_YAML_OBS=@JCB_ALGO_YAML_OBS@
export JCB_ALGO_YAML_SOL=@JCB_ALGO_YAML_SOL@
export JCB_ALGO_FV3INC="fv3jedi_fv3inc_lgetkf"

export INTERP_METHOD='barycentric'

Expand All @@ -24,6 +24,7 @@ export layout_y_atmensanl=@LAYOUT_Y_ATMENSANL@
export io_layout_x=@IO_LAYOUT_X@
export io_layout_y=@IO_LAYOUT_Y@

export JEDIEXE=${EXECgfs}/gdas.x
export JEDIEXE_LETKF=${EXECgfs}/gdas.x
export JEDIEXE_FV3INC=${EXECgfs}/fv3jedi_fv3inc.x

echo "END: config.atmensanl"
3 changes: 0 additions & 3 deletions parm/config/gfs/config.atmensanlfv3inc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,4 @@ echo "BEGIN: config.atmensanlfv3inc"
# Get task specific resources
. "${EXPDIR}/config.resources" atmensanlfv3inc

export JCB_ALGO=fv3jedi_fv3inc_lgetkf
export JEDIEXE=${EXECgfs}/fv3jedi_fv3inc.x

echo "END: config.atmensanlfv3inc"
2 changes: 0 additions & 2 deletions parm/config/gfs/config.atmensanlobs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,4 @@ echo "BEGIN: config.atmensanlobs"
# Get task specific resources
. "${EXPDIR}/config.resources" atmensanlobs

export JCB_ALGO_YAML=@JCB_ALGO_YAML@

echo "END: config.atmensanlobs"
2 changes: 0 additions & 2 deletions parm/config/gfs/config.atmensanlsol
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,4 @@ echo "BEGIN: config.atmensanlsol"
# Get task specific resources
. "${EXPDIR}/config.resources" atmensanlsol

export JCB_ALGO_YAML=@JCB_ALGO_YAML@

echo "END: config.atmensanlsol"
20 changes: 19 additions & 1 deletion parm/config/gfs/config.marineanl
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,24 @@ export SOCA_FIX_YAML_TMPL="${PARMgfs}/gdas/soca/soca_fix_stage_${OCNRES}.yaml.j2
export MARINE_UTILITY_YAML_TMPL="${PARMgfs}/gdas/soca/soca_utils_stage.yaml.j2"
export MARINE_ENSDA_STAGE_BKG_YAML_TMPL="${PARMgfs}/gdas/soca/ensda/stage_ens_mem.yaml.j2"
export MARINE_DET_STAGE_BKG_YAML_TMPL="${PARMgfs}/gdas/soca/soca_det_bkg_stage.yaml.j2"
export MARINE_JCB_GDAS_ALGO="${PARMgfs}/gdas/jcb-gdas/algorithm/marine"

export JCB_BASE_YAML="${PARMgfs}/gdas/soca/marine-jcb-base.yaml"

export JCB_ALGO_GRIDGEN="soca_gridgen"
export JCB_ALGO_DIAGB="soca_diagb"
export JCB_ALGO_SETCORSCALES="soca_setcorscales"
export JCB_ALGO_PARAMETERS_DIFFUSION_HZ="soca_parameters_diffusion_hz"
export JCB_ALGO_VTSCALES="soca_vtscales"
export JCB_ALGO_PARAMETERS_DIFFUSION_VT="soca_parameters_diffusion_vt"
export JCB_ALGO_ENSB="soca_ensb"
export JCB_ALGO_ENSWEIGHTS="soca_ensweights"

export JEDIEXE_GRIDGEN="${EXECgfs}/gdas_soca_gridgen.x"
export JEDIEXE_DIAGB="${EXECgfs}/gdas_soca_diagb.x"
export JEDIEXE_SETCORSCALES="${EXECgfs}/gdas_soca_setcorscales.x"
export JEDIEXE_PARAMETERS_DIFFUSION_HZ="${EXECgfs}/gdas_soca_error_covariance_toolbox.x"
export JEDIEXE_PARAMETERS_DIFFUSION_VT="${EXECgfs}/gdas_soca_error_covariance_toolbox.x"
export JEDIEXE_ENSB="${EXECgfs}/gdas_ens_handler.x"
export JEDIEXE_ENSWEIGHTS="${EXECgfs}/gdas_socahybridweights.x"

echo "END: config.marineanl"
8 changes: 0 additions & 8 deletions parm/config/gfs/config.marinebmat
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,4 @@ echo "BEGIN: config.marinebmat"
# Get task specific resources
. "${EXPDIR}/config.resources" marinebmat

export BERROR_DIAGB_YAML="${PARMgfs}/gdas/soca/berror/soca_diagb.yaml.j2"
export BERROR_VTSCALES_YAML="${PARMgfs}/gdas/soca/berror/soca_vtscales.yaml.j2"
export BERROR_DIFFV_YAML="${PARMgfs}/gdas/soca/berror/soca_parameters_diffusion_vt.yaml.j2"
export BERROR_HZSCALES_YAML="${PARMgfs}/gdas/soca/berror/soca_setcorscales.yaml"
export BERROR_DIFFH_YAML="${PARMgfs}/gdas/soca/berror/soca_parameters_diffusion_hz.yaml.j2"
export BERROR_ENS_RECENTER_YAML="${PARMgfs}/gdas/soca/berror/soca_ensb.yaml.j2"
export BERROR_HYB_WEIGHTS_YAML="${PARMgfs}/gdas/soca/berror/soca_ensweights.yaml.j2"

echo "END: config.marinebmat"
9 changes: 2 additions & 7 deletions parm/config/gfs/yaml/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ base:
FHMAX_ENKF_GFS: 12

atmanl:
JCB_ALGO_YAML: "${PARMgfs}/gdas/atm/jcb-prototype_3dvar.yaml.j2"
JCB_ALGO_YAML_VAR: "${PARMgfs}/gdas/atm/jcb-prototype_3dvar.yaml.j2"
STATICB_TYPE: "gsibec"
LAYOUT_X_ATMANL: 8
LAYOUT_Y_ATMANL: 8
Expand All @@ -33,16 +33,11 @@ atmanl:
atmensanl:
JCB_ALGO_YAML_LETKF: "${PARMgfs}/gdas/atm/jcb-prototype_lgetkf.yaml.j2"
JCB_ALGO_YAML_OBS: "${PARMgfs}/gdas/atm/jcb-prototype_lgetkf_observer.yaml.j2"
JCB_ALGO_YAML_SOL: "${PARMgfs}/gdas/atm/jcb-prototype_lgetkf_solver.yaml.j2"
LAYOUT_X_ATMENSANL: 8
LAYOUT_Y_ATMENSANL: 8
IO_LAYOUT_X: 1
IO_LAYOUT_Y: 1

atmensanlobs:
JCB_ALGO_YAML: "${PARMgfs}/gdas/atm/jcb-prototype_lgetkf_observer.yaml.j2"

atmensanlsol:
JCB_ALGO_YAML: "${PARMgfs}/gdas/atm/jcb-prototype_lgetkf_solver.yaml.j2"

aeroanl:
IO_LAYOUT_X: 1
Expand Down
9 changes: 4 additions & 5 deletions scripts/exglobal_atm_analysis_fv3_increment.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env python3
# exglobal_atm_analysis_fv3_increment.py
# This script creates an AtmAnalysis object
# and runs the initialize_fv3inc and execute methods
# which convert the JEDI increment into an FV3 increment
# and runs the execute method of its Jedi
# object attribute
import os

from wxflow import Logger, cast_strdict_as_dtypedict
Expand All @@ -18,8 +18,7 @@
config = cast_strdict_as_dtypedict(os.environ)

# Instantiate the atm analysis object
AtmAnl = AtmAnalysis(config, 'atmanlfv3inc')
AtmAnl = AtmAnalysis(config)

# Initialize and execute FV3 increment converter
AtmAnl.initialize_jedi()
AtmAnl.execute(config.APRUN_ATMANLFV3INC)
AtmAnl.jedi['atmanlfv3inc'].execute(config.APRUN_ATMANLFV3INC)
9 changes: 4 additions & 5 deletions scripts/exglobal_atm_analysis_initialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# exglobal_atm_analysis_initialize.py
# This script creates an AtmAnalysis class
# and runs the initialize method
# which create and stage the runtime directory
# and create the YAML configuration
# which creates and stages the runtime directory
# and creates the YAML configuration
# for a global atm variational analysis
import os

Expand All @@ -20,8 +20,7 @@
config = cast_strdict_as_dtypedict(os.environ)

# Instantiate the atm analysis task
AtmAnl = AtmAnalysis(config, 'atmanlvar')
AtmAnl = AtmAnalysis(config)

# Initialize JEDI variational analysis
AtmAnl.initialize_jedi()
AtmAnl.initialize_analysis()
AtmAnl.initialize()
6 changes: 3 additions & 3 deletions scripts/exglobal_atm_analysis_variational.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# exglobal_atm_analysis_variational.py
# This script creates an AtmAnalysis object
# and runs the execute method
# and runs the execute method of its Jedi object attribute
# which executes the global atm variational analysis
import os

Expand All @@ -18,7 +18,7 @@
config = cast_strdict_as_dtypedict(os.environ)

# Instantiate the atm analysis task
AtmAnl = AtmAnalysis(config, 'atmanlvar')
AtmAnl = AtmAnalysis(config)

# Execute JEDI variational analysis
AtmAnl.execute(config.APRUN_ATMANLVAR, ['fv3jedi', 'variational'])
AtmAnl.jedi['atmanlvar'].execute(config.APRUN_ATMANLVAR)
7 changes: 3 additions & 4 deletions scripts/exglobal_atmens_analysis_fv3_increment.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# exglobal_atmens_analysis_fv3_increment.py
# This script creates an AtmEnsAnalysis object
# and runs the initialize_fv3inc and execute methods
# and runs the execute method of its Jedi object attribute
# which convert the JEDI increment into an FV3 increment
import os

Expand All @@ -18,8 +18,7 @@
config = cast_strdict_as_dtypedict(os.environ)

# Instantiate the atmens analysis object
AtmEnsAnl = AtmEnsAnalysis(config, 'atmensanlfv3inc')
AtmEnsAnl = AtmEnsAnalysis(config)

# Initialize and execute JEDI FV3 increment converter
AtmEnsAnl.initialize_jedi()
AtmEnsAnl.execute(config.APRUN_ATMENSANLFV3INC)
AtmEnsAnl.jedi['atmensanlfv3inc'].execute(config.APRUN_ATMENSANLFV3INC)
12 changes: 4 additions & 8 deletions scripts/exglobal_atmens_analysis_initialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# exglobal_atmens_analysis_initialize.py
# This script creates an AtmEnsAnalysis class
# and runs the initialize method
# which create and stage the runtime directory
# and create the YAML configuration
# which creates and stages the runtime directory
# and creates the YAML configuration
# for a global atm local ensemble analysis
import os

Expand All @@ -20,11 +20,7 @@
config = cast_strdict_as_dtypedict(os.environ)

# Instantiate the atmens analysis task
if not config.lobsdiag_forenkf:
AtmEnsAnl = AtmEnsAnalysis(config, 'atmensanlletkf')
else:
AtmEnsAnl = AtmEnsAnalysis(config, 'atmensanlobs')
AtmEnsAnl = AtmEnsAnalysis(config)

# Initialize JEDI ensemble DA analysis
AtmEnsAnl.initialize_jedi()
AtmEnsAnl.initialize_analysis()
AtmEnsAnl.initialize()
13 changes: 9 additions & 4 deletions scripts/exglobal_atmens_analysis_letkf.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env python3
# exglobal_atmens_analysis_letkf.py
# This script creates an AtmEnsAnalysis object
# and runs the execute method which executes
# the global atm local ensemble analysis
# and runs the execute method of its Jedi object attribute
# which executes the global atm local ensemble analysis
import os

from wxflow import Logger, cast_strdict_as_dtypedict
Expand All @@ -18,7 +18,12 @@
config = cast_strdict_as_dtypedict(os.environ)

# Instantiate the atmens analysis task
AtmEnsAnl = AtmEnsAnalysis(config, 'atmensanlletkf')
AtmEnsAnl = AtmEnsAnalysis(config)

# Initalize JEDI ensemble DA application
# Note: This is normally done in AtmEnsAnl.initialize(), but that method now
# initializes the split observer-solver. This case is just for testing.
AtmEnsAnl.jedi['atmensanlletkf'].initialize(AtmEnsAnl.task_config)

# Execute the JEDI ensemble DA analysis
AtmEnsAnl.execute(config.APRUN_ATMENSANLLETKF, ['fv3jedi', 'localensembleda'])
AtmEnsAnl.jedi['atmensanlletkf'].execute(config.APRUN_ATMENSANLLETKF)
6 changes: 3 additions & 3 deletions scripts/exglobal_atmens_analysis_obs.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# exglobal_atmens_analysis_obs.py
# This script creates an AtmEnsAnalysis object
# and runs the execute method
# and runs the execute method of its Jedi object attribute
# which executes the global atm local ensemble analysis in observer mode
import os

Expand All @@ -18,7 +18,7 @@
config = cast_strdict_as_dtypedict(os.environ)

# Instantiate the atmens analysis task
AtmEnsAnl = AtmEnsAnalysis(config, 'atmensanlobs')
AtmEnsAnl = AtmEnsAnalysis(config)

# Initialize and execute JEDI ensembler DA analysis in observer mode
AtmEnsAnl.execute(config.APRUN_ATMENSANLOBS, ['fv3jedi', 'localensembleda'])
AtmEnsAnl.jedi['atmensanlobs'].execute(config.APRUN_ATMENSANLOBS)
7 changes: 3 additions & 4 deletions scripts/exglobal_atmens_analysis_sol.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# exglobal_atmens_analysis_sol.py
# This script creates an AtmEnsAnalysis object
# and runs the execute method
# and runs the execute method of its Jedi object attribute
# which executes the global atm local ensemble analysis in solver mode
import os

Expand All @@ -18,8 +18,7 @@
config = cast_strdict_as_dtypedict(os.environ)

# Instantiate the atmens analysis task
AtmEnsAnl = AtmEnsAnalysis(config, 'atmensanlsol')
AtmEnsAnl = AtmEnsAnalysis(config)

# Initialize and execute JEDI ensemble DA analysis in solver mode
AtmEnsAnl.initialize_jedi()
AtmEnsAnl.execute(config.APRUN_ATMENSANLSOL, ['fv3jedi', 'localensembleda'])
AtmEnsAnl.jedi['atmensanlsol'].execute(config.APRUN_ATMENSANLSOL)
2 changes: 1 addition & 1 deletion scripts/exglobal_marinebmat.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@
# Create an instance of the MarineBMat task
marineBMat = MarineBMat(config)
marineBMat.initialize()
marineBMat.execute()
marineBMat.execute(config.APRUN_MARINEBMAT)
marineBMat.finalize()
2 changes: 1 addition & 1 deletion sorc/gdas.cd
Submodule gdas.cd updated 113 files
Loading
Loading