Skip to content

Commit

Permalink
orog.fd - Reduce dependency on SPLIB and some cleanup (#889)
Browse files Browse the repository at this point in the history
- Remove routines MAKEMT, MAKEPC and MAKEOA, which were used for the old spectral GFS 
gaussian grid (and have dependencies on SPLIB) and are now obsolete.
- Remove write of the GRIB1 version of the 'orog' file. That was only used for the old spectral 
GFS and had dependencies on SPLIB.
- Remove write of old binary version of the 'orog' file, which was used for the old spectral GFS.
- Remove BACIO library from the build.
- Remove unused variables and perform some general cleanup.

Fixes #886.
  • Loading branch information
GeorgeGayno-NOAA authored Jan 30, 2024
1 parent 547459c commit 6dee392
Show file tree
Hide file tree
Showing 6 changed files with 112 additions and 1,356 deletions.
2 changes: 1 addition & 1 deletion reg_tests/grid_gen/driver.hercules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module list
set -x
ulimit -s unlimited

export WORK_DIR="${WORK_DIR:-/work/noaa/stmp/$LOGNAME}"
export WORK_DIR="${WORK_DIR:-/work2/noaa/stmp/$LOGNAME}"
export WORK_DIR="${WORK_DIR}/reg-tests/grid-gen"
QUEUE="${QUEUE:-batch}"
PROJECT_CODE=${PROJECT_CODE:-fv3-cpu}
Expand Down
2 changes: 1 addition & 1 deletion reg_tests/weight_gen/driver.hercules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module use ../../modulefiles
module load build.$target.$compiler
module list

export DATA="${WORK_DIR:-/work/noaa/stmp/$LOGNAME}"
export DATA="${WORK_DIR:-/work2/noaa/stmp/$LOGNAME}"
export DATA="${DATA}/reg-tests/weight_gen"

#-----------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion sorc/orog_mask_tools.fd/orog.fd/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ target_include_directories(orog_lib INTERFACE ${mod_dir})
target_link_libraries(
orog_lib
PUBLIC
bacio::bacio_4
w3emc::w3emc_d
ip::ip_d
sp::sp_d
Expand Down
Loading

0 comments on commit 6dee392

Please sign in to comment.