-
Notifications
You must be signed in to change notification settings - Fork 180
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 an archive task to GEFS system to archive files locally #2816
Merged
WalterKolczynski-NOAA
merged 93 commits into
NOAA-EMC:develop
from
AntonMFernando-NOAA:feature/gefs-arch
Sep 7, 2024
Merged
Changes from 92 commits
Commits
Show all changes
93 commits
Select commit
Hold shift + click to select a range
9306bb5
remove error message from archive.py
AntonMFernando-NOAA 6e28237
Merge branch 'NOAA-EMC:develop' into feature/gefs-arch
AntonMFernando-NOAA c1d46bf
Merge branch 'NOAA-EMC:develop' into feature/gefs-arch
AntonMFernando-NOAA 9e43bda
test1
AntonMFernando-NOAA 710c387
Merge branch 'NOAA-EMC:develop' into feature/gefs-arch
AntonMFernando-NOAA 2f6b9e1
updated gefes_tasks.py
AntonMFernando-NOAA ec5eeed
Merge branch 'feature/gefs-arch' of https://github.com/AntonMFernando…
AntonMFernando-NOAA f94fc05
update gefs_arcdir.yaml.j2
AntonMFernando-NOAA ef4d37c
updated config.arch
AntonMFernando-NOAA 1471b19
Merge branch 'NOAA-EMC:develop' into feature/gefs-arch
AntonMFernando-NOAA 84ffee5
Merge branch 'NOAA-EMC:develop' into feature/gefs-arch
AntonMFernando-NOAA dda46b7
update archive.py
AntonMFernando-NOAA ba92907
Merge branch 'feature/gefs-arch' of https://github.com/AntonMFernando…
AntonMFernando-NOAA 58fdd37
updated JGLOBAL_ARCHIVE and gefs_arch.yaml.j2
AntonMFernando-NOAA c50cf8b
updated config.com
AntonMFernando-NOAA 652e779
updated JGLOBAL_ARCHIVE
AntonMFernando-NOAA 99df46e
updated gefs_arcdir.yaml.j2
AntonMFernando-NOAA f4bbcea
updated gefs_arch.yaml.j2
AntonMFernando-NOAA 13c4e56
modified: parm/archive/gefs_arcdir.yaml.j2
AntonMFernando-NOAA 7746024
updated gefs_Arcdir.yaml.j2
AntonMFernando-NOAA fdd4937
updated gefs_Arch.yaml.j2
AntonMFernando-NOAA 484cfb5
updated gefs_arc.yamlj2
AntonMFernando-NOAA 522c78a
Merge branch 'NOAA-EMC:develop' into feature/gefs-arch
AntonMFernando-NOAA f4617e2
Merge branch 'develop' into feature/gefs-arch
AntonMFernando-NOAA 4940b05
Merge branch 'NOAA-EMC:develop' into feature/gefs-arch
AntonMFernando-NOAA bb0cc1d
modified archive.py
AntonMFernando-NOAA 40a2f55
Merge branch 'feature/gefs-arch' of https://github.com/AntonMFernando…
AntonMFernando-NOAA bdc5851
modify exglobal_archive.py
AntonMFernando-NOAA 5906112
modified exglobal_archive.py
AntonMFernando-NOAA 2dbcc80
Remove config.arch
AntonMFernando-NOAA 4bfcd62
updated archive.py
AntonMFernando-NOAA deb38d2
modified JGLOBAL_ARCHIVE
AntonMFernando-NOAA 68d8452
modified gefs_arcdir.yaml.j2
AntonMFernando-NOAA a293160
modified JGLOBAL_ARCHIVE
AntonMFernando-NOAA 773d4ba
modified config.com parm/gfs
AntonMFernando-NOAA 7d68226
renamed archdir.yaml.j2
AntonMFernando-NOAA 0144216
modified exglobal_archive.py
AntonMFernando-NOAA d7f89ca
updated gefs_archdir.yaml.j2
AntonMFernando-NOAA c117574
updated gefs_archdir.yaml.j2
AntonMFernando-NOAA b5607e1
Merge branch 'NOAA-EMC:develop' into feature/gefs-arch
AntonMFernando-NOAA ed1913e
modified gefs_arcdir.yaml.j2
AntonMFernando-NOAA b2db1cf
Merge branch 'feature/gefs-arch' of https://github.com/AntonMFernando…
AntonMFernando-NOAA 36ca810
Merge branch 'NOAA-EMC:develop' into feature/gefs-arch
AntonMFernando-NOAA 39b56f5
modified JGLOBAL_ARCHIVE
AntonMFernando-NOAA 3b2b6c7
Merge branch 'feature/gefs-arch' of https://github.com/AntonMFernando…
AntonMFernando-NOAA 49f39a2
updated exglobal_archive.py
AntonMFernando-NOAA 4cfdaeb
modified exglobal_Archive.py
AntonMFernando-NOAA 608ebd7
updated archive.py
AntonMFernando-NOAA c8fd8d2
modified exglobal_archive.py
AntonMFernando-NOAA e324bb5
modified exglobal_archive.py
AntonMFernando-NOAA dac46dd
modified exglobal_archive.py
AntonMFernando-NOAA 3d7e366
modified exglobal_archive.py
AntonMFernando-NOAA fb0a7f5
Merge branch 'NOAA-EMC:develop' into feature/gefs-arch
AntonMFernando-NOAA 37baf68
Merge branch 'feature/gefs-arch' of https://github.com/AntonMFernando…
AntonMFernando-NOAA a3d0fe9
Merge branch 'NOAA-EMC:develop' into feature/gefs-arch
AntonMFernando-NOAA 7cf40fa
modified exglobal_archive.py
AntonMFernando-NOAA 508f60f
Merge branch 'feature/gefs-arch' of https://github.com/AntonMFernando…
AntonMFernando-NOAA e938b58
modified exglobal_archive.py
AntonMFernando-NOAA 1bb9f13
modified exglobal_archive.py
AntonMFernando-NOAA 28f4737
modified exglobal_archive.py
AntonMFernando-NOAA 42d8d04
Merge branch 'NOAA-EMC:develop' into feature/gefs-arch
AntonMFernando-NOAA e2f2c54
modified exglobal_Archive.py
AntonMFernando-NOAA 559bf88
Merge branch 'feature/gefs-arch' of https://github.com/AntonMFernando…
AntonMFernando-NOAA 2be37d9
modified exglobal_archive.py
AntonMFernando-NOAA 033721e
modified exglobal_archive.py
AntonMFernando-NOAA 29a2423
modified exglobal_archive.py
AntonMFernando-NOAA 161db4f
modify JGLOBAL_ARCHIVE
AntonMFernando-NOAA ea2166f
modify gefs_arcdir.yaml.j2
AntonMFernando-NOAA f075b01
updated exglobal_archive.py
AntonMFernando-NOAA c360e7c
Merge branch 'NOAA-EMC:develop' into feature/gefs-arch
AntonMFernando-NOAA 1538f94
modified exglobal_archive.py
AntonMFernando-NOAA 6c44a8f
Merge branch 'feature/gefs-arch' of https://github.com/AntonMFernando…
AntonMFernando-NOAA 196cd1b
modify gefs_arcdir.yaml.j2
AntonMFernando-NOAA b40fdab
modifed JGLOBAL_ARCHIVE
AntonMFernando-NOAA 9119a3c
modified JGLOBAL_ARCHIVE
AntonMFernando-NOAA a71fcbb
removed arch_test.sh
AntonMFernando-NOAA 55db0a2
modified exgdas_enkf_earc.py
AntonMFernando-NOAA 283e57f
modified exdas_enkf_earc.py
AntonMFernando-NOAA c3704a5
modified config.base
AntonMFernando-NOAA a4550a6
modified config.base
AntonMFernando-NOAA 8f26607
modified config.base
AntonMFernando-NOAA 72ae42c
modified config.base and parm/config/gefs/yaml/defaults.yaml
AntonMFernando-NOAA 5b971b8
modified config.base
AntonMFernando-NOAA 6a00c5d
Merge branch 'feature/gefs-arch' of https://github.com/AntonMFernando…
AntonMFernando-NOAA 7fad1f1
deleted gefs.yaml
AntonMFernando-NOAA 48b1eae
modified parm/config/gefs/yaml/defaults.yaml
AntonMFernando-NOAA 1680191
modifed parm/config/gefs/yaml/defaults.yaml
AntonMFernando-NOAA 08e276a
Merge branch 'NOAA-EMC:develop' into feature/gefs-arch
AntonMFernando-NOAA abee604
added a test to archive.py
AntonMFernando-NOAA a1a9bb1
Merge branch 'feature/gefs-arch' of https://github.com/AntonMFernando…
AntonMFernando-NOAA b82e1d5
modified exglobal_Archive.py
AntonMFernando-NOAA 692de26
modified the warning message exgdas_enkf_earc.py
AntonMFernando-NOAA 18bc470
modified gefs_arcdir.yaml.j2
AntonMFernando-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 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,38 @@ | ||
{% set cycle_HH = current_cycle | strftime("%H") %} | ||
{% set cycle_YMDH = current_cycle | to_YMDH %} | ||
{% set cycle_YMD = current_cycle | to_YMD %} | ||
{% set head = RUN + ".t" + cycle_HH + "z." %} | ||
|
||
# Declare the GEFS_ARCH where atmos data will be sent | ||
{% set GEFS_ARCH = ROTDIR ~ "/gefsarch" %} | ||
|
||
{% set file_set = [] %} | ||
|
||
{% set tmpl_dict = ({ '${ROTDIR}':ROTDIR, | ||
'${RUN}':RUN, | ||
'${YMD}':cycle_YMD, | ||
'${HH}':cycle_HH, | ||
'${GRID}': '1p00', | ||
'${MEMDIR}': 'ensstat' }) %} | ||
|
||
{% set COMIN_ATMOS_ENSSTAT_1p00 = COM_ATMOS_GRIB_GRID_TMPL | replace_tmpl(tmpl_dict) %} | ||
|
||
# test files | ||
{% if RUN == "gefs" %} | ||
{% set ensstat_files = [] %} | ||
{% if path_exists(COMIN_ATMOS_ENSSTAT_1p00) %} | ||
{% for fhr in range(FHMIN_GFS, FHMAX_GFS + FHOUT_GFS, FHOUT_GFS) %} | ||
{% do ensstat_files.append([COMIN_ATMOS_ENSSTAT_1p00 ~ "/" ~ head ~ "mean.pres_." ~ | ||
"1p00" ~ ".f" ~ '%03d'|format(fhr) ~ ".grib2", | ||
GEFS_ARCH]) %} | ||
{% endfor %} | ||
{% endif %} | ||
{% endif %} | ||
{% set file_set = ensstat_files %} | ||
# Actually write the yaml | ||
mkdir: | ||
- "{{ GEFS_ARCH }}" | ||
copy: | ||
{% for source_dest_pair in file_set %} | ||
- {{ source_dest_pair }} | ||
{% endfor %} |
File renamed without changes.
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 |
---|---|---|
|
@@ -14,3 +14,5 @@ base: | |
FCST_BREAKPOINTS: "48" | ||
REPLAY_ICS: "NO" | ||
USE_OCN_PERTURB_FILES: "false" | ||
HPSSARCH: "NO" | ||
LOCALARCH: "NO" |
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
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.