-
Notifications
You must be signed in to change notification settings - Fork 171
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
Cycling on native grid and create JEDI-based analysis calc job #2949
Closed
Closed
Changes from all commits
Commits
Show all changes
94 commits
Select commit
Hold shift + click to select a range
36d9e2a
Initial commit
DavidNew-NOAA 3ac6a0e
Update gdas hash
DavidNew-NOAA e56126d
Update GDAS hash
DavidNew-NOAA 5436a6b
Fix typo
DavidNew-NOAA b5e231a
Saving progress
DavidNew-NOAA 777641a
Update
DavidNew-NOAA 86b6ad4
Merge
DavidNew-NOAA 42122d3
Initial commit
DavidNew-NOAA 26d365b
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA 653453f
Update gdas hash
DavidNew-NOAA 8333e32
Update GDAS hash and namelist to read increment on native grid
DavidNew-NOAA 292b55a
Saving progress
DavidNew-NOAA bfc06c2
Update GDAS hash
DavidNew-NOAA dc59de4
Update GDAS hash
DavidNew-NOAA 13e35d0
Update GDAS hash
DavidNew-NOAA ac8d31d
Update GDAS hash
DavidNew-NOAA 84723c8
Update GDAS hash and update finalize jobs in atmanl and atmensanl
DavidNew-NOAA 09bf586
Merge branch 'develop' into feature/cubeinc
DavidNew-NOAA 61d201a
pynorms
DavidNew-NOAA 1de0c62
Update GDAS hash
DavidNew-NOAA 19e6f1c
Update GDAS hash
DavidNew-NOAA 1a21af0
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA 89e8dd4
pynorms
DavidNew-NOAA f123d9a
Stage multifile (FMS) increments and update GDAS hash
DavidNew-NOAA 0430bef
Update GDAS hash
DavidNew-NOAA ad27e15
Update GDAS hash
DavidNew-NOAA 07d1fff
Update GDAS hash and update finalize jobs in atmanl and atmensanl
DavidNew-NOAA 01166d7
Add new UPP links to .gitignore (#2904)
DavidHuber-NOAA 3805262
pynorms
DavidNew-NOAA c9f40d3
Stage multifile (FMS) increments and update GDAS hash
DavidNew-NOAA dc4cf6e
Update GDAS hash
DavidNew-NOAA fa71bf4
Merge branch 'feature/cubeinc' of https://github.com/DavidNew-NOAA/gl…
DavidNew-NOAA 7f2327b
Fix bug and update GDAS hash
DavidNew-NOAA 2d9b9b6
Update gdas hash and update calcanl.py
DavidNew-NOAA e832805
Merge branch 'feature/cubeinc' into feature/calcanl
DavidNew-NOAA 509742d
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA 9a95e54
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA 93076f5
Update UFS hash
DavidNew-NOAA eaaf1fd
Update
DavidNew-NOAA e99729e
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA 0f419a0
Update GDAS hash and save progress on calcanl.py
DavidNew-NOAA 31cea06
Update
DavidNew-NOAA 8af11f2
Update GDASApp hash
DavidNew-NOAA bd6afc2
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA f3d3449
Update
DavidNew-NOAA 4001249
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA 21b10da
pynorms
DavidNew-NOAA 02b27b9
Add comment blocks to calcanl.py methods
DavidNew-NOAA dd6c182
pynorms
DavidNew-NOAA 1b12887
Fix indentation error and allocate more appropriate resources for job
DavidNew-NOAA 2932cc2
Shell norms
DavidNew-NOAA 0eaa63d
Rename some stuff
DavidNew-NOAA 693e6d1
Rename some stuff per comment from Rahul
DavidNew-NOAA dff1e59
Missed renaming of some things
DavidNew-NOAA 24f5029
Update GDASApp hash
DavidNew-NOAA 6aa3b96
Update analcalc name in two more corners of the GW
DavidNew-NOAA 65f66f4
Shell norms and update UFS hash
DavidNew-NOAA dd84949
Fix job dependencies bug
DavidNew-NOAA 1973c7d
Merge branch 'develop' into feature/calcanl
aerorahul 76558a1
Update GDAS hash
DavidNew-NOAA ca82795
Have ensemble write native grid AND Gaussian grid increments temporar…
DavidNew-NOAA a0fc4b9
Fix bug from last commit
DavidNew-NOAA 947f735
Hopefully final bug fix
DavidNew-NOAA b28ad28
Revert some stuff
DavidNew-NOAA 0086604
Minor cleanup
DavidNew-NOAA 2fbca1f
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA 21dc72e
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA f1e5ed5
Update GDAS hash
DavidNew-NOAA c05d7a8
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA f517dfa
Update hashes
DavidNew-NOAA b9d8338
Update GDAS hash
DavidNew-NOAA 5a65800
Update GDAS hash
DavidNew-NOAA 0b84843
Remove ges.sfc background file
DavidNew-NOAA a7abdfb
pynorms
DavidNew-NOAA c523110
Update GDAS hash
DavidNew-NOAA ae0ae95
Account for warm start in forecast_postdet.sh
DavidNew-NOAA ac31f23
Update GDAS hash
DavidNew-NOAA 7aedb17
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA b5c9b19
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA ea41690
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA e7fcafd
Update GDAS hash
DavidNew-NOAA a6e93c1
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA f584fc2
Update GDAS hash
DavidNew-NOAA 7ff09f6
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA 003b7c1
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA 2f96c52
Update GDAS hash
DavidNew-NOAA 1901cdd
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA f7957f8
Update GDAS hash
DavidNew-NOAA c4d282b
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA 8bd5166
Update GDAS hash
DavidNew-NOAA ef1673f
Update GDAS hash
DavidNew-NOAA d1874dc
Update GDAS hash
DavidNew-NOAA 48fe14b
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA 18a8024
Update gdas hash
DavidNew-NOAA File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
#! /usr/bin/env bash | ||
|
||
source "${HOMEgfs}/ush/preamble.sh" | ||
source "${HOMEgfs}/ush/jjob_header.sh" -e "analcalc_fv3jedi" -c "base analcalc_fv3jedi" | ||
|
||
############################################## | ||
# Set variables used in the script | ||
############################################## | ||
|
||
GDATE=$(date --utc +%Y%m%d%H -d "${PDY} ${cyc} - ${assim_freq} hours") | ||
gPDY=${GDATE:0:8} | ||
gcyc=${GDATE:8:2} | ||
GDUMP="gdas" | ||
|
||
############################################## | ||
# Begin JOB SPECIFIC work | ||
############################################## | ||
|
||
# Generate COM variables from templates | ||
YMD=${PDY} HH=${cyc} declare_from_tmpl -rx \ | ||
COM_ATMOS_ANALYSIS | ||
RUN=${GDUMP} YMD=${gPDY} HH=${gcyc} declare_from_tmpl -rx \ | ||
COM_ATMOS_HISTORY_PREV:COM_ATMOS_HISTORY_TMPL | ||
|
||
############################################## | ||
# Run relevant script | ||
############################################## | ||
|
||
EXSCRIPT=${GDASATMRUNSH:-${SCRgfs}/exglobal_atmos_analysis_calc_fv3jedi.py} | ||
${EXSCRIPT} | ||
status=$? | ||
[[ ${status} -ne 0 ]] && exit "${status}" | ||
|
||
############################################## | ||
# End JOB SPECIFIC work | ||
############################################## | ||
|
||
############################################## | ||
# Final processing | ||
############################################## | ||
|
||
if [[ -e "${pgmout}" ]] ; then | ||
cat "${pgmout}" | ||
fi | ||
|
||
############################################## | ||
# Remove the Temporary working directory | ||
############################################## | ||
|
||
cd "${DATAROOT}" || ( echo "FATAL ERROR: ${DATAROOT} does not exist, ABORT!"; exit 1 ) | ||
if [[ ${KEEPDATA} = "NO" ]]; then | ||
rm -rf "${DATA}" | ||
fi | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#! /usr/bin/env bash | ||
|
||
source "${HOMEgfs}/ush/preamble.sh" | ||
|
||
############################################################### | ||
# Source UFSDA workflow modules | ||
. "${HOMEgfs}/ush/load_ufsda_modules.sh" | ||
status=$? | ||
[[ ${status} -ne 0 ]] && exit "${status}" | ||
|
||
export job="analcalc_fv3jedi" | ||
export jobid="${job}.$$" | ||
|
||
############################################################### | ||
# Execute the JJOB | ||
"${HOMEgfs}"/jobs/JGLOBAL_ATMOS_ANALYSIS_CALC_FV3JEDI | ||
status=$? | ||
exit "${status}" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#! /usr/bin/env bash | ||
|
||
########## config.analcalc_fv3jedi ########## | ||
# Diagnostic amospheric analysis calculation specific | ||
|
||
echo "BEGIN: config.analcalc_fv3jedi" | ||
|
||
export layout_x_analcalc_fv3jedi=2 | ||
export layout_y_analcalc_fv3jedi=2 | ||
|
||
# Get task specific resources | ||
. "${EXPDIR}/config.resources" analcalc_fv3jedi | ||
|
||
export JCB_BASE_YAML=${PARMgfs}/gdas/atm/jcb-base.yaml.j2 | ||
export JCB_ALGO=fv3jedi_analcalc | ||
export JEDIEXE=${EXECgfs}/fv3jedi_analcalc.x | ||
|
||
if [[ ${DOHYBVAR} = "YES" ]]; then | ||
export CASE_ANL=${CASE_ENS} | ||
Check notice Code scanning / shellcheck Possible misspelling: CASE_ENS may not be assigned. Did you mean CASE_ANL? Note
Possible misspelling: CASE_ENS may not be assigned. Did you mean CASE_ANL?
|
||
else | ||
export CASE_ANL=${CASE} | ||
fi | ||
|
||
export JEDI_FIX_YAML="${PARMgfs}/gdas/atm_jedi_fix.yaml.j2" | ||
|
||
echo "END: config.analcalc_fv3jedi" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#! /usr/bin/env bash | ||
|
||
########## config.analcalc_gsi ########## | ||
# GFS post-anal specific (non-diag) | ||
|
||
echo "BEGIN: config.analcalc_gsi" | ||
|
||
# Get task specific resources | ||
. "${EXPDIR}"/config.resources analcalc_gsi | ||
|
||
echo "END: config.analcalc_gsi" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/usr/bin/env python3 | ||
# exglobal_atm_calc_analysis.py | ||
# This script creates an AnalysisCalc object | ||
# and runs the execute method which executes | ||
# the diagnostic global analysis calculation | ||
import os | ||
|
||
from wxflow import Logger, cast_strdict_as_dtypedict | ||
from pygfs.task.analcalc import AnalysisCalc | ||
|
||
# Initialize root logger | ||
logger = Logger(level='DEBUG', colored_log=True) | ||
|
||
|
||
if __name__ == '__main__': | ||
|
||
# Take configuration from environment and cast it as python dictionary | ||
config = cast_strdict_as_dtypedict(os.environ) | ||
|
||
# Instantiate the AnalysisCalc task | ||
AnalCalc = AnalysisCalc(config, 'fv3jedi_analcalc') | ||
|
||
# Initialize | ||
AnalCalc.initialize_jedi() | ||
AnalCalc.initialize() | ||
|
||
# Execute JEDI application | ||
AnalCalc.execute(config.APRUN_ANALCALC_FV3JEDI) | ||
|
||
# Finalize | ||
AnalCalc.finalize() |
File renamed without changes.
Submodule gdas.cd
updated
64 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check notice
Code scanning / shellcheck
Possible misspelling: PDY may not be assigned. Did you mean gPDY? Note