Skip to content

Commit

Permalink
- added changes for creating one config.fcst and config.base.emc.dyn …
Browse files Browse the repository at this point in the history
…file

  (for now, still need to define CCPP_SUITE in config.base)
- made config.base.nco.static executable
- removed fcst and base.emc.dyn files for v15
- made aeroic.sh Korn shell script
  • Loading branch information
jkhender committed Jan 13, 2020
1 parent 80e7ea6 commit 943cfdc
Show file tree
Hide file tree
Showing 6 changed files with 77 additions and 549 deletions.
29 changes: 19 additions & 10 deletions jobs/rocoto/aeroic.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
#!/bin/bash
#!/bin/ksh -x

###############################################################
## Abstract:
## Append aerosol variables, ice_aero and liq_aero, to gfs_data FV3 initial condition files
## RUN_ENVIR : runtime environment (emc | nco)
## HOMEgfs : /full/path/to/workflow
## EXPDIR : /full/path/to/config/files
## CDATE : current date (YYYYMMDDHH)
## CDUMP : cycle name (gdas / gfs)
## PDY : current date (YYYYMMDD)
## cyc : current cycle (HH)
###############################################################

###############################################################
# Source FV3GFS workflow modules
. $HOMEgfs/ush/load_fv3gfs_modules.sh
status=$?
[[ $status -ne 0 ]] && exit $status

###############################################################
# Source relevant configs
Expand All @@ -11,15 +29,6 @@ done

# initialize
AERO_DIR=${HOMEgfs}/sorc/aeroconv
module purge
module load intel/18.0.5.274
module load hdf5/1.10.5
module load netcdf/4.7.0
module load grib_api/1.26.1
module load contrib
module load anaconda/2.3.0
module load nco/4.7.0
module load ncl/6.5.0
export LD_PRELOAD=$AERO_DIR/thirdparty/lib/libjpeg.so
export PYTHONPATH=$AERO_DIR/thirdparty/lib/python2.7/site-packages:$PYTHONPATH

Expand Down
17 changes: 14 additions & 3 deletions parm/config/config.base.emc.dyn
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ if [ $machine = "THEIA" ]; then

fi

#### CCPP Suite
#### export CCPP_SUITE="FV3_GSD_v0" # testgsdsuite
export CCPP_SUITE="FV3_GFS_v15" # testemc

# Toggle to turn on/off GFS downstream processing.
export DO_BUFRSND="NO"
export DO_GEMPAK="NO"
Expand Down Expand Up @@ -219,8 +223,11 @@ if [[ "$CDUMP" == "gdas" ]] ; then
export FHCYC=1
export FTSFS=10
elif [[ "$CDUMP" == "gfs" ]] ; then
#JKHexport FHCYC=24
export FHCYC=0
if [[ "$CCPP_SUITE" == "FV3_GSD_v0" ]] ; then
export FHCYC=0
else
export FHCYC=24
fi
fi

# Output frequency of the forecast model (for cycling)
Expand Down Expand Up @@ -261,7 +268,11 @@ export IAU_DELTHRS_ENKF=6
[[ "$SDATE" = "$CDATE" ]] && ( export DOIAU="NO"; export DOIAU_ENKF="NO" )

# Microphysics Options: 99-ZhaoCarr, 8-Thompson; 6-WSM6, 10-MG, 11-GFDL
export imp_physics=8
if [[ "$CCPP_SUITE" == "FV3_GSD_v0" ]] ; then
export imp_physics=8
else
export imp_physics=11
fi

# Shared parameters
# Hybrid related
Expand Down
303 changes: 0 additions & 303 deletions parm/config/config.base.emc.dyn_v15

This file was deleted.

Empty file modified parm/config/config.base.nco.static
100644 → 100755
Empty file.
Loading

0 comments on commit 943cfdc

Please sign in to comment.