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

Refactor #4

Merged
merged 8 commits into from
Aug 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
10 changes: 4 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules/Modules"

option(OPENMP "use OpenMP threading" OFF)
option(BUILD_POSTEXEC "Build NCEPpost executable" ON)
option(BUILD_WITH_WRFLIB "Build NCEPpost with WRF library" OFF)
option(BUILD_WITH_WRFIO "Build NCEPpost with WRF-IO library" OFF)

if(NOT CMAKE_BUILD_TYPE MATCHES "^(Debug|Release|RelWithDebInfo|MinSizeRel)$")
message(STATUS "Setting build type to 'Release' as none was specified.")
Expand All @@ -33,11 +33,6 @@ if(OPENMP)
find_package(OpenMP REQUIRED COMPONENTS Fortran)
endif()

if(BUILD_WITH_WRFLIB)
find_package(wrf REQUIRED)
else()
set(wrf_FOUND FALSE)
endif()

find_package(w3nco REQUIRED)
find_package(g2 REQUIRED)
Expand All @@ -53,6 +48,9 @@ if(BUILD_POSTEXEC)
find_package(sfcio REQUIRED)
find_package(nemsio REQUIRED)
find_package(gfsio REQUIRED)
if(BUILD_WITH_WRFIO)
find_package(wrf_io REQUIRED)
endif()
endif()

add_subdirectory(sorc)
Expand Down
2 changes: 1 addition & 1 deletion CMakeModules
6 changes: 0 additions & 6 deletions modulefiles/post/v8.0.0-hera
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,9 @@ module-whatis "post"
set ver v8.0.0

# Loading Intel Compiler Suite
#module load intel/19.0.4.243
#module load impi/2019.0.4
module load intel/18.0.5.274
module load impi/2018.0.4

#module use /contrib/modulefiles
module use -a /scratch2/NCEPDEV/nwprod/NCEPLIBS/modulefiles

# Loding nceplibs modules
Expand All @@ -38,15 +35,12 @@ module load ip/3.0.2
module load sp/2.0.3
module load w3nco/2.0.7
module load crtm/2.3.0
#module load netcdf/3.6.3
#module load netcdf/4.7.0
module load g2tmpl/1.6.0
module load wrfio/1.1.1
module load hdf5_parallel/1.10.6
module load netcdf_parallel/4.7.4
module load w3emc_para/2.4.0

#setenv WRFPATH /scratch3/NCEPDEV/nwprod/sorc/wrf_shared.v1.1.0
setenv myFC mpiifort
setenv OPENMP "-qopenmp"
setenv myFCFLAGS "-O3 -convert big_endian -traceback -g -fp-model source -qopenmp -fpp"
Expand Down
10 changes: 10 additions & 0 deletions parm/global_1x1_paramlist_g2
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,13 @@ APTMP:2 m above ground
var discipline=0 master_table=2 parmcat=0 parm=21:2 m above ground
CAPE:180-0 mb above ground
CAPE:255-0 mb above ground
CAPE:90-0 mb above ground
CAPE:surface
CFRZR:surface
CICEP:surface
CIN:180-0 mb above ground
CIN:255-0 mb above ground
CIN:90-0 mb above ground
CIN:surface
CLWMR:50 mb
CLWMR:1000 mb
Expand Down Expand Up @@ -114,6 +116,7 @@ GRLE:950 mb
GRLE:975 mb
GRLE:1 hybrid level
GUST:surface
HCDC:high cloud layer
HGT:0C isotherm
HGT:1000 mb
HGT:100 mb
Expand Down Expand Up @@ -156,6 +159,7 @@ HGT:0.01 mb
HGT:0.02 mb
HGT:0.04 mb
HGT:0.07 mb
HGT:cloud ceiling
HGT:highest tropospheric freezing level
HGT:max wind
HGT:PV=-2e-06 (Km^2/kg/s) surface
Expand Down Expand Up @@ -213,6 +217,7 @@ ICMR:950 mb
ICMR:975 mb
ICMR:1 hybrid level
LAND:surface
LCDC:low cloud layer
LFTX:surface
LHTFL:surface
MSLET:mean sea level
Expand Down Expand Up @@ -257,6 +262,7 @@ O3MR:0.01 mb
O3MR:0.02 mb
O3MR:0.04 mb
O3MR:0.07 mb
MCDC:middle cloud layer
PEVPR:surface
PLPL:255-0 mb above ground
POT:0.995 sigma level
Expand All @@ -278,6 +284,10 @@ PRES:tropopause
PRMSL:mean sea level
PWAT:entire atmosphere
REFC:entire atmosphere
REFD:1 hybrid level
REFD:2 hybrid level
REFD:1000 m above ground
REFD:4000 m above ground
RH:0.33-1 sigma layer
RH:0.44-0.72 sigma layer
RH:0.44-1 sigma layer
Expand Down
10 changes: 10 additions & 0 deletions parm/global_1x1_paramlist_g2.f000
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,13 @@ APTMP:2 m above ground
var discipline=0 master_table=2 parmcat=0 parm=21:2 m above ground
CAPE:180-0 mb above ground
CAPE:255-0 mb above ground
CAPE:90-0 mb above ground
CAPE:surface
CFRZR:surface
CICEP:surface
CIN:180-0 mb above ground
CIN:255-0 mb above ground
CIN:90-0 mb above ground
CIN:surface
CLWMR:50 mb
CLWMR:1000 mb
Expand Down Expand Up @@ -106,6 +108,7 @@ GRLE:950 mb
GRLE:975 mb
GRLE:1 hybrid level
GUST:surface
HCDC:high cloud layer
HGT:0C isotherm
HGT:1000 mb
HGT:100 mb
Expand Down Expand Up @@ -148,6 +151,7 @@ HGT:0.01 mb
HGT:0.02 mb
HGT:0.04 mb
HGT:0.07 mb
HGT:cloud ceiling
HGT:highest tropospheric freezing level
HGT:max wind
HGT:PV=-2e-06 (Km^2/kg/s) surface
Expand Down Expand Up @@ -186,6 +190,7 @@ ICMR:950 mb
ICMR:975 mb
ICMR:1 hybrid level
LAND:surface
LCDC:low cloud layer
LFTX:surface
MSLET:mean sea level
O3MR:1000 mb
Expand Down Expand Up @@ -229,6 +234,7 @@ O3MR:0.01 mb
O3MR:0.02 mb
O3MR:0.04 mb
O3MR:0.07 mb
MCDC:middle cloud layer
PLPL:255-0 mb above ground
POT:0.995 sigma level
PRATE:surface
Expand All @@ -241,6 +247,10 @@ PRES:tropopause
PRMSL:mean sea level
PWAT:entire atmosphere
REFC:entire atmosphere
REFD:1 hybrid level
REFD:2 hybrid level
REFD:1000 m above ground
REFD:4000 m above ground
RH:0.33-1 sigma layer
RH:0.44-0.72 sigma layer
RH:0.44-1 sigma layer
Expand Down
Loading