generated from NOAA-GFDL/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from nikizadehgfdl/remove_numpy.round_
Swap numpy.round_() with numpy.round()
- Loading branch information
Showing
7 changed files
with
26 additions
and
44 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
hash.md5.gfdl-pan105 | ||
hash.md5.gfdl-ws |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
#works for gfdl-ws, pan106 | ||
0ecf1226cda789e225bfa65edadc509c ocean_hgrid_res4.0.nc | ||
f49fd3bdbfe4c4764802c591341b1ea2 ocean_hgrid_res1.0.nc | ||
01d0bfa698d16cec35320c5eaea58a48 ocean_hgrid_res0.5.nc | ||
cdbe7784f00a0ca8139da4019a961f89 ocean_hgrid_res0.5_equenh.nc | ||
e105c3f0ca219299015065178c18b998 ocean_hgrid_res0.25.nc | ||
b382087f5259eaad3fb9a0019eccce43 ocean_hgrid_res0.125.nc | ||
ae4edcf1e642e8814f6d251b794502ab ocean_hgrid_res4.0.nc | ||
0e0e0516de806e3e7eafe843c91cd0b6 ocean_hgrid_res1.0.nc | ||
40ec628816f345f7f32bd083b1daed7a ocean_hgrid_res0.5.nc | ||
e05ad585e54bced814792957f2aa64c8 ocean_hgrid_res0.5_equenh.nc | ||
5982d645b30fda55851ab702ed154cbb ocean_hgrid_res0.25.nc | ||
ade918163ce229ab4bcec67950f58421 ocean_hgrid_res0.25_om5proto.nc |
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 |
---|---|---|
@@ -1,33 +1,12 @@ | ||
10/29/2021 | ||
07/31/2024 | ||
---------- | ||
The md5 checksum hashes were obtained by using the following python setup | ||
|
||
export PYTHONPATH="/net2/nnz/opt/miniconda/lib/python3.8/site-packages"; export PATH="/net2/nnz/opt/miniconda/bin:$PATH"; export HDF5_USE_FILE_LOCKING=FALSE ; . activate om4labs | ||
export PATH="/net2/nnz/opt/miniconda/bin:$PATH"; export HDF5_USE_FILE_LOCKING=FALSE ; . activate platforms | ||
|
||
Currenly the checksum don't match between gfdl-ws and gfdl-pan for 1/4 and 1/8 degree grids (ocean_hgrid_res0.25.nc and ocean_hgrid_res0.125.nc ) | ||
The tests were run on gfdl-ws , gfdl-pan-* using the same python executable and environment as shown above! | ||
|
||
################################################# | ||
OLD, deprecated | ||
################################################# | ||
#On gfdl pan the following were checked identical | ||
There seems to be at least two sets of different answers for two sets of platforms: | ||
- Checksums match between gfdl-ws , gfdl-pan-202 , awscloud, | ||
- Checksums match between gfdl-pan-10* , gfdl amdbox | ||
|
||
#To reproduce MIDAS grids: | ||
#OM4p25 | ||
module load python/2.7.3_workstation | ||
/work/Niki.Zadeh/grid_generation/ocean_grid_generator.py -f ocean_hgrid_res0.25_MIDAS.nc -r 4 --south_cutoff_row 81 --reproduce_MIDAS_grids --write_subgrid_files | ||
nccmp -d ocean_hgrid_res0.25_MIDAS.nc /archive/gold/datasets/OM4_025/mosaic.v20170622.unpacked/ocean_hgrid.nc | ||
|
||
#OM4p5 | ||
module swap python/2.7.3_workstation | ||
/work/Niki.Zadeh/grid_generation/ocean_grid_generator.py -f ocean_hgrid_res0.5_MIDAS.nc -r 2 --rdp 0 --south_cutoff_row 81 --reproduce_MIDAS_grids --write_subgrid_files | ||
nccmp -d ocean_hgrid_res0.5_MIDAS.nc /archive/gold/datasets/OM4_05/mosaic_ocean.v20180227.unpacked/ocean_hgrid.nc | ||
|
||
#To reproduce 1/8 degree JRA grid | ||
module swap python/3.6.4 #Note the version | ||
/work/Niki.Zadeh/grid_generation/ocean_grid_generator.py -f ocean_hgrid_res0.125_old.nc -r 8 --write_subgrid_files --reproduce_old8_grids --write_subgrid_files | ||
nccmp -d ocean_hgrid_res0.125_old.nc /archive/Niki.Zadeh/input/xanadu/OM4p125_grid/unpacked/ocean_hgrid.nc | ||
|
||
#On gfdl workstation I get | ||
#nccmp -d ocean_hgrid_res0.125_old.nc /archive/Niki.Zadeh/input/xanadu/OM4p125_grid/unpacked/ocean_hgrid.nc | ||
#DIFFER : VARIABLE : y : POSITION : 1 1362 : VALUES : -83.4759 <> -83.4759 | ||
#This means something has changed in my python envoirons since I produced that grid in July2018 |
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