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

Bring in HAFSv1 nesting needed changes from FRE-NCtools #752

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
285 commits
Select commit Hold shift + click to select a range
2396483
chgres_cube_grib2_atmos: This commit references #66221
LarissaReames-NOAA Jul 18, 2019
736b24f
chgres_cube_grib2_atmos: This commit references #66221
LarissaReames-NOAA Jul 19, 2019
9e437ee
chgres_cube_grib2_atmos: This commit references #66268
LarissaReames-NOAA Jul 18, 2019
94cc0fe
chgres_cube_grib2_atmos: This commit references #66268
LarissaReames-NOAA Jul 19, 2019
5b1dfa5
chgres_cube_grib2_atmos: This commit references #66268
LarissaReames-NOAA Jul 21, 2019
44ea443
Merge branch 'feature/chgres_cube_grib2_atmos' of gerrit:UFS_UTILS in…
LarissaReames-NOAA Jul 21, 2019
bf1dc5a
feature/HAFS: Import the regional_grid from Jim/Duson/Jeff/Gerald.
BinLiu-NOAA Jul 23, 2019
590fea1
feature/HAFS: Add the corresponding module files for regional_grid.
BinLiu-NOAA Jul 23, 2019
8f00e3f
feature/HAFS: Change module files for regional_grid on Theia and Jet.
BinLiu-NOAA Jul 23, 2019
f58aa48
Merge branch 'develop' into feature/HAFS
BinLiu-NOAA Jul 23, 2019
036348c
Merge branch 'develop' into feature/HAFS
BinLiu-NOAA Jul 31, 2019
2aed3ad
feature/HAFS: Sync with develop for sorc/global_chgres.fd/read_write.…
BinLiu-NOAA Jul 31, 2019
bc9d20b
feature/HAFS: Enable building sfc_climo_gen on Jet.
BinLiu-NOAA Aug 1, 2019
dd9f9d9
feature/HAFS: Enable building regional_grid on Jet.
BinLiu-NOAA Aug 1, 2019
291d284
Merge branch 'develop' into feature/HAFS
BinLiu-NOAA Aug 1, 2019
d414c42
chgres_cube_grib2_atmos: This commit references #66268
LarissaReames-NOAA Aug 7, 2019
3521075
chgres_cube_grib2_atmos: This commit references #66268
LarissaReames-NOAA Aug 7, 2019
e5de5cb
Changes so JPgrid will generate grid indices in the same manner as GF…
JeffBeck-NOAA Aug 12, 2019
ae22e22
feature/chgres_cube_grib2_atmos: This commit references #66268.
GeorgeGayno-NOAA Aug 16, 2019
c2adf96
feature/chgres_cube_grib2_atmos: This commit references #66268.
GeorgeGayno-NOAA Aug 16, 2019
ff603b9
chgres_cube_grib2_atmos: This commit references #66268
LarissaReames-NOAA Aug 19, 2019
427061d
Merge branch 'feature/chgres_cube_grib2_atmos' of gerrit:UFS_UTILS in…
LarissaReames-NOAA Aug 19, 2019
591ef88
chgres_cube_grib2_atmos: This commit references #66268
LarissaReames-NOAA Aug 20, 2019
8592b81
chgres_cube_grib2_atmos: This commit references #66268
LarissaReames-NOAA Aug 21, 2019
d6c9b31
chgres_cube_grib2_atmos: This commit references #66268 (#8)
LarissaReames-NOAA Aug 23, 2019
8aa3b63
feature/hera_port This commit references #1.
GeorgeGayno-NOAA Sep 4, 2019
a38b232
feature/hera_port This commit references #1.
GeorgeGayno-NOAA Sep 4, 2019
01c6f1d
feature/hera_port This commit references issue #1.
GeorgeGayno-NOAA Sep 4, 2019
5a0e912
feature/hera_port This commit references issue #1.
GeorgeGayno-NOAA Sep 4, 2019
ec327b8
feature/hera_port This commit references issue #1.
GeorgeGayno-NOAA Sep 5, 2019
e2a0aad
feature/hera_port This commit references #1.
GeorgeGayno-NOAA Sep 6, 2019
bae8fea
feature/hera_port This commit references #1.
GeorgeGayno-NOAA Sep 6, 2019
e44ff25
feature/hera_port This commit references #1.
GeorgeGayno-NOAA Sep 6, 2019
00de954
feature/hera_port This commit references #1.
GeorgeGayno-NOAA Sep 9, 2019
3241cfa
feature/hera_port This commit references #1.
GeorgeGayno-NOAA Sep 9, 2019
2044db3
feature/hera_port This commit references #1.
GeorgeGayno-NOAA Sep 9, 2019
e5c508d
feature/hera_port This commit references #1.
GeorgeGayno-NOAA Sep 10, 2019
b1951d1
feature/hera_port This commit references #1.
GeorgeGayno-NOAA Sep 11, 2019
ac49bb5
chgres_cube_grib2_atmos: This commit references #66268
LarissaReames-NOAA Sep 11, 2019
a5dd089
Merge branch 'feature/chgres_cube_grib2_atmos' into feature/chgres_cu…
LarissaReames-NOAA Sep 11, 2019
009496c
Feature/chgres cube grib2 atmos (#13)
LarissaReames-NOAA Sep 12, 2019
7dbe65c
feature/hera_port: This commit references #1.
GeorgeGayno-NOAA Sep 12, 2019
05325cc
Merge branch 'develop' into feature/HAFS
BinLiu-NOAA Sep 12, 2019
ba9d991
feature/hera_port: This commit references #1.
GeorgeGayno-NOAA Sep 13, 2019
d88bf1c
feature/hera_port: This commit references #1.
GeorgeGayno-NOAA Sep 13, 2019
ee6c041
Merge branch 'feature/hera_port' into feature/HAFS
BinLiu-NOAA Sep 17, 2019
9381aeb
feature/hera_port: This commit references #1.
GeorgeGayno-NOAA Sep 18, 2019
5d68083
feature/hera_port: This commit references #1.
GeorgeGayno-NOAA Sep 18, 2019
de48ad1
feature/hera_port: This commit references #1.
GeorgeGayno-NOAA Sep 19, 2019
86d92b0
feature/HAFS: More for Hera porting.
BinLiu-NOAA Sep 20, 2019
829b1db
feature/hera_port: This commit references #1.
GeorgeGayno-NOAA Sep 23, 2019
573bd48
feature/hera_port: This commit references #1.
GeorgeGayno-NOAA Sep 26, 2019
2f122c0
feature/HAFS: Load newer version of landsfcutil/2.1.1 and esmf/8.0.0b…
BinLiu-NOAA Sep 26, 2019
da2c9d1
feature/HAFS: Switch back to load netcdf/4.6.1 and hdf5/10.0.4 on hera.
BinLiu-NOAA Sep 28, 2019
5149a88
feature/hera_port: This commit references #1.
GeorgeGayno-NOAA Sep 30, 2019
63ee8bd
feature/hera_port: This commit references #1.
GeorgeGayno-NOAA Oct 2, 2019
b799955
Merge branch 'develop' into chgres_cube_grib2_atmos
BinLiu-NOAA Oct 7, 2019
6dd44b8
Merge branch 'hera_port' into chgres_cube_grib2_atmos
BinLiu-NOAA Oct 7, 2019
1341a9d
feature/pole_bug: This commit references #23.
GeorgeGayno-NOAA Oct 8, 2019
b85d143
feature/pole_fix: This commit references #23.
GeorgeGayno-NOAA Oct 10, 2019
3f4fea8
feature/pole_bug: This commit references #23.
GeorgeGayno-NOAA Oct 11, 2019
a09e059
Merge pull request #1 from NOAA-EMC/develop
BinLiu-NOAA Oct 11, 2019
4b5bbf5
Merge branch 'develop' into support/HAFS
BinLiu-NOAA Oct 11, 2019
56063fd
Merge branch 'feature/pole_bug' into support/HAFS
BinLiu-NOAA Oct 11, 2019
1c150e9
Merge branch 'develop' into feature/chgres_cube_grib2_atmos
BinLiu-NOAA Oct 12, 2019
2536def
Merge branch 'feature/chgres_cube_grib2_atmos' into feature/HAFS_grib…
BinLiu-NOAA Oct 12, 2019
be3d518
Merge branch 'develop' into feature/HAFS_grib2_atmos
BinLiu-NOAA Oct 16, 2019
30c77d8
Merge branch 'develop' into support/HAFS
BinLiu-NOAA Oct 16, 2019
f31a859
Merge branch 'develop' into feature/chgres_cube_grib2_atmos
BinLiu-NOAA Oct 16, 2019
b0afc61
support/HAFS: Add support to generate grids for more model resolution…
BinLiu-NOAA Oct 16, 2019
6e97c72
support/HAFS: Enable make_hgrid shift_fac option for uniform grid.
BinLiu-NOAA Oct 16, 2019
f819e18
Merge pull request #1 from hafs-community/feature/chgres_cube_grib2_a…
LarissaReames-NOAA Oct 22, 2019
0160f6f
Merge branch 'develop' into feature/chgres_cube_grib2_atmos
BinLiu-NOAA Oct 30, 2019
e4d47f1
Merge branch 'feature/chgres_cube_grib2_atmos' into feature/HAFS_grib…
BinLiu-NOAA Oct 30, 2019
f5733df
Merge branch 'develop' into support/HAFS
BinLiu-NOAA Oct 30, 2019
930ff31
Merge branch 'feature/chgres_cube_grib2_atmos' of https://github.com/…
LarissaReames-NOAA Oct 30, 2019
76e9bdb
Merge remote-tracking branch 'LarissaFork/feature/chgres_cube_grib2_a…
JiliDong-NOAA Oct 31, 2019
ecec8ef
re-order grib2 isobaric levels
JiliDong-NOAA Oct 31, 2019
332c584
keep grib2 CLWMR name consistent with origional
JiliDong-NOAA Oct 31, 2019
1945269
Replaced namelist option "base_install_dir" with "varmap_file" and
LarissaReames-NOAA Oct 31, 2019
7940d8b
Merge pull request #3 from JiliDong-NOAA/feature/chgres_cube_grib2_atmos
LarissaReames-NOAA Oct 31, 2019
8a691d6
Merge branch 'feature/chgres_cube_grib2_atmos' of https://github.com/…
LarissaReames-NOAA Oct 31, 2019
91fb62e
Merge pull request #2 from hafs-community/feature/chgres_cube_grib2_a…
LarissaReames-NOAA Oct 31, 2019
73d23e8
Merge branch 'feature/chgres_cube_grib2_atmos' of https://github.com/…
LarissaReames-NOAA Oct 31, 2019
70a44e7
Merge pull request #2 from LarissaReames-NOAA/feature/chgres_cube_gri…
GeorgeGayno-NOAA Nov 1, 2019
b1a1cf3
feature/chgres_cube_grib2_atmos:
GeorgeGayno-NOAA Nov 1, 2019
41a3543
Merge pull request #4 from GeorgeGayno-NOAA/feature/chgres_cube_grib2…
LarissaReames-NOAA Nov 4, 2019
0c778e5
Merge branch 'feature/chgres_cube_grib2_atmos' of https://github.com/…
LarissaReames-NOAA Nov 4, 2019
200e0b8
feature/chgres_cube_grib2_atmos:
GeorgeGayno-NOAA Nov 4, 2019
46adf8a
grib2 inventory file for gfs data is now saved in the run directory i…
LarissaReames-NOAA Nov 4, 2019
6ad2789
Jet support for chgres_cube_grib2_atmos
JiliDong-NOAA Nov 5, 2019
4d8c9fb
Removed a few tabs in favor of spaces in model_grid.F90.
LarissaReames-NOAA Nov 6, 2019
0213e8c
Merge pull request #6 from JiliDong-NOAA/feature/chgres_cube_grib2_atmos
LarissaReames-NOAA Nov 6, 2019
5fc88c6
feature/chgres_cube_grib2_atmos:
GeorgeGayno-NOAA Nov 6, 2019
aa550f4
Merge remote-tracking branch 'Larissa/feature/chgres_cube_grib2_atmos…
GeorgeGayno-NOAA Nov 6, 2019
0f46d32
fix sorting to handle isobaric levels with decimal (mb)
JiliDong-NOAA Nov 7, 2019
e386583
fix sorting to handle isobaric levels with decimal (mb) cleaning up
JiliDong-NOAA Nov 7, 2019
021e855
All atmospheric variables are now read in from grib2 day based on grib2
LarissaReames-NOAA Nov 7, 2019
f60eb34
Merge pull request #7 from JiliDong-NOAA/feature/chgres_cube_grib2_atmos
LarissaReames-NOAA Nov 7, 2019
d8c2f72
Merge branch 'feature/chgres_cube_grib2_atmos' of https://github.com/…
LarissaReames-NOAA Nov 7, 2019
84c34d4
Merge branch 'feature/chgres_cube_grib2_atmos' into feature/chgres_cu…
LarissaReames-NOAA Nov 7, 2019
14c2644
Merge pull request #5 from GeorgeGayno-NOAA/feature/chgres_cube_grib2…
LarissaReames-NOAA Nov 7, 2019
df374ba
Bug fix for an extraneous line of code left over in last merge.
LarissaReames-NOAA Nov 7, 2019
9a2d06a
Fix bug in creation of grib2 tracer parameter number string arrays.
LarissaReames-NOAA Nov 7, 2019
15c4226
Removed extraneous code from a previous merge.
LarissaReames-NOAA Nov 8, 2019
240e70b
Merge branch 'feature/chgres_cube_grib2_atmos' into feature/HAFS_grib…
BinLiu-NOAA Nov 9, 2019
f80b65c
Merge branch 'support/HAFS' into feature/HAFS_grib2_atmos
BinLiu-NOAA Dec 3, 2019
9f4c8b3
feature/HAFS_grib2_atmos: Add a new var_map table (FV3GFSphys_var_map…
BinLiu-NOAA Dec 3, 2019
e51e3d8
Merge branch 'develop' into feature/HAFS_grib2_atmos
BinLiu-NOAA Feb 4, 2020
e1ab208
Merge branch 'feature/HAFS_grib2_atmos' into support/HAFS
BinLiu-NOAA Feb 4, 2020
8717784
Merge branch 'develop' into support/HAFS
BinLiu-NOAA Feb 7, 2020
9597d37
Merge branch 'develop' into support/HAFS
BinLiu-NOAA Mar 24, 2020
d81a405
Merge branch 'develop' into support/HAFS
BinLiu-NOAA Mar 24, 2020
3db9ff3
feature/orion This commit references #96.
GeorgeGayno-NOAA Apr 1, 2020
410e748
feature/orion This commit references #96.
GeorgeGayno-NOAA Apr 1, 2020
f579b3d
feature/orion This commit references #96.
GeorgeGayno-NOAA Apr 2, 2020
78eff44
feature/orion This commit references #96.
GeorgeGayno-NOAA Apr 3, 2020
fa7efc9
feature/orion This commit references #96.
GeorgeGayno-NOAA Apr 3, 2020
d32c607
feature/orion This commit references #96.
GeorgeGayno-NOAA Apr 3, 2020
07ef1f4
feature/orion This commit references #96.
GeorgeGayno-NOAA Apr 3, 2020
8af1cad
feature/orion This commit references #96.
GeorgeGayno-NOAA Apr 3, 2020
6d1c6f8
feature/orion This commit references #96.
GeorgeGayno-NOAA Apr 3, 2020
664e0b2
feature/orion This commit references #96.
GeorgeGayno-NOAA Apr 6, 2020
ffab5c4
feature/orion This commit references #96.
GeorgeGayno-NOAA Apr 7, 2020
3a30d20
feature/orion This commit references #96.
GeorgeGayno-NOAA Apr 27, 2020
b368429
feature/orion This commit references #96.
GeorgeGayno-NOAA Apr 28, 2020
4a79889
Merge remote-tracking branch 'remotes/upstream/develop' into support/…
BinLiu-NOAA May 1, 2020
4b1761c
feature/orion This commit references #96.
GeorgeGayno-NOAA May 5, 2020
43d9f56
Merge remote-tracking branch 'remotes/GG/feature/orion' into feature/…
BinLiu-NOAA May 6, 2020
0a04047
Enable build regional_grid on Orion.
BinLiu-NOAA May 6, 2020
22e9ec4
Use the netcdfp/4.7.4 module which is used by ufs-weather-model on Or…
BinLiu-NOAA May 7, 2020
11b3a18
Added multiple static nest functionality
wramstrom May 18, 2020
d430909
Merge remote-tracking branch 'remotes/origin/support/HAFS' into featu…
BinLiu-NOAA Jun 1, 2020
06c242a
Changes needed for the Jet directory renaming from /lfs3/projects to …
BinLiu-NOAA Jun 2, 2020
2740c59
Merge remote-tracking branch 'remotes/upstream/develop' into support/…
BinLiu-NOAA Jun 3, 2020
31350c8
Clean up the support/HAFS branch so that it is closer to the develop …
BinLiu-NOAA Jun 3, 2020
949deff
module use /usrx/local/dev/modulefiles prior to module load cmake/3.1…
BinLiu-NOAA Jun 4, 2020
b3131ec
Merge branch 'support/HAFS' into feature/multi_nests
BinLiu-NOAA Jun 4, 2020
caf9376
Merge remote-tracking branch 'remotes/upstream/develop' into support/…
BinLiu-NOAA Jul 2, 2020
75c2590
Merge branch 'support/HAFS' into feature/multi_nests
BinLiu-NOAA Jul 14, 2020
645e667
Load netcdfp/4.7.4 and esmflocal/8.1.0.19bs on Orion.
BinLiu-NOAA Jul 15, 2020
01db9a1
Load the module g2/3.1.1 on Orion
BinLiu-NOAA Jul 16, 2020
33e079f
Merge branch 'support/HAFS' into feature/multi_nests
BinLiu-NOAA Jul 29, 2020
fe96dc4
Merge remote-tracking branch 'remotes/upstream/develop' into support/…
BinLiu-NOAA Nov 21, 2020
ea49f3e
Merge remote-tracking branch 'remotes/upstream/develop' into support/…
BinLiu-NOAA Nov 23, 2020
ea89627
Merge remote-tracking branch 'remotes/upstream/develop' into support/…
BinLiu-NOAA Dec 11, 2020
4185d35
Merge remote-tracking branch 'remotes/upstream/develop' into support/…
BinLiu-NOAA Jan 7, 2021
a8efc94
Merge remote-tracking branch 'remotes/upstream/develop' into support/…
BinLiu-NOAA Jan 22, 2021
f6f6d9f
Merge remote-tracking branch 'remotes/upstream/develop' into support/…
BinLiu-NOAA Mar 12, 2021
aa0e922
Merge remote-tracking branch 'remotes/upstream/develop' into support/…
BinLiu-NOAA Apr 1, 2021
bbd3ac4
Merge remote-tracking branch 'remotes/origin/support/HAFS' into featu…
BinLiu-NOAA Apr 1, 2021
6200a03
Merge branch 'feature/multi_nests' of https://github.com/hafs-communi…
BinLiu-NOAA Apr 1, 2021
c3d6cc1
Merge branch 'feature/multi_nests' of https://github.com/hafs-communi…
BinLiu-NOAA Apr 1, 2021
449fd19
Fix a typo for parent_tile in sorc/fre-nctools.fd/tools/make_hgrid/cr…
BinLiu-NOAA Apr 2, 2021
cfeb6de
Bring in the latest master version of make_hgrid from NOAA-GFDL/FRE-N…
BinLiu-NOAA Apr 3, 2021
a428bc2
Merge remote-tracking branch 'upstream/develop' into support/HAFS
BinLiu-NOAA Apr 16, 2021
ddd0b2e
Merge branch 'support/HAFS' into feature/multi_nests
BinLiu-NOAA Apr 26, 2021
3c31265
Merge remote-tracking branch 'remotes/upstream/develop' into support/…
BinLiu-NOAA May 12, 2021
507dfb4
Merge remote-tracking branch 'remotes/origin/support/HAFS' into featu…
BinLiu-NOAA May 24, 2021
e2a1479
Merge remote-tracking branch 'remotes/upstream/develop' into support/…
BinLiu-NOAA Jul 10, 2021
94cfb6c
Merge remote-tracking branch 'remotes/upstream/develop' into support/…
BinLiu-NOAA Jul 25, 2021
7e87be1
Update machine-setup.sh for wcoss2. Baseline initial
GeorgeGayno-NOAA Sep 7, 2021
47e3ea8
Kyle's updates for finding the wgrib2 library.
GeorgeGayno-NOAA Sep 8, 2021
51e9fbd
Update link_fixdirs.sh for wcoss2. For now, Kate will
GeorgeGayno-NOAA Sep 8, 2021
f3588cf
Load additional libraries from the stack instead of letting
GeorgeGayno-NOAA Sep 8, 2021
7d946c2
Add grid generation driver script for WCOSS2.
GeorgeGayno-NOAA Sep 8, 2021
a61adfb
Update vcoord_gen utility for wcoss2.
GeorgeGayno-NOAA Sep 9, 2021
da9db59
Create ice_blend regression test driver script for wcoss2.
GeorgeGayno-NOAA Sep 9, 2021
301f5d1
Create sfc_climo_gen utility script for wcoss2.
GeorgeGayno-NOAA Sep 9, 2021
8a25192
Add snow2mdl regression test script for wcoss2.
GeorgeGayno-NOAA Sep 9, 2021
d1c2024
Merge remote-tracking branch 'remotes/upstream/develop' into support/…
BinLiu-NOAA Sep 10, 2021
13d5005
Fix a fprintf line bug when printing parent_tile.
BinLiu-NOAA Sep 12, 2021
365e7ad
Sync make_hgrid with the latest master branch version in NOAA-GFDL/FR…
BinLiu-NOAA Sep 13, 2021
1812a0f
Add global_cycle regression test script for wcoss2.
GeorgeGayno-NOAA Sep 14, 2021
f344fda
Sync make_solo_mosaic with the latest master branch version (as of 20…
BinLiu-NOAA Sep 15, 2021
75b1402
Sync fregrid with the latest master branch version (as of 202109) in …
BinLiu-NOAA Sep 15, 2021
1ac8f71
Merge branch 'feature/multi_nests' of https://github.com/hafs-communi…
BinLiu-NOAA Sep 15, 2021
b1b3e7b
Merge remote-tracking branch 'remotes/origin/support/HAFS' into featu…
BinLiu-NOAA Sep 15, 2021
a4c80f3
Add grid_gen regression test driver script for wcoss2.
GeorgeGayno-NOAA Sep 15, 2021
ee51e7d
Minor updates to global_cycle reg test script.
GeorgeGayno-NOAA Sep 16, 2021
773ae5d
Add chgres_cube regression test driver script for wcoss2.
GeorgeGayno-NOAA Sep 16, 2021
4d3bf93
Merge branch 'develop' into feature/wcoss2
GeorgeGayno-NOAA Sep 20, 2021
bafbef3
Begin work on new driver script for gdas_init utility.
GeorgeGayno-NOAA Sep 21, 2021
1939031
Complete mods for data pull scripts. Start mods for chgres
GeorgeGayno-NOAA Sep 21, 2021
7b7cdf0
Add qsub commands to remainder of ./util/gdas_init/driver.wcoss2.sh
GeorgeGayno-NOAA Sep 23, 2021
7b0d1f4
Hardware threading was turned off on WCOSS2. Start adjusting
GeorgeGayno-NOAA Sep 24, 2021
b49c138
Update more scripts now that hardware threading is
GeorgeGayno-NOAA Sep 24, 2021
5b50294
Update more scripts for new hardware configuration.
GeorgeGayno-NOAA Sep 24, 2021
49675fd
Update gdas_init driver script for new hardware
GeorgeGayno-NOAA Sep 24, 2021
d0c7784
Update ./util/gdas_init/driver.wcoss2.sh to process all
GeorgeGayno-NOAA Sep 27, 2021
52a5192
Update ice blend test to use v1.2.3 of grib_util. v1.2.2
GeorgeGayno-NOAA Sep 30, 2021
d71d386
Update build module to point to latest esmf v8.
GeorgeGayno-NOAA Oct 1, 2021
4468002
Update consistency test driver scripts to point
GeorgeGayno-NOAA Oct 1, 2021
b0e1a14
Merge branch 'develop' into feature/wcoss2
GeorgeGayno-NOAA Oct 6, 2021
3c6ceb4
Merge branch 'develop' into feature/wcoss2
GeorgeGayno-NOAA Oct 12, 2021
8256d77
Update fix/link_fixdirs.sh to point to the correct 'fix'
GeorgeGayno-NOAA Oct 15, 2021
426ba04
Point to new location for data and utilities on wcoss2.
GeorgeGayno-NOAA Oct 15, 2021
11fae19
Merge branch 'develop' into feature/wcoss2
GeorgeGayno-NOAA Oct 20, 2021
e6c3042
Remove hard-wired library versions per NCO directive for
GeorgeGayno-NOAA Oct 21, 2021
cb0f3e0
Merge branch 'develop' into feature/wcoss2
GeorgeGayno-NOAA Oct 22, 2021
8884893
Merge remote-tracking branch 'remotes/upstream/develop' into support/…
BinLiu-NOAA Nov 2, 2021
c6fd6b9
Merge branch 'develop' into feature/wcoss2
GeorgeGayno-NOAA Nov 5, 2021
d7a907b
Merge remote-tracking branch 'remotes/upstream/develop' into support/…
BinLiu-NOAA Nov 20, 2021
f947b49
Merge remote-tracking branch 'remotes/origin/support/HAFS' into featu…
BinLiu-NOAA Nov 24, 2021
8902c90
Change references 'wcoss2_cray' to 'wcoss2'.
GeorgeGayno-NOAA Dec 2, 2021
c471fd7
Update wcoss2 build module to be lua compliant.
GeorgeGayno-NOAA Dec 2, 2021
eb934cd
More updates to wcoss2 build process for lua compliance.
GeorgeGayno-NOAA Dec 3, 2021
84df02a
Update utility scripts for new lua based build module.
GeorgeGayno-NOAA Dec 3, 2021
586372f
Update regression test scripts for new lua-based build
GeorgeGayno-NOAA Dec 3, 2021
54b1b44
Update grid creation driver script for new lua-compliant
GeorgeGayno-NOAA Dec 3, 2021
c53d01e
Merge branch 'develop' into feature/wcoss2
GeorgeGayno-NOAA Dec 17, 2021
0ff75e9
Remove all references to jlogfile from scripts per NCO
GeorgeGayno-NOAA Dec 27, 2021
affb0c6
Merge remote-tracking branch 'upstream/develop' into feature/wcoss2
GeorgeGayno-NOAA Jan 13, 2022
3465d87
Update library version defaults to match gfs v16.2.
GeorgeGayno-NOAA Jan 13, 2022
25e5c7a
Merge branch 'develop' into feature/wcoss2
GeorgeGayno-NOAA Jan 14, 2022
2977272
Switch to load esmf/8_2_0 on hera.
BinLiu-NOAA Jan 18, 2022
83d1205
Merge branch 'develop' into feature/wcoss2
GeorgeGayno-NOAA Jan 20, 2022
320eb12
Update wcoss2 regression test scripts for new baseline
GeorgeGayno-NOAA Jan 20, 2022
f2b3766
Merge remote-tracking branch 'remotes/upstream/develop' into support/…
BinLiu-NOAA Jan 26, 2022
2a4b35e
Merge branch 'support/HAFS' into feature/multi_nests
BinLiu-NOAA Jan 29, 2022
3c98162
Merge branch 'develop' into feature/wcoss2
GeorgeGayno-NOAA Feb 11, 2022
6f027d3
Merge branch 'develop' into feature/wcoss2
GeorgeGayno-NOAA Feb 17, 2022
44f197e
Adding mppnccombine to hafs_utils.fd
BijuThomas-NOAA Mar 1, 2022
7669e23
Merge remote-tracking branch 'upstream/develop' into feature/hafsv0.3…
BinLiu-NOAA Mar 2, 2022
2fd55ef
Merge branch 'develop' into feature/wcoss2
GeorgeGayno-NOAA Mar 23, 2022
32956d3
Increase memory for some chgres grib2 consistency tests.
GeorgeGayno-NOAA Mar 23, 2022
5726b03
Merge branch 'develop' into feature/wcoss2
GeorgeGayno-NOAA Mar 23, 2022
c89dccd
Merge branch 'develop' into feature/wcoss2
GeorgeGayno-NOAA Apr 6, 2022
fa3b403
Merge remote-tracking branch 'remotes/upstream/develop' into feature/…
BinLiu-NOAA Apr 7, 2022
f16422a
Merge branch 'develop' into feature/wcoss2
GeorgeGayno-NOAA Apr 25, 2022
2bce1a8
Minor updates to ./reg_tests/chgres_cube/driver.wcoss2.sn
GeorgeGayno-NOAA Apr 25, 2022
dbf08fb
Merge branch 'develop' into feature/wcoss2
GeorgeGayno-NOAA Apr 28, 2022
99cda46
Minor update to build script.
GeorgeGayno-NOAA Apr 28, 2022
7caff2d
Merge branch 'develop' into feature/wcoss2
GeorgeGayno-NOAA May 4, 2022
263e786
Remove load of wgrib2 from build module.
GeorgeGayno-NOAA May 12, 2022
8b893bb
Minor script updates.
GeorgeGayno-NOAA May 12, 2022
311c39a
Update ./reg_tests/rt.sh for wcoss2.
GeorgeGayno-NOAA May 12, 2022
dd634ac
Merge branch 'develop' into feature/wcoss2
GeorgeGayno-NOAA May 13, 2022
36e5287
Merge commit 'b23a25a218deb20113b6cf18002525df2e06841d' into feature/…
BinLiu-NOAA May 16, 2022
4339a58
Update rt.sh to check for which wcoss2 is production and
GeorgeGayno-NOAA May 17, 2022
e367c2d
Merge remote-tracking branch 'remotes/GG/feature/wcoss2' into feature…
May 20, 2022
7c35415
Merge remote-tracking branch 'remotes/upstream/develop' into feature/…
BinLiu-NOAA Oct 10, 2022
901cf96
Merge remote-tracking branch 'upstream/develop' into feature/hafs_syn…
BinLiu-NOAA Oct 22, 2022
13a4754
Merge remote-tracking branch 'upstream/develop' into feature/hafs_syn…
BinLiu-NOAA Nov 13, 2022
d69faaf
Merge remote-tracking branch 'remotes/upstream/develop' into feature/…
BinLiu-NOAA Dec 29, 2022
0535869
Move mppnccombine from sorc/fre-nctools.fd/tools to sorc/fre-nctools.…
BinLiu-NOAA Dec 29, 2022
5ff3918
Remove duplicated wcoss2 related changes in reg_tests/rt.sh.
BinLiu-NOAA Dec 29, 2022
db5f028
Merge branch 'develop' into feature/hafs.v1.0.0
BinLiu-NOAA Jan 4, 2023
6751843
Remove mppnccombine tool, which is no longer needed for HAFS and othe…
BinLiu-NOAA Jan 5, 2023
af65b7e
Remove exec/.gitignore, which is not absolutely needed and the exec d…
BinLiu-NOAA Jan 5, 2023
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
210 changes: 206 additions & 4 deletions sorc/fre-nctools.fd/shared_lib/mpp_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,41 @@ int mpp_open(const char *file, int action) {
char curfile[STRING];
char errmsg[512];
int ncid, status, istat, n, fid;
/* size_t blksz=65536; */
size_t blksz=1048576;
static int first_call = 1;
static size_t blksz=1048576;

/* read the blksz from environment variable for the first_call */
if(first_call) {
char *blkstr;
int len;
first_call = 0;
blkstr=getenv ("NC_BLKSZ");
if(blkstr) {
len=strlen(blkstr);
/* check to make sure each character is either number of 'K' or 'M' */
for(n=0; n<len; n++) {
if( n == len-1 ) { /* the last character might be K or M */
if( (blkstr[n] > '9' || blkstr[n] < '0') && blkstr[n] != 'K' && blkstr[n] != 'M' ) {
sprintf( errmsg, "mpp_io(mpp_open): the last charactor of environment variable NC_BLKSZ = %s "
"should be digit, 'K' or 'M'", blkstr);
mpp_error(errmsg);
}
}
else if( blkstr[n] > '9' || blkstr[n] < '0' ) {
sprintf( errmsg, "mpp_io(mpp_open): environment variable NC_BLKSZ = %s "
"should only contain digit except the last character", blkstr);
printf("error 2 = %s\n", errmsg);
mpp_error(errmsg);
}
}
blksz = atoi(blkstr);
if( blkstr[len-1] == 'K' )
blksz *= 1024;
else if( blkstr[len-1] == 'M' )
blksz *= (1024*1024);
}

}

/* write only from root pe. */
if(action != MPP_READ && mpp_pe() != mpp_root_pe() ) return -1;
Expand Down Expand Up @@ -209,7 +242,35 @@ void mpp_get_varname(int fid, int varid, char *name)
}

}

int mpp_get_record_name(int fid, char *name)
{
int dimid, status;
char errmsg[512];
int record_exist;
if(fid<0 || fid >=nfiles) mpp_error("mpp_io(mpp_get_record_name): invalid id number, id should be "
"a nonnegative integer that less than nfiles");
status = nc_inq_unlimdim(files[fid].ncid, &dimid);
if(status != NC_NOERR) {
sprintf(errmsg, "mpp_io(mpp_get_record_name): error in get record id from file %s", files[fid].name);
netcdf_error(errmsg, status);
}
if(dimid >=0) {
record_exist = 1;
status = nc_inq_dimname(files[fid].ncid, dimid, name);
if(status != NC_NOERR) {
sprintf(errmsg, "mpp_io(mpp_get_record_name): error in get record name from file %s", files[fid].name);
netcdf_error(errmsg, status);
}
}
else {
record_exist = 0;
}
return record_exist;
}



/*******************************************************************************/
/* */
/* The following are routines that retrieve information */
Expand Down Expand Up @@ -665,12 +726,13 @@ char mpp_get_var_cart(int fid, int vid)
fldid = files[fid].var[vid].fldid;
status = nc_get_att_text(ncid, fldid, "cartesian_axis", &cart);
if(status != NC_NOERR)status = nc_get_att_text(ncid, fldid, "axis", &cart);
/*
if(status != NC_NOERR){
sprintf(errmsg, "mpp_io(mpp_get_var_cart): Error in getting attribute cartesian_axis/axis of "
"dimension variable %s from file %s", files[fid].var[vid].name, files[fid].name );
netcdf_error(errmsg, status);
}
*/
return cart;
}

Expand Down Expand Up @@ -937,6 +999,63 @@ void mpp_def_var_att_double(int fid, int vid, const char *attname, double attval



/**********************************************************************
* void mpp_set_deflation(fid_in, fid_out, deflation, shuffle) *
* Sets netcdf4 deflation on the output file. If NetCDF3, exits. *
* If user requests deflation and shuffle settings, applies those *
* settings. If user doesn't specify (set to -1), the settings *
* of the input file are applied *
* ********************************************************************/
void mpp_set_deflation(int fid_in, int fid_out, int deflation, int shuffle) {
// return if deflation set to zero
if (deflation == 0) {
printf("Not compressing due to option\n");
return;
}

// return if netcdf3
int format;
char errmsg[512];
int status;
status = nc_inq_format(files[fid_in].ncid, &format);
if (status != NC_NOERR) {
sprintf(errmsg, "mpp_io(mpp_set_deflation): Error in getting determining netcdf version");
netcdf_error(errmsg, status);
}
printf("Input: filename=%s, nvar=%i, format=%i\n", files[fid_in].name, files[fid_in].nvar, format);
if (format == NC_FORMAT_CLASSIC || format == NC_FORMAT_64BIT) {
printf("Not compressing because input file is NetCDF3\n");
return;
}

int v, shuffle2, deflate2, deflation2;

// loop thru vars
for (v = 0; v < files[fid_in].nvar; ++v) {
// get existing compression settings
status = nc_inq_var_deflate(files[fid_in].ncid, files[fid_in].var[v].fldid, &shuffle2, &deflate2, &deflation2);
if (status != NC_NOERR) {
sprintf(errmsg, "mpp_io(mpp_set_deflation): Error in getting deflation level");
netcdf_error(errmsg, status);
}
printf("Input: var=%s, shuffle=%i, deflate=%i, deflation=%i\n", files[fid_in].var[v].name, shuffle2, deflate2, deflation2);

// apply overrides
if (deflation == -1)
deflation = deflation2;
if (shuffle == -1)
shuffle = shuffle2;

// set compression level
status = nc_def_var_deflate(files[fid_out].ncid, files[fid_out].var[v].fldid, shuffle, deflation, deflation);
if (status != NC_NOERR) {
sprintf(errmsg, "mpp_io(mpp_set_deflation): Error in setting deflation level");
netcdf_error(errmsg, status);
}
printf("Output: var=%s, shuffle=%i, deflation=%i\n", files[fid_in].var[v].name, shuffle, deflation);
}
}

/**********************************************************************
void mpp_copy_var_att(fid_in, fid_out)
copy all the field attribute from infile to outfile
Expand Down Expand Up @@ -981,9 +1100,55 @@ void mpp_copy_var_att(int fid_in, int vid_in, int fid_out, int vid_out)
}
}

}; /* mpp_copy_field_att */
} /* mpp_copy_field_att */

/**********************************************************************
void mpp_copy_var(fid_in, vid_in, fid_out)
copy one field from fid_in to fid_out
**********************************************************************/
void mpp_copy_data(int fid_in, int vid_in, int fid_out, int vid_out)
{
int status;
int ndim, dims[5], i;
size_t dsize, size;
char errmsg[512];
double *data=NULL;
if( mpp_pe() != mpp_root_pe() ) return;

if(fid_in<0 || fid_in >=nfiles) mpp_error("mpp_io(mpp_copy_var): invalid fid_in number, fid should be "
"a nonnegative integer that less than nfiles");
if(fid_out<0 || fid_out >=nfiles) mpp_error("mpp_io(mpp_copy_var): invalid fid_out number, fid should be "
"a nonnegative integer that less than nfiles");
/*
ncid_in = files[fid_in].ncid;
ncid_out = files[fid_out].ncid;
fldid_in = files[fid_in].var[vid_in].fldid;
fldid_out = files[fid_out].var[vid_out].fldid;
*/
ndim = mpp_get_var_ndim(fid_in, vid_in);
status = nc_inq_vardimid(files[fid_in].ncid, files[fid_in].var[vid_in].fldid,dims);
if(status != NC_NOERR) {
sprintf(errmsg, "mpp_io(mpp_copy_data): Error in getting dimid of var %s from file %s",
files[fid_in].var[vid_in].name, files[vid_in].name );
netcdf_error(errmsg, status);
}
dsize = 1;
for(i=0; i<ndim; i++) {
status = nc_inq_dimlen(files[fid_in].ncid, dims[i], &size);
if(status != NC_NOERR) {
sprintf(errmsg, "mpp_io(mpp_copy_data): error in inquiring dimlen from file %s", files[fid_in].name);
netcdf_error(errmsg, status);
}
dsize *= size;
}

data = (void *)malloc(dsize*sizeof(double));

mpp_get_var_value(fid_in, vid_in, data);
mpp_put_var_value(fid_out, vid_out, data);
free(data);
}

int mpp_get_var_natts(int fid, int vid)
{
int natts, ncid, fldid, status;
Expand Down Expand Up @@ -1318,3 +1483,40 @@ int get_great_circle_algorithm(int fid)
return great_circle_algorithm;
}

void set_in_format(char *format)
{
char errmsg[128];


if(!format) return;
if(!strcmp(format, "netcdf4"))
in_format = NC_FORMAT_NETCDF4;
else if(!strcmp(format, "netcdf4_classic"))
in_format = NC_FORMAT_NETCDF4_CLASSIC;
else if(!strcmp(format, "64bit_offset"))
in_format = NC_FORMAT_64BIT;
else if(!strcmp(format, "classic"))
in_format = NC_FORMAT_CLASSIC;
else {
sprintf(errmsg, "mpp_io(mpp_open): format = %s is not a valid option", format);
mpp_error(errmsg);
}
}

/**
void reset_in_format(int format)
Checks for validity of "format", prints a warning if needed, otherwise
resets the global variable in_format to the input argument "format".
**/
void reset_in_format(int format) {
char errmsg[128];

if ((format != NC_FORMAT_NETCDF4) && (format != NC_FORMAT_NETCDF4_CLASSIC) && (format != NC_FORMAT_64BIT) &&
(format != NC_FORMAT_CLASSIC)) {
sprintf(errmsg, "mpp_io(reset_in_format): format = %d is not a valid format", format);
mpp_error(errmsg);
} else {
in_format = format;
}
}

5 changes: 5 additions & 0 deletions sorc/fre-nctools.fd/shared_lib/mpp_io.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ char mpp_get_var_cart(int fid, int vid);
void mpp_get_var_dimname(int fid, int vid, int ind, char *name);
char mpp_get_dim_cart(int fid, const char *name);
void mpp_get_var_bndname(int fid, int vid, char *bndname);
int mpp_get_record_name(int fid, char *name);
int mpp_var_att_exist(int fid, int vid, const char *att);
int mpp_global_att_exist(int fid, const char *att);
int mpp_def_dim(int fid, const char* name, int size);
Expand All @@ -45,6 +46,7 @@ void mpp_def_global_att(int fid, const char *name, const char *val);
void mpp_def_global_att_double(int fid, const char *name, size_t len, const double *val);
void mpp_def_var_att(int fid, int vid, const char *attname, const char *attval);
void mpp_def_var_att_double(int fid, int vid, const char *attname, double attval);
void mpp_copy_data(int fid_in, int vid_in, int fid_out, int vid_out);
void mpp_copy_var_att(int fid_in, int vid_in, int fid_out, int vid_out);
void mpp_copy_global_att(int fid_in, int fid_out);
void mpp_put_var_value(int fid, int vid, const void* data);
Expand All @@ -56,4 +58,7 @@ int mpp_field_exist(const char *file, const char *field);
int mpp_var_exist(int fid, const char *field);
int mpp_dim_exist(int fid, const char *dimname);
int get_great_circle_algorithm(int fid);
void mpp_set_deflation(int fid_in, int fid_out, int deflation, int shuffle);
void set_in_format(char *format);
void reset_in_format(int format);
#endif
Loading