forked from NOAA-EMC/global-workflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move the variational scripts to this repository (NOAA-EMC#2920)
This PR "moves and refactors" the variational DA `exscripts` that were in the `GDASapp` to this repository. The ens. var. feature will be replicated/moved in a subsequent PR. Issues have been opened to address reviewer comments at a later time in separate PRs --------- Co-authored-by: Kate.Friedman <[email protected]> Co-authored-by: Rahul Mahajan <[email protected]>
- Loading branch information
1 parent
7088a91
commit a694cf1
Showing
57 changed files
with
993 additions
and
334 deletions.
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 was deleted.
Oops, something went wrong.
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
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,43 @@ | ||
#!/bin/bash | ||
source "${HOMEgfs}/ush/preamble.sh" | ||
export WIPE_DATA="NO" | ||
export DATAjob="${DATAROOT}/${RUN}marineanalysis.${PDY:-}${cyc}" | ||
export DATA="${DATAjob}/marinevariational" | ||
source "${HOMEgfs}/ush/jjob_header.sh" -e "marineanlfinal" -c "base marineanl marineanlfinal" | ||
|
||
############################################## | ||
# Set variables used in the script | ||
############################################## | ||
|
||
############################################## | ||
# Begin JOB SPECIFIC work | ||
############################################## | ||
|
||
# Generate COM variables from templates | ||
YMD=${PDY} HH=${cyc} declare_from_tmpl -rx COMIN_OBS:COM_OBS_TMPL | ||
|
||
YMD=${PDY} HH=${cyc} declare_from_tmpl -rx \ | ||
COMOUT_OCEAN_ANALYSIS:COM_OCEAN_ANALYSIS_TMPL \ | ||
COMOUT_ICE_ANALYSIS:COM_ICE_ANALYSIS_TMPL \ | ||
COMOUT_ICE_RESTART:COM_ICE_RESTART_TMPL | ||
|
||
mkdir -p "${COMOUT_OCEAN_ANALYSIS}" | ||
mkdir -p "${COMOUT_ICE_ANALYSIS}" | ||
mkdir -p "${COMOUT_ICE_RESTART}" | ||
|
||
############################################################### | ||
# Run relevant script | ||
############################################################### | ||
|
||
EXSCRIPT=${GDASMARINEANALYSIS:-${SCRgfs}/exglobal_marine_analysis_finalize.py} | ||
${EXSCRIPT} | ||
status=$? | ||
[[ ${status} -ne 0 ]] && exit "${status}" | ||
|
||
########################################## | ||
# Remove the Temporary working directory | ||
########################################## | ||
cd "${DATAROOT}" || exit 1 | ||
[[ "${KEEPDATA}" = "NO" ]] && rm -rf "${DATA}" | ||
|
||
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
Oops, something went wrong.