Skip to content

Commit

Permalink
Merge pull request NOAA-EMC#142 from gsketefian/feature/fixgsm_filenames
Browse files Browse the repository at this point in the history
Feature/fixgsm filenames
  • Loading branch information
JulieSchramm authored Feb 6, 2020
2 parents c07e8db + a806fab commit d433285
Show file tree
Hide file tree
Showing 13 changed files with 600 additions and 313 deletions.
83 changes: 83 additions & 0 deletions tests/baseline_configs/config.regional_009.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
#
# MACHINE will be set by the workflow launch script (launch_FV3SAR_-
# wflow.sh) to value passed in as an argument to that script.
#
MACHINE=""
#
# ACCOUNT will be set by the workflow launch script (launch_FV3SAR_-
# wflow.sh) to value passed in as an argument to that script.
#
ACCOUNT=""
#
# EXPT_SUBDIR will be set by the workflow launch script (launch_FV3SAR_-
# wflow.sh) to a value obtained from the name of this file.
#
EXPT_SUBDIR=""
#
# USE_CRON_TO_RELAUNCH may be reset by the workflow launch script
# (launch_FV3SAR_wflow.sh) to value passed in as an argument to that
# script, but in case it is not, we give it a default value here.
#
USE_CRON_TO_RELAUNCH="TRUE"
#
# CRON_RELAUNCH_INTVL_MNTS may be reset by the workflow launch script
# (launch_FV3SAR_wflow.sh) to value passed in as an argument to that
# script, but in case it is not, we give it a default value here.
#
CRON_RELAUNCH_INTVL_MNTS="02"


QUEUE_DEFAULT="batch"
QUEUE_HPSS="service"
QUEUE_FCST="batch"

VERBOSE="TRUE"

RUN_ENVIR="nco"
PREEXISTING_DIR_METHOD="rename"

EMC_GRID_NAME="conus_c96" # For now (20200130), this is maps to PREDEF_GRID_NAME="EMC_CONUS_coarse".
GRID_GEN_METHOD="GFDLgrid"

QUILTING="TRUE"
USE_CCPP="TRUE"
CCPP_PHYS_SUITE="FV3_GFS_2017_gfdlmp"
FCST_LEN_HRS="06"
LBC_UPDATE_INTVL_HRS="6"

DATE_FIRST_CYCL="20190901"
DATE_LAST_CYCL="20190901"
CYCL_HRS=( "18" )

EXTRN_MDL_NAME_ICS="FV3GFS"
EXTRN_MDL_NAME_LBCS="FV3GFS"

#
# In NCO mode, the following don't need to be explicitly set to "FALSE"
# in this configuration file because the experiment generation script
# will do this (along with printing out an informational message).
#
#RUN_TASK_MAKE_GRID="FALSE"
#RUN_TASK_MAKE_OROG="FALSE"
#RUN_TASK_MAKE_SFC_CLIMO="FALSE"

RUN="an_experiment"
COMINgfs="/scratch1/NCEPDEV/hwrf/noscrub/hafs-input/COMGFS" # Path to directory containing files from the external model (FV3GFS).
STMP="/scratch2/BMC/det/Gerard.Ketefian/UFS_CAM/NCO_dirs/stmp" # Path to directory STMP that mostly contains input files.
PTMP="/scratch2/BMC/det/Gerard.Ketefian/UFS_CAM/NCO_dirs/ptmp" # Path to directory PTMP in which the experiment's output files will be placed.

#
# In NCO mode, the user must manually (e.g. after doing the build step)
# create the symlink "${FIXrrfs}/fix_sar" that points to EMC's FIXsar
# directory on the machine. For example, on hera, the symlink's target
# needs to be
#
# /scratch2/NCEPDEV/fv3-cam/emc.campara/fix_fv3cam/fix_sar
#
# The experiment generation script will then set FIXsar to
#
# FIXsar="${FIXrrfs}/fix_sar/${EMC_GRID_NAME}"
#
# where EMC_GRID_NAME has the value set above.
#

4 changes: 4 additions & 0 deletions tests/baselines_list.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ regional_002
regional_003
regional_004
regional_005
regional_006
regional_007
regional_008
regional_009
2 changes: 1 addition & 1 deletion ush/config.nco.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ VERBOSE="TRUE"
RUN_ENVIR="nco"
PREEXISTING_DIR_METHOD="rename"

EMC_GRID_NAME="conus_c96" # For now, this is maps to PREDEF_GRID_NAME="EMC_CONUS_coarse".
EMC_GRID_NAME="conus_c96" # For now (20200130), this is maps to PREDEF_GRID_NAME="EMC_CONUS_coarse".
GRID_GEN_METHOD="GFDLgrid"

QUILTING="TRUE"
Expand Down
122 changes: 34 additions & 88 deletions ush/config_defaults.sh
Original file line number Diff line number Diff line change
Expand Up @@ -297,10 +297,15 @@ FV3GFS_FILE_FMT_LBCS="nemsio"
# variable defintions file (GLOBAL_VAR_DEFNS_FN) is not the same as the
# one that was used for the static build.
#
# OZONE_PARAM_NO_CCPP:
# The ozone parameterization to use if NOT using a CCPP-enabled forecast
# model executable.
#
#-----------------------------------------------------------------------
#
USE_CCPP="FALSE"
CCPP_PHYS_SUITE="FV3_GSD_v0"
OZONE_PARAM_NO_CCPP="ozphys"
#
#-----------------------------------------------------------------------
#
Expand Down Expand Up @@ -756,93 +761,34 @@ SFC_CLIMO_DIR="/path/to/pregenerated/surface/climo/files"
#
#-----------------------------------------------------------------------
#
# Set the arrays that specify the file names in the system and experiment's
# FIXam directories. Definitions:
#
# FIXgsm_FILENAMES:
# This array contains the names of the fixed files in the system's FIXgsm
# directory that the experiment generation script will either copy or
# create links to.
#
# FIXam_FILENAMES:
# This array contains the names of the files in the local FIXam directory
# that are either copies of or symlinks to the files listed in the
# FIXgsm_FILENAMES array in the FIXgsm directory.
#
#-----------------------------------------------------------------------
#
FIXgsm_FILENAMES=( \
"CFSR.SEAICE.1982.2012.monthly.clim.grb" \
"RTGSST.1982.2012.monthly.clim.grb" \
"seaice_newland.grb" \
"global_climaeropac_global.txt" \
"global_albedo4.1x1.grb" \
"global_glacier.2x2.grb" \
"global_h2o_pltc.f77" \
"global_maxice.2x2.grb" \
"global_mxsnoalb.uariz.t126.384.190.rg.grb" \
"ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77" \
"global_shdmax.0.144x0.144.grb" \
"global_shdmin.0.144x0.144.grb" \
"global_slope.1x1.grb" \
"global_snoclim.1.875.grb" \
"global_snowfree_albedo.bosu.t126.384.190.rg.grb" \
"global_soilmgldas.t126.384.190.grb" \
"global_soiltype.statsgo.t126.384.190.rg.grb" \
"global_tg3clim.2.6x1.5.grb" \
"global_vegfrac.0.144.decpercent.grb" \
"global_vegtype.igbp.t126.384.190.rg.grb" \
"global_zorclim.1x1.grb" \
"global_sfc_emissivity_idx.txt" \
"global_solarconstant_noaa_an.txt" \
"fix_co2_proj/global_co2historicaldata_2010.txt" \
"fix_co2_proj/global_co2historicaldata_2011.txt" \
"fix_co2_proj/global_co2historicaldata_2012.txt" \
"fix_co2_proj/global_co2historicaldata_2013.txt" \
"fix_co2_proj/global_co2historicaldata_2014.txt" \
"fix_co2_proj/global_co2historicaldata_2015.txt" \
"fix_co2_proj/global_co2historicaldata_2016.txt" \
"fix_co2_proj/global_co2historicaldata_2017.txt" \
"fix_co2_proj/global_co2historicaldata_2018.txt" \
"global_co2historicaldata_glob.txt" \
"co2monthlycyc.txt" \
)
# "global_o3prdlos.f77" \
# Set the names of (some of the) global data files that are assumed to
# exist in a system directory (this directory is machine-dependent; the
# the experiment generation script will set it and store it in the variable
# FIXgsm). These file names also appear directly in the forecast model's
# input namelist file.
#
#-----------------------------------------------------------------------
#
FNGLAC="global_glacier.2x2.grb"
FNMXIC="global_maxice.2x2.grb"
FNTSFC="RTGSST.1982.2012.monthly.clim.grb"
FNSNOC="global_snoclim.1.875.grb"
FNZORC="igbp"
FNALBC="global_snowfree_albedo.bosu.t126.384.190.rg.grb"
FNALBC2="global_albedo4.1x1.grb"
FNAISC="CFSR.SEAICE.1982.2012.monthly.clim.grb"
FNTG3C="global_tg3clim.2.6x1.5.grb"
FNVEGC="global_vegfrac.0.144.decpercent.grb"
FNVETC="global_vegtype.igbp.t126.384.190.rg.grb"
FNSOTC="global_soiltype.statsgo.t126.384.190.rg.grb"
FNSMCC="global_soilmgldas.t126.384.190.grb"
FNMSKH="seaice_newland.grb"
FNTSFA=""
FNACNA=""
FNSNOA=""
FNVMNC="global_shdmin.0.144x0.144.grb"
FNVMXC="global_shdmax.0.144x0.144.grb"
FNSLPC="global_slope.1x1.grb"
FNABSC="global_mxsnoalb.uariz.t126.384.190.rg.grb"

FIXam_FILENAMES=( \
"CFSR.SEAICE.1982.2012.monthly.clim.grb" \
"RTGSST.1982.2012.monthly.clim.grb" \
"seaice_newland.grb" \
"aerosol.dat" \
"global_albedo4.1x1.grb" \
"global_glacier.2x2.grb" \
"global_h2oprdlos.f77" \
"global_maxice.2x2.grb" \
"global_mxsnoalb.uariz.t126.384.190.rg.grb" \
"global_o3prdlos.f77" \
"global_shdmax.0.144x0.144.grb" \
"global_shdmin.0.144x0.144.grb" \
"global_slope.1x1.grb" \
"global_snoclim.1.875.grb" \
"global_snowfree_albedo.bosu.t126.384.190.rg.grb" \
"global_soilmgldas.t126.384.190.grb" \
"global_soiltype.statsgo.t126.384.190.rg.grb" \
"global_tg3clim.2.6x1.5.grb" \
"global_vegfrac.0.144.decpercent.grb" \
"global_vegtype.igbp.t126.384.190.rg.grb" \
"global_zorclim.1x1.grb" \
"sfc_emissivity_idx.txt" \
"solarconstant_noaa_an.txt" \
"co2historicaldata_2010.txt" \
"co2historicaldata_2011.txt" \
"co2historicaldata_2012.txt" \
"co2historicaldata_2013.txt" \
"co2historicaldata_2014.txt" \
"co2historicaldata_2015.txt" \
"co2historicaldata_2016.txt" \
"co2historicaldata_2017.txt" \
"co2historicaldata_2018.txt" \
"co2historicaldata_glob.txt" \
"co2monthlycyc.txt" \
)

Loading

0 comments on commit d433285

Please sign in to comment.