Skip to content

Commit

Permalink
Account for restart file
Browse files Browse the repository at this point in the history
  • Loading branch information
jwallwork23 committed Nov 29, 2024
1 parent 43b8379 commit c673571
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .dev/utils/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,8 @@ fi
if [ "${GISS_ONLY}" = false ]; then
# Copy over configuration files
HUGE_SPACE=${ModelE_Support}/huge_space/${RUNID}
PROD_RUNS=${ModelE_Support}/prod_runs/${RUNID}
CONFIG=${GISS_HOME}/.dev/config
for DIR in ${GISS_HOME} ${HUGE_SPACE} ${PROD_RUNS}; do
for DIR in ${GISS_HOME} ${HUGE_SPACE}; do
ln -s -f ${CONFIG}/geoschem_config.yml ${DIR}/geoschem_config.yml
ln -s -f ${CONFIG}/HEMCO_Config.rc ${DIR}/HEMCO_Config.rc
ln -s -f ${CONFIG}/HEMCO_Diagn.rc ${DIR}/HEMCO_Diagn.rc
Expand All @@ -109,5 +108,8 @@ if [ "${GISS_ONLY}" = false ]; then
done
# Create output directories
mkdir -p ${HUGE_SPACE}/OutputDir
mkdir -p ${PROD_RUNS}/OutputDir
# Setup restarts
mkdir -p ${HUGE_SPACE}/Restarts
ln -s -f ${GC_INPUTS}/ExtData/GEOSCHEM_RESTARTS/GC_14.3.0/GEOSChem.Restart.fullchem.20190701_0000z.nc4 \
${HUGE_SPACE}/Restarts/GEOSChem.Restart.20190701_0000z.nc4
fi
3 changes: 2 additions & 1 deletion .dev/utils/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ export GC_F_LIB=${NETCDF_F_HOME}/lib

# GEOS-Chem input data
# NOTE: Path may need to be edited for your system
export ROOT=${DATA}/gcclassic/ExtData/HEMCO/
export GC_INPUTS=${HOME}/data/gcclassic
export ROOT=${GC_INPUTS}/ExtData/HEMCO/

# Put tools in the path
export PATH=${SOFTWARE}/tools/mk_diags:${PATH}
2 changes: 2 additions & 0 deletions .github/workflows/test_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ jobs:
touch ${DATA}/nudging/merra2/vwnd.2015.MERRA2onGISSE2.nc4
touch ${DATA}/nudging/merra2/uwnd.2016.MERRA2onGISSE2.nc4
touch ${DATA}/nudging/merra2/vwnd.2016.MERRA2onGISSE2.nc4
mkdir -p ${DATA}/gcclassic/ExtData/GEOSCHEM_RESTARTS/GC_14.3.0
touch ${GC_INPUTS}/ExtData/GEOSCHEM_RESTARTS/GC_14.3.0/GEOSChem.Restart.fullchem.20190701_0000z.nc4
- name: Build GISS with GISS_ONLY rundeck
run: |
Expand Down

0 comments on commit c673571

Please sign in to comment.