forked from ufs-community/UFS_UTILS
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into bugfix/filter_topo
Fixes ufs-community#105
- Loading branch information
Showing
34 changed files
with
1,186 additions
and
131 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.5.0 | ||
1.6.0 |
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
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,28 @@ | ||
#%Module##################################################### | ||
## Build and run module for S4 | ||
############################################################# | ||
|
||
module load license_intel/S4 | ||
module use /data/prod/hpc-stack/modulefiles/stack | ||
module load hpc/1.1.0 | ||
module load hpc-intel/18.0.4 | ||
module load hpc-impi/18.0.4 | ||
|
||
module load bacio/2.4.1 | ||
module load g2/3.4.1 | ||
module load ip/3.3.3 | ||
module load nemsio/2.5.2 | ||
module load sp/2.3.3 | ||
module load w3nco/2.4.1 | ||
module load sfcio/1.4.1 | ||
module load sigio/2.3.2 | ||
module load wgrib2/2.0.8 | ||
|
||
module load jasper/2.0.22 | ||
module load zlib/1.2.11 | ||
module load png/1.6.35 | ||
|
||
module load hdf5/1.10.6 | ||
module load netcdf/4.7.4 | ||
module load nccmp/1.8.7.0 | ||
module load esmf/8_1_0_beta_snapshot_27 |
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
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,86 @@ | ||
#!/bin/bash | ||
|
||
#----------------------------------------------------------------------------- | ||
# Invoke chgres to create 25-km CONUS coldstart files using GFS | ||
# PGRIB2+BGRIB2 data as input. The coldstart files are then compared to | ||
# baseline files using the 'nccmp' utility. This script is run by the | ||
# This script is run by the machine specific driver script. | ||
#----------------------------------------------------------------------------- | ||
|
||
set -x | ||
|
||
export DATA=$OUTDIR/25km_conus_gfs_pbgrib2 | ||
rm -fr $DATA | ||
|
||
export CRES=403 | ||
export KMRES=25km | ||
export FIXfv3=${HOMEreg}/fix/RRFS_CONUS_${KMRES} | ||
export FIXsfc=${FIXfv3}/fix_sfc | ||
export COMIN=${HOMEreg}/input_data/gfs.pbgrib2 | ||
|
||
export GRIB2_FILE_INPUT=gfs.t18z.pgrb2.0p25.f006 | ||
export VCOORD_FILE=${HOMEufs}/fix/fix_am/global_hyblev.l64.txt | ||
export VARMAP_FILE=${HOMEufs}/parm/varmap_tables/GFSphys_var_map.txt | ||
export INPUT_TYPE='grib2' | ||
export CONVERT_NST=".false." | ||
export OROG_FILES_TARGET_GRID="C403_oro_data.tile7.halo4.nc" | ||
export REGIONAL=1 | ||
export HALO_BLEND=0 | ||
export HALO_BNDY=4 | ||
export CDATE=2021062718 | ||
|
||
export OMP_NUM_THREADS_CH=${OMP_NUM_THREADS:-1} | ||
|
||
#----------------------------------------------------------------------------- | ||
# Invoke chgres program. | ||
#----------------------------------------------------------------------------- | ||
|
||
echo "Starting at: " `date` | ||
|
||
${HOMEufs}/ush/chgres_cube.sh | ||
|
||
iret=$? | ||
if [ $iret -ne 0 ]; then | ||
set +x | ||
echo "<<< 25-km CONUS GFS PGRIB2+BGRIB2 TEST FAILED. >>>" | ||
exit $iret | ||
fi | ||
|
||
echo "Ending at: " `date` | ||
|
||
#----------------------------------------------------------------------------- | ||
# Compare output from chgres to baseline set of data. | ||
# | ||
# orion's nccmp utility does not work with the netcdf | ||
# required to run ufs_utils. So swap it. | ||
#----------------------------------------------------------------------------- | ||
|
||
machine=${machine:-NULL} | ||
if [ $machine == 'orion' ]; then | ||
module unload netcdfp/4.7.4.release | ||
module load netcdf/4.7.2 | ||
fi | ||
|
||
cd $DATA | ||
|
||
test_failed=0 | ||
for files in *.nc | ||
do | ||
if [ -f $files ]; then | ||
echo CHECK $files | ||
$NCCMP -dmfqS $files $HOMEreg/baseline_data/25km_conus_gfs_pbgrib2/$files | ||
iret=$? | ||
if [ $iret -ne 0 ]; then | ||
test_failed=1 | ||
fi | ||
fi | ||
done | ||
|
||
set +x | ||
if [ $test_failed -ne 0 ]; then | ||
echo "<<< 25-KM CONUS GFS PGRIB2+BGRIB2 TEST FAILED. >>>" | ||
else | ||
echo "<<< 25-KM CONUS GFS PGRIB2+BGRIB2 TEST PASSED. >>>" | ||
fi | ||
|
||
exit 0 |
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.