Skip to content

Commit

Permalink
Merge branch 'develop' into feature/rm_sfcanl
Browse files Browse the repository at this point in the history
  • Loading branch information
RussTreadon-NOAA committed Jun 13, 2022
2 parents 9c48261 + ad84f17 commit 257f6eb
Show file tree
Hide file tree
Showing 580 changed files with 232 additions and 120,095 deletions.
1 change: 0 additions & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ CMake allows for various options that can be specified on the command line via `
| `BUILD_UTIL_EFSOI` | Build Ensemble FSOI application (`OFF`) |
| `BUILD_UTIL_ENKF_GFS` | Build GFS ensemble utilities (`OFF`) |
| `BUILD_UTIL_ENKF_ARW` | Build ARW ensemble utilities (`OFF`) |
| `BUILD_UTIL_MON` | Build Observation Monitoring utilities (`OFF`) |
| `BUILD_UTIL_NCIO` | Build NetCDF IO utilities (`OFF`) |
| `BUILD_UTIL_COM` | Build Miscellaneous community utilities (`OFF`) |
| `BUILD_UTIL_BKGERR` | Build Background Error utility (`OFF`) |
Expand Down
4 changes: 2 additions & 2 deletions jobs/JGDAS_ATMOS_ANALYSIS_DIAG
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ if [ $RUN_ENVIR = "nco" -o ${ROTDIR_DUMP:-NO} = "YES" ]; then
export COMIN_GES_OBS=${COMIN_GES_OBS:-$(compath.py ${envir}/obsproc/${obsproc_ver})/$GDUMP.$gPDY/$gcyc/$COMPONENT}
else
export COMOUT="$ROTDIR/$CDUMP.$PDY/$cyc/$COMPONENT"
export COMIN_OBS="$DMPDIR/$CDUMP.$PDY/$cyc"
export COMIN_GES_OBS="$DMPDIR/$GDUMP.$gPDY/$gcyc"
export COMIN_OBS="$DMPDIR/$CDUMP.$PDY/$cyc/$COMPONENT"
export COMIN_GES_OBS="$DMPDIR/$GDUMP.$gPDY/$gcyc/$COMPONENT"
fi
mkdir -m 775 -p $COMOUT
# COMIN_GES and COMIN_GES_ENS are used in script
Expand Down
4 changes: 2 additions & 2 deletions jobs/JGDAS_ATMOS_CHGRES_FORENKF
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ if [ $RUN_ENVIR = "nco" -o ${ROTDIR_DUMP:-NO} = "YES" ]; then
else
export COMOUT="$ROTDIR/$CDUMP.$PDY/$cyc/$COMPONENT"
export COMOUT_ENS="$ROTDIR/enkfgdas.$PDY/$cyc/$COMPONENT"
export COMIN_OBS="$DMPDIR/$CDUMP.$PDY/$cyc"
export COMIN_GES_OBS="$DMPDIR/$GDUMP.$gPDY/$gcyc"
export COMIN_OBS="$DMPDIR/$CDUMP.$PDY/$cyc/$COMPONENT"
export COMIN_GES_OBS="$DMPDIR/$GDUMP.$gPDY/$gcyc/$COMPONENT"
fi
mkdir -m 775 -p $COMOUT
# COMIN_GES and COMIN_GES_ENS are used in script
Expand Down
4 changes: 2 additions & 2 deletions jobs/JGDAS_ENKF_DIAG
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ if [ $RUN_ENVIR = "nco" -o ${ROTDIR_DUMP:-NO} = "YES" ]; then
export COMIN_OBS=${COMIN_OBS:-$(compath.py ${envir}/obsproc/${obsproc_ver})/$RUN.$PDY/$cyc/$COMPONENT}
export COMIN_GES_OBS=${COMIN_GES_OBS:-$(compath.py ${envir}/obsproc/${obsproc_ver})/$GDUMP.$gPDY/$gcyc/$COMPONENT}
else
export COMIN_OBS="$DMPDIR/$CDUMP.$PDY/$cyc"
export COMIN_GES_OBS="$DMPDIR/$GDUMP.$gPDY/$gcyc"
export COMIN_OBS="$DMPDIR/$CDUMP.$PDY/$cyc/$COMPONENT"
export COMIN_GES_OBS="$DMPDIR/$GDUMP.$gPDY/$gcyc/$COMPONENT"
fi

# COMIN_GES, COMIN_ANL COMIN_GES_ENS, and COMOUT are used in script
Expand Down
4 changes: 2 additions & 2 deletions jobs/JGDAS_ENKF_ECEN
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ if [ $RUN_ENVIR = "nco" -o ${ROTDIR_DUMP:-NO} = "YES" ]; then
export COMIN_OBS=${COMIN_OBS:-$(compath.py ${envir}/obsproc/${obsproc_ver})/$RUN.$PDY/$cyc/$COMPONENT}
export COMIN_GES_OBS=${COMIN_GES_OBS:-$(compath.py ${envir}/obsproc/${obsproc_ver})/$GDUMP.$gPDY/$gcyc/$COMPONENT}
else
export COMIN_OBS="$DMPDIR/$CDUMP.$PDY/$cyc"
export COMIN_GES_OBS="$DMPDIR/$GDUMP.$gPDY/$gcyc"
export COMIN_OBS="$DMPDIR/$CDUMP.$PDY/$cyc/$COMPONENT"
export COMIN_GES_OBS="$DMPDIR/$GDUMP.$gPDY/$gcyc/$COMPONENT"
fi

# COMIN, COMIN_ENS and COMIN_GES_ENS are used in script
Expand Down
4 changes: 2 additions & 2 deletions jobs/JGDAS_ENKF_SELECT_OBS
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ if [ $RUN_ENVIR = "nco" -o ${ROTDIR_DUMP:-NO} = "YES" ]; then
export COMIN_OBS=${COMIN_OBS:-$(compath.py ${envir}/obsproc/${obsproc_ver})/$RUN.$PDY/$cyc/$COMPONENT}
export COMIN_GES_OBS=${COMIN_GES_OBS:-$(compath.py ${envir}/obsproc/${obsproc_ver})/$GDUMP.$gPDY/$gcyc/$COMPONENT}
else
export COMIN_OBS="$DMPDIR/$CDUMP.$PDY/$cyc"
export COMIN_GES_OBS="$DMPDIR/$GDUMP.$gPDY/$gcyc"
export COMIN_OBS="$DMPDIR/$CDUMP.$PDY/$cyc/$COMPONENT"
export COMIN_GES_OBS="$DMPDIR/$GDUMP.$gPDY/$gcyc/$COMPONENT"
fi

# COMIN_GES, COMIN_ANL COMIN_GES_ENS, and COMOUT are used in script
Expand Down
4 changes: 2 additions & 2 deletions jobs/JGDAS_ENKF_SFC
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ if [ $RUN_ENVIR = "nco" -o ${ROTDIR_DUMP:-NO} = "YES" ]; then
export COMIN_OBS=${COMIN_OBS:-$(compath.py ${envir}/obsproc/${obsproc_ver})/$RUN.$PDY/$cyc/$COMPONENT}
export COMIN_GES_OBS=${COMIN_GES_OBS:-$(compath.py ${envir}/obsproc/${obsproc_ver})/$GDUMP.$gPDY/$gcyc/$COMPONENT}
else
export COMIN_OBS="$DMPDIR/$CDUMP.$PDY/$cyc"
export COMIN_GES_OBS="$DMPDIR/$GDUMP.$gPDY/$gcyc"
export COMIN_OBS="$DMPDIR/$CDUMP.$PDY/$cyc/$COMPONENT"
export COMIN_GES_OBS="$DMPDIR/$GDUMP.$gPDY/$gcyc/$COMPONENT"
fi

# COMIN, COMIN_ENS and COMIN_GES_ENS are used in script
Expand Down
11 changes: 9 additions & 2 deletions jobs/JGLOBAL_ATMOS_ANALYSIS
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ if [ $RUN_ENVIR = "nco" -o ${ROTDIR_DUMP:-NO} = "YES" ]; then
export COMIN_GES_OBS=${COMIN_GES_OBS:-$(compath.py ${envir}/obsproc/${obsproc_ver})/$GDUMP.$gPDY/$gcyc/$COMPONENT}
else
export COMOUT="$ROTDIR/$CDUMP.$PDY/$cyc/$COMPONENT"
export COMIN_OBS="$DMPDIR/$CDUMP.$PDY/$cyc"
export COMIN_GES_OBS="$DMPDIR/$GDUMP.$gPDY/$gcyc"
export COMIN_OBS="$DMPDIR/$CDUMP.$PDY/$cyc/$COMPONENT"
export COMIN_GES_OBS="$DMPDIR/$GDUMP.$gPDY/$gcyc/$COMPONENT"
fi
mkdir -m 775 -p $COMOUT
# COMIN_GES and COMIN_GES_ENS are used in script
Expand Down Expand Up @@ -131,6 +131,13 @@ export TCVITL="${COMOUT}/${OPREFIX}syndata.tcvitals.tm00"
[[ $DONST = "YES" ]] && export NSSTBF="${COMIN_OBS}/${OPREFIX}nsstbufr"


# Copy fix file for obsproc
if [ $RUN = "gfs" ]; then
mkdir -p $ROTDIR/fix
cp $FIXgsi/prepobs_errtable.global $ROTDIR/fix/
fi


###############################################################
# Run relevant script
env
Expand Down
4 changes: 2 additions & 2 deletions jobs/JGLOBAL_ATMOS_ANALYSIS_CALC
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ if [ $RUN_ENVIR = "nco" -o ${ROTDIR_DUMP:-NO} = "YES" ]; then
export COMIN_GES_OBS=${COMIN_GES_OBS:-$(compath.py ${envir}/obsproc/${obsproc_ver})/$GDUMP.$gPDY/$gcyc/$COMPONENT}
else
export COMOUT="$ROTDIR/$CDUMP.$PDY/$cyc/$COMPONENT"
export COMIN_OBS="$DMPDIR/$CDUMP.$PDY/$cyc"
export COMIN_GES_OBS="$DMPDIR/$GDUMP.$gPDY/$gcyc"
export COMIN_OBS="$DMPDIR/$CDUMP.$PDY/$cyc/$COMPONENT"
export COMIN_GES_OBS="$DMPDIR/$GDUMP.$gPDY/$gcyc/$COMPONENT"
fi
mkdir -m 775 -p $COMOUT
# COMIN_GES and COMIN_GES_ENS are used in script
Expand Down
2 changes: 1 addition & 1 deletion scripts/exgdas_enkf_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ APRUN_ENKF=${APRUN_ENKF:-${APRUN:-""}}
NTHREADS_ENKF=${NTHREADS_ENKF:-${NTHREADS:-1}}

# Executables
ENKFEXEC=${ENKFEXEC:-$HOMEgfs/exec/global_enkf.x}
ENKFEXEC=${ENKFEXEC:-$HOMEgfs/exec/enkf.x}

# Cycling and forecast hour specific parameters
CDATE=${CDATE:-"2001010100"}
Expand Down
2 changes: 1 addition & 1 deletion scripts/exglobal_atmos_analysis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ DOIAU=${DOIAU:-"NO"}
export IAUFHRS=${IAUFHRS:-"6"}

# Dependent Scripts and Executables
GSIEXEC=${GSIEXEC:-$HOMEgfs/exec/global_gsi.x}
GSIEXEC=${GSIEXEC:-$HOMEgfs/exec/gsi.x}
export NTHREADS_CALCINC=${NTHREADS_CALCINC:-1}
export APRUN_CALCINC=${APRUN_CALCINC:-${APRUN:-""}}
export APRUN_CALCANL=${APRUN_CALCANL:-${APRUN:-""}}
Expand Down
2 changes: 1 addition & 1 deletion scripts/exglobal_diag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export NLN=${NLN:-"/bin/ln -sf"}
export CHGRP_CMD=${CHGRP_CMD:-"chgrp ${group_name:-rstprod}"}
export NEMSIOGET=${NEMSIOGET:-${NWPROD}/exec/nemsio_get}
export NCLEN=${NCLEN:-$HOMEgfs/ush/getncdimlen}
export CATEXEC=${CATEXEC:-$HOMEgfs/exec/ncdiag_cat.x}
export CATEXEC=${CATEXEC:-$HOMEgfs/exec/ncdiag_cat_serial.x}
COMPRESS=${COMPRESS:-gzip}
UNCOMPRESS=${UNCOMPRESS:-gunzip}
APRUNCFP=${APRUNCFP:-""}
Expand Down
4 changes: 2 additions & 2 deletions src/GSD/gsdcloud/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ if(NOT CMAKE_Fortran_COMPILER_ID MATCHES "^(GNU|Intel)$")
endif()

if(CMAKE_Fortran_COMPILER_ID MATCHES "^(Intel)$")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -convert big_endian")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -g -traceback -convert big_endian")
elseif(CMAKE_Fortran_COMPILER_ID MATCHES "^(GNU)$")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fconvert=big-endian")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -g -fbacktrace -fconvert=big-endian")
endif()

if(NOT CMAKE_BUILD_TYPE MATCHES "Debug")
Expand Down
9 changes: 2 additions & 7 deletions src/gsi/fv3_regional_interface.f90
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ subroutine convert_fv3_regional
! 2017-04-08 parrish
! 2018-02-16 wu - read in grid and time infor from fv3 files
! read directly from fv3 files and not writeout GSI internal file
!
! 2020-11-19 Lu & Wang - add time label it for fgat. POC: xuguang.wang@ou.edu
!
! attributes:
! language: f90
Expand All @@ -28,18 +28,13 @@ subroutine convert_fv3_regional

use kinds, only: r_single,r_kind,i_kind
use gsi_rfv3io_mod, only: gsi_rfv3io_get_grid_specs
use gsi_rfv3io_mod, only: bg_fv3regfilenameg

implicit none
integer(i_kind) ierr
character(128) grid_spec,ak_bk


!!!!!!!!!!! get grid specs !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
grid_spec='fv3_grid_spec' ! horizontal grid information
ak_bk='fv3_akbk' ! vertical grid information
call bg_fv3regfilenameg%init(grid_spec_input='fv3_grid_spec',ak_bk_input='fv3_akbk')
call gsi_rfv3io_get_grid_specs(bg_fv3regfilenameg,ierr)
call gsi_rfv3io_get_grid_specs(ierr)
if(ierr/=0)then
write(6,*)' problem in convert_fv3_regional - get_grid_specs Status = ',ierr
call stop2 (555)
Expand Down
Loading

0 comments on commit 257f6eb

Please sign in to comment.