-
Notifications
You must be signed in to change notification settings - Fork 177
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 global-workflow infrastructure for ocean analysis recentering task #2299
Merged
aerorahul
merged 20 commits into
NOAA-EMC:develop
from
AndrewEichmann-NOAA:feature/ocnanalecen
Mar 7, 2024
+140
−19
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
68e55db
initial additions
AndrewEichmann-NOAA 01857f7
fine, keep datadir
AndrewEichmann-NOAA 4a71289
enriched resources
AndrewEichmann-NOAA b907738
Update config.resources
AndrewEichmann-NOAA 5aacfa9
Update config.resources
AndrewEichmann-NOAA ca4918f
changed atm resolutions to ocn in ocn entries
AndrewEichmann-NOAA 7cc3c67
Merge branch 'develop' into feature/ocnanalecen
AndrewEichmann-NOAA be3a6a8
reverse the reversal
AndrewEichmann-NOAA 62b398c
sh to py
AndrewEichmann-NOAA 711656d
bringing in line with g-w
AndrewEichmann-NOAA a4c7187
tweaks
AndrewEichmann-NOAA 354618e
more tweaks
AndrewEichmann-NOAA ffb3b9f
adding missed executables for linking
AndrewEichmann-NOAA 36ffa01
Merge branch 'develop' into feature/ocnanalecen
AndrewEichmann-NOAA 10d33b2
Merge branch 'develop' into feature/ocnanalecen
AndrewEichmann-NOAA 193d9b8
Merge branch 'develop' into feature/ocnanalecen
AndrewEichmann-NOAA 7cf79d8
Merge branch 'develop' into feature/ocnanalecen
AndrewEichmann-NOAA 92d2a06
remove superfluous APRUNCFP
AndrewEichmann-NOAA 40ef4e3
adding notional orion capability
AndrewEichmann-NOAA 0059d78
resource massaging
AndrewEichmann-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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#!/bin/bash | ||
source "${HOMEgfs}/ush/preamble.sh" | ||
source "${HOMEgfs}/ush/jjob_header.sh" -e "ocnanalecen" -c "base ocnanal ocnanalecen" | ||
|
||
############################################## | ||
# Set variables used in the script | ||
############################################## | ||
|
||
############################################## | ||
# Begin JOB SPECIFIC work | ||
############################################## | ||
|
||
############################################################### | ||
# Run relevant script | ||
|
||
EXSCRIPT=${GDASOCNCENPY:-${HOMEgfs}/scripts/exgdas_global_marine_analysis_ecen.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}" || 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#! /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="ocnanalecen" | ||
export jobid="${job}.$$" | ||
|
||
############################################################### | ||
# Setup Python path for GDASApp ush | ||
PYTHONPATH="${PYTHONPATH:+${PYTHONPATH}:}${HOMEgfs}/sorc/gdas.cd/ush" | ||
export PYTHONPATH | ||
|
||
############################################################### | ||
# Execute the JJOB | ||
"${HOMEgfs}"/jobs/JGDAS_GLOBAL_OCEAN_ANALYSIS_ECEN | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
|
||
########## config.ocnanalecen ########## | ||
# Ocn Analysis specific | ||
|
||
echo "BEGIN: config.ocnanalecen" | ||
|
||
# Get task specific resources | ||
. "${EXPDIR}/config.resources" ocnanalecen | ||
|
||
echo "END: config.ocnanalecen" |
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is
ocnanal
config needed in this task?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For
JEDI_BIN
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is in
JEDI_BIN
? All executables are inHOMEgfs/exec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also for
SOCA_INPUT_FIX_DIR