-
Notifications
You must be signed in to change notification settings - Fork 210
Ocean/ice product generation for GFS and GEFS #2286
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
Merged
WalterKolczynski-NOAA
merged 51 commits into
NOAA-EMC:develop
from
aerorahul:feature/ocean_ice_output
Feb 13, 2024
Merged
Changes from all commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
a8e12f6
wip
aerorahul b862705
Merge branch 'develop' into feature/ocean_ice_output
aerorahul 9f62533
Merge branch 'develop' into feature/ocean_ice_output
aerorahul 9f4533a
work cice output and ice filenames
aerorahul d7e00b2
Merge branch 'develop' into feature/ocean_ice_output
aerorahul 90fab15
wip
aerorahul e9de66f
Merge branch 'develop' into feature/ocean_ice_output
aerorahul 3b54968
Merge branch 'develop' into feature/ocean_ice_output
aerorahul b89f539
Merge branch 'develop' into feature/ocean_ice_output
aerorahul 43232fc
Merge branch 'develop' into feature/ocean_ice_output
aerorahul 76d09bc
Write mediator restarts to CMEPS_RESTART/ instead of RESTART/
aerorahul f116a32
link ocean/ice post-processing stuff from gfs-utils
aerorahul 33dae8f
add a rocoto job, jjob, config file and resources for ocean/ice produ…
aerorahul cd7b7be
add oceanice_products.yaml and declare ocean/ice grib2 directory name…
aerorahul c922dea
working ocean products
aerorahul fa610ed
Merge branch 'develop' into feature/ocean_ice_output
aerorahul 552bb7b
updates to workflow generation scripts
aerorahul e7d8468
clean-up
aerorahul a4d850c
fixes
aerorahul c619784
update hash of gfs-utils submodule
aerorahul d1d415f
fix shellnorm and update CMEPS_out to only copy the last mediator res…
aerorahul 6525773
remove ocnpost from workflow
aerorahul 3a27424
update archive script to archive ocean/ice output and products
aerorahul 82494f0
increase UPP memory for C768
aerorahul e387208
update env files for other machines
aerorahul c5f84aa
Apply suggestions from code review - batch 1
aerorahul 5da925d
remove unnecessary redefinitions in predet
aerorahul d232b4d
fix shellcheck errors
aerorahul 4abdd40
Merge branch 'develop' into feature/ocean_ice_output
aerorahul 8eb84e7
adapt for ocean/ice output frequency
aerorahul 2a71a27
consolidate CICE output links to COM for gfs/gdas
aerorahul 8f2bb7c
rename {component}{prod} to {component}_{prod}. add ocean/ice produc…
aerorahul 4a5ded9
add ocean ice prodgen for gefs
aerorahul f0c76f5
Merge branch 'develop' into feature/ocean_ice_output
aerorahul 1aa7197
fix missing level from copy/paste in the oceanice_products.yaml
aerorahul 26b0a9a
update metadata for date and forecast hour in the grib2 product file
aerorahul ce20bee
add missing key in the local task dict
aerorahul 1b336e2
remove xsect ocean vars and add COM_OCEAN_NETCDF for netcdf products.
aerorahul de32912
placeholder for ocean netcdf products
aerorahul fdb9007
apply comments from review to replace SALTY with SALIN and remove sca…
aerorahul a7822c2
Merge branch 'develop' into feature/ocean_ice_output
aerorahul c54a4fa
add COM_ICE_NETCDF_TMPL for any ice netcdf products that we may have …
aerorahul 97f99fc
perform subsetting of model native output for products
aerorahul 7de1739
Merge branch 'develop' into feature/ocean_ice_output
aerorahul abea49d
remove not required variables from ocean native product files
aerorahul 30fc5f7
Merge branch 'develop' into feature/ocean_ice_output
aerorahul 16fd4ee
remove sst_h from ice native netcdf products. fix gefs dependency for…
aerorahul 2f4e17b
missed a couple dependencies for gefs products
aerorahul 0579eb6
fix undefined variable in forecast_postdet.sh that impacted RUN=gdas
aerorahul c9fde0e
update the dependency for prepoceanobs for updated filename
aerorahul 9930d05
Merge branch 'develop' into feature/ocean_ice_output
aerorahul 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,40 @@ | ||
| #! /usr/bin/env bash | ||
|
|
||
| source "${HOMEgfs}/ush/preamble.sh" | ||
| source "${HOMEgfs}/ush/jjob_header.sh" -e "oceanice_products" -c "base oceanice_products" | ||
|
|
||
|
|
||
| ############################################## | ||
| # Begin JOB SPECIFIC work | ||
| ############################################## | ||
|
|
||
| # Construct COM variables from templates | ||
| YMD="${PDY}" HH="${cyc}" generate_com -rx "COM_${COMPONENT^^}_HISTORY" | ||
| YMD="${PDY}" HH="${cyc}" generate_com -rx "COM_${COMPONENT^^}_GRIB" | ||
| YMD="${PDY}" HH="${cyc}" generate_com -rx "COM_${COMPONENT^^}_NETCDF" | ||
|
|
||
| ############################################################### | ||
| # Run exglobal script | ||
| "${HOMEgfs}/scripts/exglobal_oceanice_products.py" | ||
| status=$? | ||
| (( status != 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}" == "NO" ]] && rm -rf "${DATA}" | ||
|
|
||
|
|
||
| exit 0 |
This file contains hidden or 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,37 @@ | ||
| #! /usr/bin/env bash | ||
|
|
||
| source "${HOMEgfs}/ush/preamble.sh" | ||
|
|
||
| ############################################################### | ||
| ## ocean ice products driver script | ||
| ## FHRLST : forecast hour list to post-process (e.g. f000, f000_f001_f002, ...) | ||
| ############################################################### | ||
|
|
||
| # Source FV3GFS workflow modules | ||
| . "${HOMEgfs}/ush/load_fv3gfs_modules.sh" | ||
| status=$? | ||
| if (( status != 0 )); then exit "${status}"; fi | ||
|
|
||
| ############################################################### | ||
| # setup python path for workflow utilities and tasks | ||
| wxflowPATH="${HOMEgfs}/ush/python:${HOMEgfs}/ush/python/wxflow/src" | ||
| PYTHONPATH="${PYTHONPATH:+${PYTHONPATH}:}${wxflowPATH}" | ||
| export PYTHONPATH | ||
|
|
||
| export job="oceanice_products" | ||
| export jobid="${job}.$$" | ||
|
|
||
| ############################################################### | ||
| # shellcheck disable=SC2153,SC2001 | ||
| IFS='_' read -ra fhrs <<< "${FHRLST//f}" # strip off the 'f's and convert to array | ||
|
|
||
| #--------------------------------------------------------------- | ||
| # Execute the JJOB | ||
| for fhr in "${fhrs[@]}"; do | ||
| export FORECAST_HOUR=$(( 10#${fhr} )) | ||
| "${HOMEgfs}/jobs/JGLOBAL_OCEANICE_PRODUCTS" | ||
| status=$? | ||
| if (( status != 0 )); then exit "${status}"; fi | ||
| done | ||
|
|
||
| exit 0 |
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 @@ | ||
| ../gfs/config.oceanice_products |
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.
Uh oh!
There was an error while loading. Please reload this page.