-
Notifications
You must be signed in to change notification settings - Fork 204
Refactor cleanup task and add checks for gempak files #4258
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
Open
DavidHuber-NOAA
wants to merge
42
commits into
NOAA-EMC:develop
Choose a base branch
from
DavidHuber-NOAA:feature/save_gempak_1p00
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
3d0f427
Enable set -o pipefail to catch errors in piped commands
DavidHuber-NOAA 4ad6542
Refactor cleanup task and add checks for gempak files
DavidHuber-NOAA 00372f3
Merge remote-tracking branch 'emc/develop' into feature/save_gempak_1p00
DavidHuber-NOAA 8e4322b
Shellcheck fixes
DavidHuber-NOAA c6a23cf
Ignore 2312
DavidHuber-NOAA 484235c
Remove unused variable
DavidHuber-NOAA 749f917
Disable pipefail exits for now
DavidHuber-NOAA ceeae5e
Shellcheck issues
DavidHuber-NOAA cea9f0e
Merge branch 'feature/save_gempak_1p00' of github.com:davidhuber-noaa…
DavidHuber-NOAA 7006ec5
Fix bufrsnd tarball creation
DavidHuber-NOAA 4efde5a
Correct archiving to actually pull the data used
DavidHuber-NOAA 214eb50
Correct positional arguments
DavidHuber-NOAA ebb0e33
Tar all bufr files
DavidHuber-NOAA cdf5a8f
Use a find command instead
DavidHuber-NOAA ef21b22
Merge remote-tracking branch 'emc/develop' into feature/save_gempak_1p00
DavidHuber-NOAA 3303cc4
Do not load gh anymore
DavidHuber-NOAA 473c7b5
Enable archiving on WCOSS2 by default
DavidHuber-NOAA 7cda242
Make the bufr soundings and surface files EE2-compliant
DavidHuber-NOAA 41effff
Update soundings tarball name to be EE2-compliant
DavidHuber-NOAA c8bc24c
Correct atmos product dependencies
DavidHuber-NOAA 30395ab
Replace tabs with spaces
DavidHuber-NOAA a88f475
Increase memory for gempak jobs (needed for meta task)
DavidHuber-NOAA 159dc68
Make cleanup script smarter
DavidHuber-NOAA f15662b
Merge develop; fix conflicts
DavidHuber-NOAA 73f4bcc
Reduce RTOFS retention to 24 hours
DavidHuber-NOAA a8d5f41
Remove extra }
DavidHuber-NOAA cd59c0f
Rename RTOFS and GEMPAK variables
DavidHuber-NOAA d2ebe7f
Clarify RTOFS cleanup language
DavidHuber-NOAA 9331409
Add DO_BUFRSND dependency on gempak/bufr sounding outputs
DavidHuber-NOAA 19e44a1
Linter cleanup
DavidHuber-NOAA 844d528
Rename variables to more meaningful names
DavidHuber-NOAA 28659b9
Only delete empty RUN.PDY directories
DavidHuber-NOAA 38793d2
Add check for invalid GEMPAK retention
DavidHuber-NOAA 8e6333a
Merge remote-tracking branch 'emc/develop' into feature/save_gempak_1p00
DavidHuber-NOAA 76bc130
Merge remote-tracking branch 'emc/develop' into feature/save_gempak_1p00
DavidHuber-NOAA f677e4f
Merge remote-tracking branch 'emc/develop' into feature/save_gempak_1p00
DavidHuber-NOAA bb7a31a
Re-disable HPSS archiving on WCOSS2 by default
DavidHuber-NOAA 4a8bb34
Disable C48_S2SW on WCOSS2
DavidHuber-NOAA 8382dea
Turn on HPSS archiving for extended tests
DavidHuber-NOAA fb0f744
Revert the use of 'bufr_target'
DavidHuber-NOAA 246487c
Remove now-unused variable
DavidHuber-NOAA 865a53d
Correct GEMPAK_CLEANUP check
DavidHuber-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 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 |
|---|---|---|
|
|
@@ -13,3 +13,4 @@ base: | |
| FHMAX_GFS: 384 | ||
| FHMAX_HF_GFS: 120 | ||
| DO_TEST_MODE: "NO" | ||
| DO_ARCHCOM: "YES" | ||
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 |
|---|---|---|
|
|
@@ -212,7 +212,7 @@ def _atmosoceaniceprod(self, component: str): | |
| fhout_ice_gfs = self._configs['base']['FHOUT_ICE_GFS'] | ||
| products_dict = {'atmos': {'config': 'atmos_products', | ||
| 'history_path_tmpl': 'COM_ATMOS_MASTER_TMPL', | ||
| 'history_file_tmpl': f'{self.run}[email protected].grb2f#fhr3_last#'}, | ||
| 'history_file_tmpl': f'{self.run}[email protected].f#fhr3_last#.grib2'}, | ||
| 'ocean': {'config': 'oceanice_products', | ||
| 'history_path_tmpl': 'COM_OCEAN_HISTORY_TMPL', | ||
| 'history_file_tmpl': f'{self.run}.ocean.t@Hz.{fhout_ocn_gfs}hr_avg.f#fhr3_next#.nc'}, | ||
|
|
||
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 |
|---|---|---|
|
|
@@ -190,7 +190,7 @@ def _atmosoceaniceprod(self, component: str): | |
| fhout_ice_gfs = self._configs['base']['FHOUT_ICE_GFS'] | ||
| products_dict = {'atmos': {'config': 'atmos_products', | ||
| 'history_path_tmpl': 'COM_ATMOS_MASTER_TMPL', | ||
| 'history_file_tmpl': f'{self.run}[email protected].grb2f#fhr3_last#'}, | ||
| 'history_file_tmpl': f'{self.run}[email protected].f#fhr3_last#.grib2'}, | ||
| 'ocean': {'config': 'oceanice_products', | ||
| 'history_path_tmpl': 'COM_OCEAN_HISTORY_TMPL', | ||
| 'history_file_tmpl': f'{self.run}.ocean.t@Hz.{fhout_ocn_gfs}hr_avg.f#fhr3_next#.nc'}, | ||
|
|
||
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
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.