Skip to content
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 domain level to wave gridded COM path #3137

Open
wants to merge 222 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 213 commits
Commits
Show all changes
222 commits
Select commit Hold shift + click to select a range
b6a732e
modified config.com
AntonMFernando-NOAA Dec 3, 2024
0a5ca0e
modified jobs\JGLOBAL_ARCHIVE
AntonMFernando-NOAA Dec 3, 2024
cb496d1
modified jobs\JGLOBAL_EXTRACTVARS
AntonMFernando-NOAA Dec 3, 2024
3492b8c
modified jobs\JGLOBAL_WAVE_POST_SBS
AntonMFernando-NOAA Dec 3, 2024
92cba9c
modified jobs\JGLOBAL_WAVE_PRDGEN_GRIDDED
AntonMFernando-NOAA Dec 4, 2024
a0aa55b
updated the relevant yaml files
AntonMFernando-NOAA Dec 4, 2024
fe0f375
Merge branch 'NOAA-EMC:develop' into wavegrid_compath
AntonMFernando-NOAA Dec 4, 2024
52eda4b
modified parm\archive\gefs_extracted_wave.yaml.j2
AntonMFernando-NOAA Dec 4, 2024
2f220ea
Merge branch 'NOAA-EMC:develop' into wavegrid_compath
AntonMFernando-NOAA Dec 5, 2024
c2ce78f
modified jobs\JGLOBAL_ARCHIVE
AntonMFernando-NOAA Dec 5, 2024
403a395
Merge branch 'wavegrid_compath' of https://github.com/AntonMFernando-…
AntonMFernando-NOAA Dec 5, 2024
261c833
modified jobs\JGLOBAL_ARCHIVE
AntonMFernando-NOAA Dec 5, 2024
8b01949
modified jobs\JGLOBAL_ARCHIVE
AntonMFernando-NOAA Dec 5, 2024
257cd4a
modified typos JGLOBAL_ARCHIVE and JGLOBAL_WAVE_POST_SBS
AntonMFernando-NOAA Dec 5, 2024
4674706
modifed jobs\JGLOBAL_ARCHIVE
AntonMFernando-NOAA Dec 5, 2024
bac1bb9
modified jobs\JGLOBAL_ARCHIVE
AntonMFernando-NOAA Dec 5, 2024
477df47
modified jobs\JGLOBAL_EXTRACTVARS
AntonMFernando-NOAA Dec 5, 2024
f1e54ba
modified jobs\JGLOBAL_WAVE_POST_SBS
AntonMFernando-NOAA Dec 5, 2024
a91797e
modified jobs\JGLOBAL_WAVE_POST_SBS
AntonMFernando-NOAA Dec 5, 2024
832141f
modified jobs\JGLOBAL_WAVE_POST_SBS
AntonMFernando-NOAA Dec 5, 2024
cccf13a
modified JGLOBAL
AntonMFernando-NOAA Dec 5, 2024
2ce47a6
modified JGLOBAL jobs
AntonMFernando-NOAA Dec 6, 2024
fd3e0e4
modified jobs\JGLOBAL_ARCHIVE
AntonMFernando-NOAA Dec 6, 2024
75bb84a
modified jobs\JGLOBAL_WAVE_PRDGEN_GRIDDED
AntonMFernando-NOAA Dec 6, 2024
acee85c
modified JGLOBAl scripts
AntonMFernando-NOAA Dec 6, 2024
da77adb
modified JGLOBAl srcipts
AntonMFernando-NOAA Dec 6, 2024
e94833c
Merge branch 'develop' into wavegrid_compath
AntonMFernando-NOAA Dec 9, 2024
0d16694
Merge branch 'develop' into wavegrid_compath
AntonMFernando-NOAA Dec 9, 2024
3f547c6
modified yamls
AntonMFernando-NOAA Dec 10, 2024
8092065
modified jobs\JGLOBAL_WAVE_POST_SBS
AntonMFernando-NOAA Dec 10, 2024
84bb387
modified JGLOBAL files and yaml files
AntonMFernando-NOAA Dec 10, 2024
4ef4cf8
modified jobs\JGLOBAL_EXTRACTVARS
AntonMFernando-NOAA Dec 11, 2024
4a74e55
modified jobs\JGLOBAL_EXTRACTVARS
AntonMFernando-NOAA Dec 11, 2024
72ef7ed
modified WAVE_PRDGEN_GRIDDED scripts
AntonMFernando-NOAA Dec 11, 2024
13cb413
modified JGLOBAL scripts
AntonMFernando-NOAA Dec 11, 2024
4424330
modified yaml files
AntonMFernando-NOAA Dec 11, 2024
7328021
modifed ush\wave_grib2_sbs.sh
AntonMFernando-NOAA Dec 12, 2024
8a15b34
modified sh scripts
AntonMFernando-NOAA Dec 12, 2024
df91f12
modified ush\wave_grib2_sbs.sh
AntonMFernando-NOAA Dec 12, 2024
f9022dc
modified sh scripts
AntonMFernando-NOAA Dec 12, 2024
aa89cea
modified scripts\exgfs_wave_post_gridded_sbs.sh
AntonMFernando-NOAA Dec 12, 2024
7feba53
Merge branch 'develop' into wavegrid_compath
AntonMFernando-NOAA Dec 12, 2024
df06e3d
modified ush\wave_grib2_sbs.sh
AntonMFernando-NOAA Dec 12, 2024
e100663
Merge branch 'NOAA-EMC:develop' into wavegrid_compath
AntonMFernando-NOAA Dec 13, 2024
670150e
modifed scripts\exgfs_wave_post_gridded_sbs.sh
AntonMFernando-NOAA Dec 13, 2024
903651e
modified ush\wave_grib2_sbs.sh
AntonMFernando-NOAA Dec 14, 2024
de46766
modified ush\wave_grib2_sbs.sh
AntonMFernando-NOAA Dec 14, 2024
128b795
modified ush\wave_grib2_sbs.sh
AntonMFernando-NOAA Dec 14, 2024
4ca3eee
modified ush\wave_grib2_sbs.sh
AntonMFernando-NOAA Dec 14, 2024
f71079d
modified ush\wave_grib2_sbs.sh
AntonMFernando-NOAA Dec 14, 2024
8a3ee56
modified scripts\exgfs_wave_post_gridded_sbs.sh
AntonMFernando-NOAA Dec 14, 2024
c76bca8
modified ush\wave_grib2_sbs.sh
AntonMFernando-NOAA Dec 14, 2024
deedc41
modified scripts\exgfs_wave_post_gridded_sbs.sh
AntonMFernando-NOAA Dec 14, 2024
ca1ec7e
modifed scripts\exgfs_wave_post_gridded_sbs.sh
AntonMFernando-NOAA Dec 14, 2024
909bbde
modified sh scripts
AntonMFernando-NOAA Dec 14, 2024
7345a00
modified ush\wave_grib2_sbs.sh
AntonMFernando-NOAA Dec 14, 2024
0e883e2
modified ush\wave_grib2_sbs.sh
AntonMFernando-NOAA Dec 14, 2024
1bb734d
Merge branch 'develop' into wavegrid_compath
AntonMFernando-NOAA Dec 14, 2024
84d07d5
modified ush\wave_grib2_sbs.sh
AntonMFernando-NOAA Dec 14, 2024
73c9798
modified ush\wave_grib2_sbs.sh
AntonMFernando-NOAA Dec 14, 2024
38b102c
modified sh scripts
AntonMFernando-NOAA Dec 14, 2024
9cc88ee
modified ush\wave_grib2_sbs.sh
AntonMFernando-NOAA Dec 14, 2024
cffdf5f
modified sh scripts
AntonMFernando-NOAA Dec 14, 2024
dc8426d
modified scripts\exgfs_wave_post_gridded_sbs.sh
AntonMFernando-NOAA Dec 14, 2024
a2d0db2
modified scripts\exgfs_wave_post_gridded_sbs.sh
AntonMFernando-NOAA Dec 14, 2024
ada6bf5
modified scripts\exgfs_wave_post_gridded_sbs.sh
AntonMFernando-NOAA Dec 14, 2024
93e11db
modified scripts\exgfs_wave_post_gridded_sbs.sh
AntonMFernando-NOAA Dec 14, 2024
5af3e06
modified scripts\exgfs_wave_post_gridded_sbs.sh
AntonMFernando-NOAA Dec 14, 2024
1197a98
modified scripts\exgfs_wave_post_gridded_sbs.sh
AntonMFernando-NOAA Dec 14, 2024
d314b3d
modified wave scripts
AntonMFernando-NOAA Dec 14, 2024
f58a972
modified jobs\JGLOBAL_WAVE_POST_SBS
AntonMFernando-NOAA Dec 14, 2024
ac2cf81
modified scripts\exgfs_wave_post_gridded_sbs.sh
AntonMFernando-NOAA Dec 14, 2024
805fe00
Merge branch 'NOAA-EMC:develop' into wavegrid_compath
AntonMFernando-NOAA Dec 16, 2024
2a5a464
remove path from config.com and yamls
AntonMFernando-NOAA Dec 16, 2024
9627ffb
modified yamls files
AntonMFernando-NOAA Dec 16, 2024
9abd685
modified parm\archive\gefs_extracted_wave.yaml.j2
AntonMFernando-NOAA Dec 16, 2024
33fc0d5
modify jobs\JGLOBAL_WAVE_PRDGEN_GRIDDED
AntonMFernando-NOAA Dec 16, 2024
922c959
modified jobs\JGLOBAL_WAVE_PRDGEN_GRIDDED
AntonMFernando-NOAA Dec 16, 2024
df7ae3f
modified jobs\JGLOBAL_ARCHIVE
AntonMFernando-NOAA Dec 16, 2024
f9ee0a5
modified scripts\exgfs_wave_prdgen_gridded.sh
AntonMFernando-NOAA Dec 16, 2024
05492e8
modified jobs\JGLOBAL_EXTRACTVARS
AntonMFernando-NOAA Dec 16, 2024
49deb1a
modified scripts\exgfs_wave_prdgen_gridded.sh
AntonMFernando-NOAA Dec 16, 2024
2446f7d
modified ush\wave_extractvars.sh
AntonMFernando-NOAA Dec 16, 2024
b477638
Merge branch 'NOAA-EMC:develop' into wavegrid_compath
AntonMFernando-NOAA Dec 16, 2024
852371f
modified yaml files
AntonMFernando-NOAA Dec 17, 2024
054d8c9
Merge branch 'wavegrid_compath' of https://github.com/AntonMFernando-…
AntonMFernando-NOAA Dec 17, 2024
e0892ca
modified scripts\exgfs_wave_post_gridded_sbs.sh
AntonMFernando-NOAA Dec 17, 2024
e491b50
modified parm\archive\gefs_extracted_wave.yaml.j2
AntonMFernando-NOAA Dec 17, 2024
b3ffd3c
modified parm\archive\gefs_extracted_wave.yaml.j2
AntonMFernando-NOAA Dec 17, 2024
4abd558
modified parm\archive\gefs_extracted_wave.yaml.j2
AntonMFernando-NOAA Dec 18, 2024
fce5b42
modified gfswave.yaml.j2
AntonMFernando-NOAA Dec 18, 2024
e174626
modified parm\archive\gefs_extracted_wave.yaml.j2
AntonMFernando-NOAA Dec 18, 2024
c24fb1f
modified scripts\exglobal_extractvars.sh
AntonMFernando-NOAA Dec 18, 2024
34f8d72
Merge branch 'develop' into wavegrid_compath
AntonMFernando-NOAA Dec 18, 2024
6ba4f73
adding a function to the scripts
AntonMFernando-NOAA Dec 19, 2024
b824970
modified function related stuff
AntonMFernando-NOAA Dec 19, 2024
5246106
modified ush\wave_domain_grid.sh
AntonMFernando-NOAA Dec 19, 2024
7354fff
modified ush\wave_domain_grid.sh
AntonMFernando-NOAA Dec 19, 2024
2da9187
modified the function
AntonMFernando-NOAA Dec 19, 2024
853d0fa
modified scripts\exgfs_wave_post_gridded_sbs.sh
AntonMFernando-NOAA Dec 19, 2024
7f76c14
modified scripts\exgfs_wave_post_gridded_sbs.sh
AntonMFernando-NOAA Dec 19, 2024
faf873b
modified the function
AntonMFernando-NOAA Dec 19, 2024
56cde14
modifief gridded sh
AntonMFernando-NOAA Dec 20, 2024
5319296
modified ush\wave_domain_grid.sh
AntonMFernando-NOAA Dec 20, 2024
494ac19
modified wave_extractvars and archive scripts
AntonMFernando-NOAA Dec 20, 2024
586793a
modified ush\wave_domain_grid.sh
AntonMFernando-NOAA Dec 20, 2024
d456d62
modified jobs\JGLOBAL_ARCHIVE
AntonMFernando-NOAA Dec 20, 2024
aaef28f
updated jobs\JGLOBAL_ARCHIVE
AntonMFernando-NOAA Dec 20, 2024
7f22b5e
modifed jobs\JGLOBAL_ARCHIVE
AntonMFernando-NOAA Dec 20, 2024
4fa01f4
modified jobs\JGLOBAL_ARCHIVE
AntonMFernando-NOAA Dec 20, 2024
d7d5ba8
Merge branch 'develop' into wavegrid_compath
AntonMFernando-NOAA Dec 20, 2024
51c4527
correcting shell check warnings
AntonMFernando-NOAA Dec 20, 2024
0feab4f
Merge branch 'wavegrid_compath' of https://github.com/AntonMFernando-…
AntonMFernando-NOAA Dec 20, 2024
54588fe
correcting shellcheck warnings
AntonMFernando-NOAA Dec 20, 2024
50ff441
modified jobs\JGLOBAL_ARCHIVE
AntonMFernando-NOAA Dec 20, 2024
3df7660
corrected typos
AntonMFernando-NOAA Dec 20, 2024
5d20aba
modified ush\wave_domain_grid.sh
AntonMFernando-NOAA Dec 20, 2024
f7a7dda
modified ush\wave_domain_grid.sh
AntonMFernando-NOAA Dec 20, 2024
5f735db
Merge branch 'NOAA-EMC:develop' into wavegrid_compath1
AntonMFernando-NOAA Dec 23, 2024
0cbcec6
Merge branch 'develop' into wavegrid_compath
AntonMFernando-NOAA Dec 24, 2024
103b6ec
Merge branch 'develop' into wavegrid_compath
aerorahul Dec 26, 2024
cd397d7
Merge branch 'develop' into wavegrid_compath
AntonMFernando-NOAA Jan 2, 2025
8e90e65
Merge branch 'develop' into wavegrid_compath
AntonMFernando-NOAA Jan 3, 2025
5f79293
Merge branch 'develop' into wavegrid_compath
AntonMFernando-NOAA Jan 4, 2025
4883e7e
Merge branch 'develop' into wavegrid_compath
AntonMFernando-NOAA Jan 6, 2025
94a934a
Merge branch 'develop' into wavegrid_compath
AntonMFernando-NOAA Jan 7, 2025
c29c0e4
Merge branch 'develop' into wavegrid_compath
AntonMFernando-NOAA Jan 7, 2025
356687f
Merge branch 'develop' into wavegrid_compath
AntonMFernando-NOAA Jan 8, 2025
5ac56b6
Merge branch 'develop' into wavegrid_compath
AntonMFernando-NOAA Jan 8, 2025
52a4233
updated scripts yaml and confid files
AntonMFernando-NOAA Jan 8, 2025
0fa53c7
Merge branch 'wavegrid_compath' of https://github.com/AntonMFernando-…
AntonMFernando-NOAA Jan 8, 2025
fd6018a
Merge branch 'wavegrid_compath' into wavegrid_compath1
AntonMFernando-NOAA Jan 8, 2025
f4e528e
updated jobs\JGLOBAL_ARCHIVE
AntonMFernando-NOAA Jan 8, 2025
eb16108
modified scripts\exgfs_wave_post_gridded_sbs.sh
AntonMFernando-NOAA Jan 9, 2025
dfd20a0
modified scripts\exgfs_wave_post_gridded_sbs.sh
AntonMFernando-NOAA Jan 9, 2025
1ee7029
updated scripts\exgfs_wave_post_gridded_sbs.sh
AntonMFernando-NOAA Jan 9, 2025
cb8fceb
modified jobs\JGLOBAL_WAVE_POST_SBS
AntonMFernando-NOAA Jan 9, 2025
a601423
update COMOUT_WAVE_GRID_RES
AntonMFernando-NOAA Jan 9, 2025
e3373d2
added COMOUT var
AntonMFernando-NOAA Jan 9, 2025
0c18779
modified ush\wave_grib2_sbs.sh
AntonMFernando-NOAA Jan 9, 2025
046ef81
update scripts\exgfs_wave_post_gridded_sbs.sh
AntonMFernando-NOAA Jan 9, 2025
d006973
updated ush\wave_extractvars.sh
AntonMFernando-NOAA Jan 9, 2025
6706340
added com path
AntonMFernando-NOAA Jan 9, 2025
59e32f9
modified scripts\exgfs_wave_prdgen_gridded.sh
AntonMFernando-NOAA Jan 9, 2025
2d25467
modified scripts\exgfs_wave_post_gridded_sbs.sh
AntonMFernando-NOAA Jan 9, 2025
bd345cb
modified scripts\exgfs_wave_post_gridded_sbs.sh
AntonMFernando-NOAA Jan 9, 2025
b8a03ad
modified scripts\exgfs_wave_post_gridded_sbs.sh
AntonMFernando-NOAA Jan 9, 2025
0603122
added COMOUT
AntonMFernando-NOAA Jan 9, 2025
521ff51
modified com var
AntonMFernando-NOAA Jan 9, 2025
d17860d
modified scripts\exgfs_wave_post_gridded_sbs.sh
AntonMFernando-NOAA Jan 9, 2025
82eb263
modified scripts\exgfs_wave_post_gridded_sbs.sh
AntonMFernando-NOAA Jan 9, 2025
e0bc9e4
modified scripts\exgfs_wave_post_gridded_sbs.sh
AntonMFernando-NOAA Jan 9, 2025
a75fd1b
update ush\wave_grib2_sbs.sh
AntonMFernando-NOAA Jan 9, 2025
dea66de
modified scripts\exgfs_wave_post_gridded_sbs.sh
AntonMFernando-NOAA Jan 9, 2025
1150299
modified scripts\exgfs_wave_post_gridded_sbs.sh
AntonMFernando-NOAA Jan 9, 2025
100bf66
modified scripts\exgfs_wave_post_gridded_sbs.sh
AntonMFernando-NOAA Jan 9, 2025
0419e47
modified jobs\JGLOBAL_ARCHIVE
AntonMFernando-NOAA Jan 9, 2025
169566f
modified jobs\JGLOBAL_ARCHIVE
AntonMFernando-NOAA Jan 9, 2025
bf99744
modified parm\archive\gefs_extracted_wave.yaml.j2
AntonMFernando-NOAA Jan 9, 2025
8ae0e53
modified arch files
AntonMFernando-NOAA Jan 9, 2025
0c88458
modified ush\wave_extractvars.sh
AntonMFernando-NOAA Jan 9, 2025
d36f837
modified jobs\JGLOBAL_ARCHIVE
AntonMFernando-NOAA Jan 9, 2025
ef0fbb7
modified ush\wave_grib2_sbs.sh
AntonMFernando-NOAA Jan 9, 2025
2e42747
modified ush\wave_grib2_sbs.sh
AntonMFernando-NOAA Jan 9, 2025
381f4d2
modifed yamls files
AntonMFernando-NOAA Jan 9, 2025
5f70bdf
modified scripts\exgfs_wave_prdgen_gridded.sh
AntonMFernando-NOAA Jan 9, 2025
439d5cc
modified scripts\exgfs_wave_prdgen_gridded.sh
AntonMFernando-NOAA Jan 9, 2025
18907e4
modified jobs\JGLOBAL_WAVE_POST_SBS
AntonMFernando-NOAA Jan 9, 2025
7f98237
modified scripts\exgfs_wave_prdgen_gridded.sh
AntonMFernando-NOAA Jan 9, 2025
c51d912
modified scripts\exgfs_wave_prdgen_gridded.sh
AntonMFernando-NOAA Jan 9, 2025
8ea2253
Merge branch 'develop' into wavegrid_compath
AntonMFernando-NOAA Jan 10, 2025
e5ab3e0
edited com_dir
AntonMFernando-NOAA Jan 10, 2025
c68d4c4
Merge branch 'wavegrid_compath' of https://github.com/AntonMFernando-…
AntonMFernando-NOAA Jan 10, 2025
ae45df6
update jobs\JGLOBAL_WAVE_POST_SBS
AntonMFernando-NOAA Jan 10, 2025
8528a8f
modified jobs\JGLOBAL_ARCHIVE
AntonMFernando-NOAA Jan 10, 2025
26a9c16
modified jobs\JGLOBAL_WAVE_POST_SBS
AntonMFernando-NOAA Jan 11, 2025
098ffe7
modified parm\archive\gfswave.yaml.j2
AntonMFernando-NOAA Jan 12, 2025
c31c5cb
changed com var in exscript and JJob
AntonMFernando-NOAA Jan 12, 2025
c79ee4c
modified parm\archive\gefs_extracted_wave.yaml.j2
AntonMFernando-NOAA Jan 12, 2025
0e03672
modified wave_prdgen_gridded vars
AntonMFernando-NOAA Jan 12, 2025
b4f277d
modified parm\archive\gefs_extracted_wave.yaml.j2
AntonMFernando-NOAA Jan 12, 2025
a180913
fixed a typo in jobs\JGLOBAL_WAVE_PRDGEN_GRIDDED
AntonMFernando-NOAA Jan 12, 2025
59abb66
modified scripts\exgfs_wave_prdgen_gridded.sh
AntonMFernando-NOAA Jan 12, 2025
4818b54
modified ush\wave_domain_grid.sh
AntonMFernando-NOAA Jan 12, 2025
30fe421
modified ush\wave_domain_grid.sh
AntonMFernando-NOAA Jan 12, 2025
7cb47fa
modified ush\wave_domain_grid.sh
AntonMFernando-NOAA Jan 12, 2025
90c38db
DH review suggestions update
AntonMFernando-NOAA Jan 13, 2025
a8d5638
modified jobs\JGLOBAL_ARCHIVE
AntonMFernando-NOAA Jan 13, 2025
fa45535
modifed wave output grid var
AntonMFernando-NOAA Jan 13, 2025
3078a4e
modified jobs\JGLOBAL_ARCHIVE
AntonMFernando-NOAA Jan 13, 2025
60c5802
modified OUT_GRID
AntonMFernando-NOAA Jan 13, 2025
580a81b
modifed jobs\JGLOBAL_ARCHIVE
AntonMFernando-NOAA Jan 13, 2025
550e544
Merge branch 'develop' into wavegrid_compath
AntonMFernando-NOAA Jan 14, 2025
192e068
Merge branch 'develop' into wavegrid_compath
AntonMFernando-NOAA Jan 14, 2025
026adc7
modified scripts\exgfs_wave_prdgen_gridded.sh
AntonMFernando-NOAA Jan 14, 2025
388588f
modified parm\config\gfs\config.waveawipsgridded
AntonMFernando-NOAA Jan 14, 2025
74d6ff5
modified scripts\exgfs_wave_prdgen_gridded.sh
AntonMFernando-NOAA Jan 14, 2025
5e04331
modified scripts\exgfs_wave_prdgen_gridded.sh
AntonMFernando-NOAA Jan 14, 2025
821f269
modified scripts\exgfs_wave_prdgen_gridded.sh
AntonMFernando-NOAA Jan 14, 2025
d54c0cb
modied scripts\exgfs_wave_prdgen_gridded.sh
AntonMFernando-NOAA Jan 14, 2025
5701240
modified scripts\exgfs_wave_prdgen_gridded.sh
AntonMFernando-NOAA Jan 14, 2025
57bba27
modified scripts\exgfs_wave_prdgen_gridded.sh
AntonMFernando-NOAA Jan 14, 2025
e0f3971
modified jobs\JGLOBAL_WAVE_PRDGEN_GRIDDED
AntonMFernando-NOAA Jan 14, 2025
6bf8975
modified jobs\JGLOBAL_WAVE_PRDGEN_GRIDDED
AntonMFernando-NOAA Jan 14, 2025
a0266ce
modified jobs\JGLOBAL_ARCHIVE
AntonMFernando-NOAA Jan 14, 2025
e771e55
modified jobs\JGLOBAL_ARCHIVE
AntonMFernando-NOAA Jan 14, 2025
281c836
modified scripts\exglobal_archive.py
AntonMFernando-NOAA Jan 14, 2025
3cfa069
modified scripts\exglobal_archive.py
AntonMFernando-NOAA Jan 14, 2025
44a22a3
Merge branch 'develop' into wavegrid_compath
AntonMFernando-NOAA Jan 15, 2025
33803c0
Merge branch 'NOAA-EMC:develop' into wavegrid_compath
AntonMFernando-NOAA Jan 15, 2025
3d9bfdc
changed GRDNAME to GRDREGION
AntonMFernando-NOAA Jan 15, 2025
f064461
Merge branch 'wavegrid_compath' of https://github.com/AntonMFernando-…
AntonMFernando-NOAA Jan 15, 2025
2f06df0
Merge branch 'NOAA-EMC:develop' into wavegrid_compath
AntonMFernando-NOAA Jan 16, 2025
2b511c2
modified parm\config\gfs\config.waveawipsgridded
AntonMFernando-NOAA Jan 16, 2025
e37bc87
Merge branch 'wavegrid_compath' of https://github.com/AntonMFernando-…
AntonMFernando-NOAA Jan 16, 2025
083c26b
moved source wave_domain_grid.sh
AntonMFernando-NOAA Jan 16, 2025
8615cdf
typo fixed scripts\exgfs_wave_post_gridded_sbs.sh
AntonMFernando-NOAA Jan 16, 2025
8e34b37
Merge branch 'develop' into wavegrid_compath
AntonMFernando-NOAA Jan 16, 2025
1adfe47
modified extractvars files
AntonMFernando-NOAA Jan 16, 2025
d406b17
Merge branch 'develop' into wavegrid_compath
AntonMFernando-NOAA Jan 16, 2025
370840f
modified GEMPAK files
AntonMFernando-NOAA Jan 16, 2025
508dfb4
Merge branch 'wavegrid_compath' of https://github.com/AntonMFernando-…
AntonMFernando-NOAA Jan 16, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 19 additions & 4 deletions jobs/JGLOBAL_ARCHIVE
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
#! /usr/bin/env bash

source "${HOMEgfs}/ush/preamble.sh"
source "${HOMEgfs}/ush/jjob_header.sh" -e "arch" -c "base arch"


source "${HOMEgfs}/ush/jjob_header.sh" -e "arch" -c "base arch wave"
DavidHuber-NOAA marked this conversation as resolved.
Show resolved Hide resolved
AntonMFernando-NOAA marked this conversation as resolved.
Show resolved Hide resolved
##############################################
# Set variables used in the script
##############################################
Expand Down Expand Up @@ -50,6 +48,24 @@ for grid in "0p25" "0p50" "1p00"; do
"COMIN_ATMOS_GRIB_${grid}:COM_ATMOS_GRIB_GRID_TMPL"
done

###############################################################
# Create an array of output wave grids to process
if [[ "${DO_WAVE}" == "YES" ]]; then
# Create a variable for output wave grids to process
if [[ -n "${wavepostGRD}" || -n "${waveinterpGRD}" ]]; then
for grdID in ${wavepostGRD} ${waveinterpGRD}; do
source "${USHgfs}/wave_domain_grid.sh"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
for grdID in ${wavepostGRD} ${waveinterpGRD}; do
source "${USHgfs}/wave_domain_grid.sh"
for grdID in ${wavepostGRD} ${waveinterpGRD}; do

process_grdID "${grdID}"
YMD=${PDY} HH=${cyc} GRDRESNAME=${grdNAME} declare_from_tmpl -rx \
"COMIN_WAVE_GRID_${GRDREGION}_${GRDRES}:COM_WAVE_GRID_RES_TMPL"
grids_arr+=("${GRDREGION}.${GRDRES}")
done
export WAVE_OUT_GRIDS="${grids_arr[*]}"
else
echo "Both wavepostGRD and waveinterpGRD are empty. No grids to process."
export WAVE_OUT_GRIDS=""
fi
fi
###############################################################
# Run archive script
###############################################################
Expand All @@ -69,7 +85,6 @@ if [[ -e "${pgmout}" ]] ; then
cat "${pgmout}"
fi


##########################################
# Remove the Temporary working directory
##########################################
Expand Down
14 changes: 13 additions & 1 deletion jobs/JGLOBAL_WAVE_POST_SBS
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,19 @@ for out_dir in "${COMOUT_WAVE_PREP}" "${COMOUT_WAVE_GRID}"; do
if [[ ! -d "${out_dir}" ]]; then mkdir -p "${out_dir}"; fi
done


if [[ -n "${wavepostGRD}" || -n "${waveinterpGRD}" ]]; then
for grdID in ${wavepostGRD} ${waveinterpGRD}; do
source "${USHgfs}/wave_domain_grid.sh"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add the source "${USHgfs}/wave_domain_grid.sh" right after the jjob header.

Suggested change
for grdID in ${wavepostGRD} ${waveinterpGRD}; do
source "${USHgfs}/wave_domain_grid.sh"
for grdID in ${wavepostGRD} ${waveinterpGRD}; do

process_grdID "${grdID}"
YMD=${PDY} HH=${cyc} GRDRESNAME=${grdNAME} declare_from_tmpl -rx \
"COMOUT_WAVE_GRID_${GRDREGION}_${GRDRES}:COM_WAVE_GRID_RES_TMPL"
out_dir_varname="COMOUT_WAVE_GRID_${GRDREGION}_${GRDRES}"
out_dir=${!out_dir_varname}
if [[ ! -d "${out_dir}" ]]; then mkdir -p "${out_dir}"; fi
done
else
echo "Both wavepostGRD and waveinterpGRD are empty. No grids to process."
fi
# Set wave model ID tag to include member number
# if ensemble; waveMEMB var empty in deterministic
# Set wave model ID tag to include member number
Expand Down
12 changes: 10 additions & 2 deletions jobs/JGLOBAL_WAVE_PRDGEN_GRIDDED
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ YMD=${PDY} HH=${cyc} declare_from_tmpl -rx \

if [[ ! -d ${COMOUT_WAVE_WMO} ]]; then mkdir -p "${COMOUT_WAVE_WMO}"; fi

if [[ -n "${GEMPAK_GRIDS}" ]]; then
for grdID in ${GEMPAK_GRIDS}; do
source "${USHgfs}/wave_domain_grid.sh"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above.

Suggested change
for grdID in ${GEMPAK_GRIDS}; do
source "${USHgfs}/wave_domain_grid.sh"
for grdID in ${GEMPAK_GRIDS}; do

process_grdID "${grdID}"
YMD=${PDY} HH=${cyc} GRDRESNAME=${grdNAME} declare_from_tmpl -rx \
"COMIN_WAVE_GRID_${GRDREGION}_${GRDRES}:COM_WAVE_GRID_RES_TMPL"
done
else
echo "GEMPAK_GRIDS are empty. No grids to process."
fi

###################################
# Execute the Script
Expand All @@ -35,6 +45,4 @@ if [ "${KEEPDATA}" != "YES" ]; then
rm -rf ${DATA}
fi


exit 0

27 changes: 14 additions & 13 deletions parm/archive/gefs_extracted_wave.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ gefs_wave:
{% set ofst_hr = FHMIN_GFS %}
{% endif %}

{% set res = (waveGRD[-3:])[0] ~ "p" ~ (waveGRD[-3:])[-2:] %}

#select mem%03d and ensstat files required
{% set members = [] %}
{% for mem_nm in range(0, NMEM_ENS + 1) %}
Expand All @@ -27,17 +25,6 @@ gefs_wave:
'${YMD}':cycle_YMD,
'${HH}':cycle_HH,
'${MEMDIR}':mem }) %}

{% set COMIN_WAVE_GRID = COM_WAVE_GRID_TMPL | replace_tmpl(tmpl_dict) %}
# Select grib2 files to copy to the atardir
{% if path_exists(COMIN_WAVE_GRID) %}
{% for fhr in range(ofst_hr, FHMAX_GFS + FHOUT_WAV, FHOUT_WAV) %}
{% set file_name = head ~ "global." ~ res ~ ".f" ~ '%03d'|format(fhr) ~ ".grib2" %}
{% set file_path = COMIN_WAVE_GRID ~ "/" ~ file_name %}
- "{{ file_path | relpath(ROTDIR)}}"
{% endfor %}
{% endif %}

{% set COMIN_WAVE_STATION = COM_WAVE_STATION_TMPL | replace_tmpl(tmpl_dict) %}
# Select station files to copy to the atardir
{% if path_exists(COMIN_WAVE_STATION) %}
Expand All @@ -48,4 +35,18 @@ gefs_wave:
{% set file_path = COMIN_WAVE_STATION ~ "/" ~ RUN ~ "wave.t" ~ cycle_HH ~ "z.bull_tar" %}
- "{{ file_path | relpath(ROTDIR)}}"
{% endif %}

# Select grib2 files to copy to the atardir
{% set WAVE_OUT_GRIDS_list = WAVE_OUT_GRIDS.split(' ') %}
{% for grd in WAVE_OUT_GRIDS_list %}
{% set tmpl_dict = tmpl_dict.update({'${GRDRESNAME}': grd}) %}
{% set file_path = COM_WAVE_GRID_RES_TMPL | replace_tmpl(tmpl_dict) %}
{% if path_exists(file_path) %}
{% for fhr in range(ofst_hr, FHMAX_GFS + FHOUT_WAV, FHOUT_WAV) %}
{% set file_name = head ~ grd ~ ".f" ~ '%03d'|format(fhr) ~ ".grib2" %}
{% set file_path = file_path ~ "/" ~ file_name %}
- "{{ file_path | relpath(ROTDIR)}}"
{% endfor %}
{% endif %}
{% endfor %}
{% endfor %}
20 changes: 16 additions & 4 deletions parm/archive/gfswave.yaml.j2
Original file line number Diff line number Diff line change
@@ -1,20 +1,31 @@
gfswave:
{% set head = "gfswave.t" + cycle_HH + "z." %}

name: "GFSWAVE"
target: "{{ ATARDIR }}/{{ cycle_YMDH }}/gfswave.tar"
required:
# Wave GRIB2 regional forecast products
{% set WAVE_OUT_GRIDS_list = WAVE_OUT_GRIDS.split(' ') %}
{% for grd in WAVE_OUT_GRIDS_list %}
{% set tmpl_dict = ({ '${ROTDIR}':ROTDIR,
'${RUN}':RUN,
'${YMD}':cycle_YMD,
'${HH}':cycle_HH,
'${MEMDIR}':'',
'${GRDRESNAME}':grd}) %}
{% set file_path = COM_WAVE_GRID_RES_TMPL | replace_tmpl(tmpl_dict) %}

{% for fh in range(0, FHMAX_HF_WAV + FHOUT_HF_WAV, FHOUT_HF_WAV) %}
# NOTE This is as explicit as possible without major logic to parse wavepostGRD.
# Matches files of the form "gfswave.tCCz.<region>.<res>.fHHH.grib2".
- "{{ COMIN_WAVE_GRID | relpath(ROTDIR) }}/{{ head }}*.*.f{{ '%03d' % fh }}.grib2"
- "{{ COMIN_WAVE_GRID | relpath(ROTDIR) }}/{{ head }}*.*.f{{ '%03d' % fh }}.grib2.idx"
- "{{ file_path | relpath(ROTDIR) }}/{{ head }}*.*.f{{ '%03d' % fh }}.grib2"
- "{{ file_path | relpath(ROTDIR) }}/{{ head }}*.*.f{{ '%03d' % fh }}.grib2.idx"
{% endfor %}

# Global wave GRIB2 forecast products
{% for fh in range(FHMAX_HF_WAV + FHOUT_WAV, FHMAX_WAV_GFS + FHOUT_WAV, FHOUT_WAV) %}
- "{{ COMIN_WAVE_GRID | relpath(ROTDIR) }}/{{ head }}*.*.f{{ '%03d' % fh }}.grib2"
- "{{ COMIN_WAVE_GRID | relpath(ROTDIR) }}/{{ head }}*.*.f{{ '%03d' % fh }}.grib2.idx"
- "{{ file_path | relpath(ROTDIR) }}/{{ head }}*.*.f{{ '%03d' % fh }}.grib2"
- "{{ file_path | relpath(ROTDIR) }}/{{ head }}*.*.f{{ '%03d' % fh }}.grib2.idx"
{% endfor %}

# Wave bulletins
Expand All @@ -28,3 +39,4 @@ gfswave:
- "{{ COMIN_WAVE_STATION | relpath(ROTDIR) }}/{{ head }}ibpcbull_tar"
- "{{ COMIN_WAVE_STATION | relpath(ROTDIR) }}/{{ head }}ibp_tar"
{% endif %}
{% endfor %}
1 change: 1 addition & 0 deletions parm/config/gfs/config.com
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ declare -rx COM_WAVE_RESTART_TMPL=${COM_BASE}'/model/wave/restart'
declare -rx COM_WAVE_PREP_TMPL=${COM_BASE}'/model/wave/prep'
declare -rx COM_WAVE_HISTORY_TMPL=${COM_BASE}'/model/wave/history'
declare -rx COM_WAVE_GRID_TMPL=${COM_BASE}'/products/wave/gridded'
declare -rx COM_WAVE_GRID_RES_TMPL=${COM_BASE}'/products/wave/gridded/${GRDRESNAME}'
declare -rx COM_WAVE_STATION_TMPL=${COM_BASE}'/products/wave/station'
declare -rx COM_WAVE_GEMPAK_TMPL=${COM_BASE}'/products/wave/gempak'
declare -rx COM_WAVE_WMO_TMPL=${COM_BASE}'/products/wave/wmo'
Expand Down
3 changes: 3 additions & 0 deletions parm/config/gfs/config.waveawipsgridded
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ echo "BEGIN: config.waveawipsgridded"
# Get task specific resources
. $EXPDIR/config.resources waveawipsgridded

export DBNROOT=/dev/null
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DBNROOT is set by config.base and definitely should not be changed.

Suggested change
export DBNROOT=/dev/null

export GEMPAK_GRIDS=${GEMPAK_GRIDS:-ak_10m at_10m ep_10m wc_10m glo_30m}
# export GEMPAK_GRIDS=${GEMPAK_GRIDS:-ao_9km at_10m ep_10m wc_10m glo_30m}
WalterKolczynski-NOAA marked this conversation as resolved.
Show resolved Hide resolved
# AWIPS output frequency
export FHMAX_HF_WAV_WMO=72
export FHMAX_WAV_WMO=180
Expand Down
111 changes: 38 additions & 73 deletions scripts/exgfs_wave_post_gridded_sbs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ source "${USHgfs}/preamble.sh"
echo ' Making command file for sbs grib2 and GRID Interpolation '
set_trace
fhr=$(( 10#${FHR3} ))
fhrg=$fhr
ymdh=$($NDATE $fhr ${PDY}${cyc})
YMD=$(echo $ymdh | cut -c1-8)
HMS="$(echo $ymdh | cut -c9-10)0000"
Expand All @@ -238,75 +237,43 @@ source "${USHgfs}/preamble.sh"
export GRDIDATA=${DATA}/output_$YMDHMS

# Gridded data (main part, need to be run side-by-side with forecast

if [ $fhr = $fhrg ]
then
gfile="${COMIN_WAVE_HISTORY}/${WAV_MOD_TAG}.out_grd.${waveGRD}.${YMD}.${HMS}"
if [[ ! -s "${gfile}" ]]; then
echo " FATAL ERROR : NO RAW FIELD OUTPUT FILE ${gfile}"
err=3; export err; "${errchk}"
exit "${err}"
fi
${NLN} "${gfile}" "./out_grd.${waveGRD}"

if [ "$DOGRI_WAV" = 'YES' ]
then
nigrd=1
for grdID in $waveinterpGRD
do
ymdh_int=$($NDATE -${WAVHINDH} $ymdh); dt_int=3600.; n_int=9999 ;
echo "${USHgfs}/wave_grid_interp_sbs.sh $grdID $ymdh_int $dt_int $n_int > grint_$grdID.out 2>&1" >> ${fcmdigrd}.${nigrd}
if [ "$DOGRB_WAV" = 'YES' ]
then
gribFL=\'$(echo ${OUTPARS_WAV})\'
case $grdID in
glo_15mxt) GRDNAME='global' ; GRDRES=0p25 ; GRIDNR=255 ; MODNR=11 ;;
reg025) GRDNAME='global' ; GRDRES=0p25 ; GRIDNR=255 ; MODNR=11 ;;
glo_025) GRDNAME='global' ; GRDRES=0p25 ; GRIDNR=255 ; MODNR=11 ;;
glo_100) GRDNAME='global' ; GRDRES=1p00 ; GRIDNR=255 ; MODNR=11 ;;
glo_200) GRDNAME='global' ; GRDRES=2p00 ; GRIDNR=255 ; MODNR=11 ;;
glo_500) GRDNAME='global' ; GRDRES=5p00 ; GRIDNR=255 ; MODNR=11 ;;
glo_30mxt) GRDNAME='global' ; GRDRES=0p50 ; GRIDNR=255 ; MODNR=11 ;;
glo_30m) GRDNAME='global' ; GRDRES=0p50 ; GRIDNR=255 ; MODNR=11 ;;
at_10m) GRDNAME='atlocn' ; GRDRES=0p16 ; GRIDNR=255 ; MODNR=11 ;;
ep_10m) GRDNAME='epacif' ; GRDRES=0p16 ; GRIDNR=255 ; MODNR=11 ;;
wc_10m) GRDNAME='wcoast' ; GRDRES=0p16 ; GRIDNR=255 ; MODNR=11 ;;
ak_10m) GRDNAME='alaska' ; GRDRES=0p16 ; GRIDNR=255 ; MODNR=11 ;;
esac
echo "${USHgfs}/wave_grib2_sbs.sh $grdID $GRIDNR $MODNR $ymdh $fhr $GRDNAME $GRDRES $gribFL > grib_$grdID.out 2>&1" >> ${fcmdigrd}.${nigrd}
fi
echo "${GRIBDATA}/${fcmdigrd}.${nigrd}" >> ${fcmdnow}
chmod 744 ${fcmdigrd}.${nigrd}
nigrd=$((nigrd+1))
done
gfile="${COMIN_WAVE_HISTORY}/${WAV_MOD_TAG}.out_grd.${waveGRD}.${YMD}.${HMS}"
if [[ ! -s "${gfile}" ]]; then
echo " FATAL ERROR : NO RAW FIELD OUTPUT FILE ${gfile}"
err=3; export err; "${errchk}"
exit "${err}"
fi
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
gfile="${COMIN_WAVE_HISTORY}/${WAV_MOD_TAG}.out_grd.${waveGRD}.${YMD}.${HMS}"
if [[ ! -s "${gfile}" ]]; then
echo " FATAL ERROR : NO RAW FIELD OUTPUT FILE ${gfile}"
err=3; export err; "${errchk}"
exit "${err}"
fi
gfile="${COMIN_WAVE_HISTORY}/${WAV_MOD_TAG}.out_grd.${waveGRD}.${YMD}.${HMS}"
if [[ ! -s "${gfile}" ]]; then
echo " FATAL ERROR : NO RAW FIELD OUTPUT FILE ${gfile}"
err=3; export err; "${errchk}"
exit "${err}"
fi

${NLN} "${gfile}" "./out_grd.${waveGRD}"

if [ "$DOGRB_WAV" = 'YES' ]
then
for grdID in ${wavepostGRD} # First concatenate grib files for sbs grids
do
if [ "$DOGRI_WAV" = 'YES' ]
then
nigrd=1
for grdID in $waveinterpGRD
do
ymdh_int=$($NDATE -${WAVHINDH} $ymdh); dt_int=3600.; n_int=9999 ;
echo "${USHgfs}/wave_grid_interp_sbs.sh $grdID $ymdh_int $dt_int $n_int > grint_$grdID.out 2>&1" >> ${fcmdigrd}.${nigrd}
if [ "$DOGRB_WAV" = 'YES' ]
then
gribFL=\'$(echo ${OUTPARS_WAV})\'
case $grdID in
aoc_9km) GRDNAME='arctic' ; GRDRES=9km ; GRIDNR=255 ; MODNR=11 ;;
ant_9km) GRDNAME='antarc' ; GRDRES=9km ; GRIDNR=255 ; MODNR=11 ;;
glo_10m) GRDNAME='global' ; GRDRES=0p16 ; GRIDNR=255 ; MODNR=11 ;;
gnh_10m) GRDNAME='global' ; GRDRES=0p16 ; GRIDNR=255 ; MODNR=11 ;;
gsh_15m) GRDNAME='gsouth' ; GRDRES=0p25 ; GRIDNR=255 ; MODNR=11 ;;
glo_15m) GRDNAME='global' ; GRDRES=0p25 ; GRIDNR=255 ; MODNR=11 ;;
ao_20m) GRDNAME='arctic' ; GRDRES=0p33 ; GRIDNR=255 ; MODNR=11 ;;
so_20m) GRDNAME='antarc' ; GRDRES=0p33 ; GRIDNR=255 ; MODNR=11 ;;
glo_15mxt) GRDNAME='global' ; GRDRES=0p25 ; GRIDNR=255 ; MODNR=11 ;;
reg025) GRDNAME='global' ; GRDRES=0p25 ; GRIDNR=255 ; MODNR=11 ;;
glo_025) GRDNAME='global' ; GRDRES=0p25 ; GRIDNR=255 ; MODNR=11 ;;
glo_100) GRDNAME='global' ; GRDRES=1p00 ; GRIDNR=255 ; MODNR=11 ;;
glo_200) GRDNAME='global' ; GRDRES=2p00 ; GRIDNR=255 ; MODNR=11 ;;
glo_500) GRDNAME='global' ; GRDRES=5p00 ; GRIDNR=255 ; MODNR=11 ;;
gwes_30m) GRDNAME='global' ; GRDRES=0p50 ; GRIDNR=255 ; MODNR=10 ;;
esac
echo "${USHgfs}/wave_grib2_sbs.sh $grdID $GRIDNR $MODNR $ymdh $fhr $GRDNAME $GRDRES $gribFL > grib_$grdID.out 2>&1" >> ${fcmdnow}
done
fi
source "${USHgfs}/wave_domain_grid.sh"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
source "${USHgfs}/wave_domain_grid.sh"

process_grdID "${grdID}"
echo "${USHgfs}/wave_grib2_sbs.sh $grdID $GRIDNR $MODNR $ymdh $fhr $GRDREGION $GRDRES $gribFL > grib_$grdID.out 2>&1" >> ${fcmdigrd}.${nigrd}
fi
echo "${GRIBDATA}/${fcmdigrd}.${nigrd}" >> ${fcmdnow}
chmod 744 ${fcmdigrd}.${nigrd}
nigrd=$((nigrd+1))
done
fi

if [ "$DOGRB_WAV" = 'YES' ]
then
for grdID in ${wavepostGRD} # First concatenate grib files for sbs grids
do
gribFL=\'$(echo ${OUTPARS_WAV})\'
source "${USHgfs}/wave_domain_grid.sh"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
source "${USHgfs}/wave_domain_grid.sh"

process_grdID "${grdID}"
echo "${USHgfs}/wave_grib2_sbs.sh $grdID $GRIDNR $MODNR $ymdh $fhr $GRDREGION $GRDRES $gribFL > grib_$grdID.out 2>&1" >> ${fcmdnow}
done
fi

if [ ${CFP_MP:-"NO"} = "YES" ]; then
Expand Down Expand Up @@ -377,15 +344,14 @@ source "${USHgfs}/preamble.sh"
rm -f out_grd.* # Remove large binary grid output files

cd $DATA


if [ "$fhr" = "$fhrg" ]
then

# Check if grib2 file created
ENSTAG=""
com_varname="COMOUT_WAVE_GRID_${GRDREGION}_${GRDRES}"
com_dir=${!com_varname}
if [ ${waveMEMB} ]; then ENSTAG=".${membTAG}${waveMEMB}" ; fi
gribchk="${RUN}wave.${cycle}${ENSTAG}.${GRDNAME}.${GRDRES}.f${FH3}.grib2"
if [ ! -s ${COMOUT_WAVE_GRID}/${gribchk} ]; then
gribchk="${RUN}wave.${cycle}${ENSTAG}.${GRDREGION}.${GRDRES}.f${FH3}.grib2"
if [ ! -s ${com_dir}/${gribchk} ]; then
set +x
echo ' '
echo '********************************************'
Expand All @@ -397,7 +363,6 @@ source "${USHgfs}/preamble.sh"
err=5; export err;${errchk}
exit "$err"
fi
fi

# --------------------------------------------------------------------------- #
# 7. Ending output
Expand Down
32 changes: 10 additions & 22 deletions scripts/exgfs_wave_prdgen_gridded.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ source "${USHgfs}/preamble.sh"
# Input grid
grid_in="${waveinterpGRD:-glo_15mxt}"
# Output grids
grids=${grids:-ao_9km at_10m ep_10m wc_10m glo_30m}
grids=${GEMPAK_GRIDS:-ak_10m at_10m ep_10m wc_10m glo_30m}
# export grids=${wavepostGRD}
maxtries=${maxtries:-720}
# 0.b Date and time stuff
Expand Down Expand Up @@ -88,33 +88,21 @@ grids=${grids:-ao_9km at_10m ep_10m wc_10m glo_30m}
# 1.a Grib file (AWIPS and FAX charts)
# Get input grid
# TODO flesh this out with additional input grids if needed
case ${grid_in} in
glo_200)
grdIDin='global.2p00' ;;
glo_15mxt)
grdIDin='global.0p25' ;;
*)
echo "FATAL ERROR Unrecognized input grid ${grid_in}"
exit 2;;
esac
source "${USHgfs}/wave_domain_grid.sh"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
source "${USHgfs}/wave_domain_grid.sh"

process_grdID "${grid_in}"
grdIDin=${grdNAME}

fhcnt=${fstart}
while [[ "${fhcnt}" -le "${FHMAX_WAV}" ]]; do
fhr=$(printf "%03d" "${fhcnt}")
for grdOut in ${grids}; do
case ${grdOut} in
ao_9km) grdID='arctic.9km' ;;
at_10m) grdID='atlocn.0p16' ;;
ep_10m) grdID='epacif.0p16' ;;
wc_10m) grdID='wcoast.0p16' ;;
# glo_30m) grdID='global.0p25' ;;
glo_30m) grdID='global.0p50' ;;
ak_10m) grdID='alaska.0p16' ;;
*) grdID= ;;
esac
#
source "${USHgfs}/wave_domain_grid.sh"
Fixed Show fixed Hide fixed
Fixed Show fixed Hide fixed
Fixed Show fixed Hide fixed
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
source "${USHgfs}/wave_domain_grid.sh"

process_grdID "${grdout}"
grdIDin=${grdNAME}
com_varname="${COMIN_WAVE_GRID}_${GRDREGION}_${GRDRES}"
com_dir="${!com_varname}"

GRIBIN="${COMIN_WAVE_GRID}/${RUNwave}.${cycle}.${grdIDin}.f${fhr}.grib2"
GRIBIN="${com_dir}/${RUNwave}.${cycle}.${grdIDin}.f${fhr}.grib2"
GRIBIN_chk="${GRIBIN}.idx"
sleep_interval=5
max_tries=1000
Expand Down
Loading