Skip to content

Commit

Permalink
Merge branch 'NOAA-EMC:develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
hsinmulin-NOAA authored Jan 24, 2024
2 parents bc3b8e2 + 945cb2c commit d6e76cb
Show file tree
Hide file tree
Showing 17 changed files with 31 additions and 21 deletions.
2 changes: 1 addition & 1 deletion docs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set(abs_top_srcdir "${CMAKE_SOURCE_DIR}")
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY)

# Build documentation with target all.
add_custom_target(doc ALL
add_custom_target(upp_doc ALL
${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Generating API Documentation with Doxygen" VERBATIM)
Expand Down
6 changes: 3 additions & 3 deletions parm/nam_cntrl_cmaq.xml
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@

<param>
<shortname>SOILM_ON_DEPTH_BEL_LAND_SFC</shortname>
<pname>SOILM</pname>
<pname>SOILMOI</pname>
<scale_fact_fixed_sfc1>2</scale_fact_fixed_sfc1>
<level>0.</level>
<scale_fact_fixed_sfc2>2</scale_fact_fixed_sfc2>
Expand Down Expand Up @@ -2282,7 +2282,7 @@

<param>
<shortname>SOILM_ON_DEPTH_BEL_LAND_SFC</shortname>
<pname>SOILM</pname>
<pname>SOILMOI</pname>
<scale_fact_fixed_sfc1>2</scale_fact_fixed_sfc1>
<level>0.</level>
<scale_fact_fixed_sfc2>2</scale_fact_fixed_sfc2>
Expand Down Expand Up @@ -3793,7 +3793,7 @@

<param>
<shortname>SOILM_ON_DEPTH_BEL_LAND_SFC</shortname>
<pname>SOILM</pname>
<pname>SOILMOI</pname>
<scale_fact_fixed_sfc1>2</scale_fact_fixed_sfc1>
<level>0.</level>
<scale_fact_fixed_sfc2>2</scale_fact_fixed_sfc2>
Expand Down
2 changes: 1 addition & 1 deletion parm/nam_post_avblflds.xml
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@
<param>
<post_avblfldidx>36</post_avblfldidx>
<shortname>SOILM_ON_DEPTH_BEL_LAND_SFC</shortname>
<pname>SOILM</pname>
<pname>SOILMOI</pname>
<fixed_sfc1_type>depth_bel_land_sfc</fixed_sfc1_type>
<scale_fact_fixed_sfc1>2</scale_fact_fixed_sfc1>
<fixed_sfc2_type>depth_bel_land_sfc</fixed_sfc2_type>
Expand Down
2 changes: 1 addition & 1 deletion parm/ngac_post_avblflds.xml
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@
<param>
<post_avblfldidx>36</post_avblfldidx>
<shortname>SOILM_ON_DEPTH_BEL_LAND_SFC</shortname>
<pname>SOILM</pname>
<pname>SOILMOI</pname>
<fixed_sfc1_type>depth_bel_land_sfc</fixed_sfc1_type>
<scale>3.0</scale>
</param>
Expand Down
1 change: 0 additions & 1 deletion parm/params_grib2_tbl_new
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,6 @@
2 3 5 0 SOILL
2 3 192 1 SOILL
2 3 19 0 SOILMOI
2 0 22 0 SOILM
2 3 15 0 SOILP
2 0 239 1 SOILSE
2 3 18 0 SOILTMP
Expand Down
6 changes: 4 additions & 2 deletions parm/params_grib2_tbl_new.text
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
0 1 19 0 PTYPE
0 1 20 0 ILIQW
0 1 21 0 TCOND
! Changed from CLWMR to CLWR
! Changed from CLWMR to CLWR
! (WGRIB2 v2.0.8 updated) in 4/6/2021
0 1 22 0 CLMR
0 1 23 0 ICMR
Expand Down Expand Up @@ -955,6 +955,7 @@
2 0 0 0 LAND
2 0 1 0 SFCR
2 0 2 0 TSOIL
! Parameter SOILM deprecated 12/03/2021
! 2 0 3 0 SOILM
2 0 4 0 VEG
2 0 5 0 WATR
Expand All @@ -975,7 +976,8 @@
2 0 19 0 RCT
2 0 20 0 RCSOL
2 0 21 0 RCQ
2 0 22 0 SOILM
! Parameter SOILD deprecated 12/03/2021
! 2 0 22 0 SOILM
2 0 23 0 CISOILW
2 0 24 0 HFLUX
2 0 25 0 VSOILM
Expand Down
2 changes: 1 addition & 1 deletion parm/post_avblflds.xml
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@
<param>
<post_avblfldidx>36</post_avblfldidx>
<shortname>SOILM_ON_DEPTH_BEL_LAND_SFC</shortname>
<pname>SOILM</pname>
<pname>SOILMOI</pname>
<fixed_sfc1_type>depth_bel_land_sfc</fixed_sfc1_type>
<fixed_sfc2_type>depth_bel_land_sfc</fixed_sfc2_type>
<scale>3.0</scale>
Expand Down
2 changes: 1 addition & 1 deletion parm/post_avblflds_raphrrr.xml
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@
<param>
<post_avblfldidx>36</post_avblfldidx>
<shortname>SOILM_ON_DEPTH_BEL_LAND_SFC</shortname>
<pname>SOILM</pname>
<pname>SOILMOI</pname>
<fixed_sfc1_type>depth_bel_land_sfc</fixed_sfc1_type>
<scale>3.0</scale>
</param>
Expand Down
2 changes: 1 addition & 1 deletion parm/postxconfig-NT-GFS-F00-TWO.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7475,7 +7475,7 @@ SOILM_ON_DEPTH_BEL_LAND_SFC
?
1
tmpl4_0
SOILM
SOILMOI
?
?
depth_bel_land_sfc
Expand Down
2 changes: 1 addition & 1 deletion parm/postxconfig-NT-GFS-FLUX-F00.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1686,7 +1686,7 @@ SOILM_ON_DEPTH_BEL_LAND_SFC
?
1
tmpl4_0
SOILM
SOILMOI
?
?
depth_bel_land_sfc
Expand Down
2 changes: 1 addition & 1 deletion parm/postxconfig-NT-GFS-FLUX.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3832,7 +3832,7 @@ SOILM_ON_DEPTH_BEL_LAND_SFC
?
1
tmpl4_0
SOILM
SOILMOI
?
?
depth_bel_land_sfc
Expand Down
2 changes: 1 addition & 1 deletion parm/postxconfig-NT-GFS-TWO.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11619,7 +11619,7 @@ SOILM_ON_DEPTH_BEL_LAND_SFC
?
1
tmpl4_0
SOILM
SOILMOI
?
?
depth_bel_land_sfc
Expand Down
6 changes: 3 additions & 3 deletions parm/postxconfig-NT-NMM.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2169,7 +2169,7 @@ SOILM_ON_DEPTH_BEL_LAND_SFC
?
1
tmpl4_0
SOILM
SOILMOI
?
?
depth_bel_land_sfc
Expand Down Expand Up @@ -11916,7 +11916,7 @@ SOILM_ON_DEPTH_BEL_LAND_SFC
?
1
tmpl4_0
SOILM
SOILMOI
?
?
depth_bel_land_sfc
Expand Down Expand Up @@ -19850,7 +19850,7 @@ SOILM_ON_DEPTH_BEL_LAND_SFC
?
1
tmpl4_0
SOILM
SOILMOI
?
?
depth_bel_land_sfc
Expand Down
2 changes: 1 addition & 1 deletion parm/postxconfig-NT-rap.txt
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ SOILM_ON_DEPTH_BEL_LAND_SFC
?
1
tmpl4_0
SOILM
SOILMOI
?
?
depth_bel_land_sfc
Expand Down
2 changes: 1 addition & 1 deletion sorc/libIFI.fd
2 changes: 1 addition & 1 deletion sorc/ncep_post.fd/MDLFLD.f
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ SUBROUTINE MDLFLD

ELSE IF(((MODELNAME == 'NMM' .and. GRIDTYPE=='B') .OR. MODELNAME == 'FV3R' &
.OR. MODELNAME == 'GFS') &
.and. imp_physics==8)THEN !NMMB or FV3R or GFS +THOMPSON
.and. (imp_physics==8 .or. imp_physics==17 .or. imp_physics==18))THEN !NMMB or FV3R or GFS +THOMPSON
DO L=1,LM
DO J=JSTA,JEND
DO I=ista,iend
Expand Down
9 changes: 9 additions & 0 deletions tests/compile_upp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,14 @@ while getopts ":p:gwc:vhiId" opt; do
;;
esac
done

if [[ ! -z $debug_opt && $ifi_opt =~ INTERNAL.*=ON ]] ; then
echo ENABLING IFI DEBUG
# When building debug mode with internal IFI, also enable debugging in IFI.
# This includes bounds checking in much of the libIFI C++ library.
debug_opt="$debug_opt -DIFI_DEBUG=ON"
fi

cmake_opts=" -DCMAKE_INSTALL_PREFIX=$prefix"${wrfio_opt}${gtg_opt}${ifi_opt}${debug_opt}

if [[ $(uname -s) == Darwin ]]; then
Expand Down Expand Up @@ -112,6 +120,7 @@ if [[ $MACHINE_ID != "unknown" ]]; then
module list
fi

set -x
BUILD_DIR=${BUILD_DIR:-"build"}
rm -rf ${BUILD_DIR} install
mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR}
Expand Down

0 comments on commit d6e76cb

Please sign in to comment.