Skip to content

Commit

Permalink
Copy datm restarts if DEP_RUN and make rpointer.atm
Browse files Browse the repository at this point in the history
  • Loading branch information
NickSzapiro-NOAA committed Dec 11, 2024
1 parent 4511cb3 commit b4862c5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions tests/fv3_conf/cpld_datm_cdeps.IN
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,9 @@ else
cp ../${DEP_RUN}${RT_SUFFIX}/${CICE_RESTART_DIR}/iced.2011-10-01-43200.nc ./INPUT
RFILE="iced.2011-10-01-43200.nc"
ls -1 "./INPUT/"${RFILE}>ice.restart_file

# CDEPS restart and pointer files
RFILE="DATM_${DATM_SRC}.datm.r.2011-10-01-43200.nc"
cp ../${DEP_RUN}${RT_SUFFIX}/${RFILE} ./INPUT
ls -1 "./INPUT/"${RFILE}>rpointer.atm
fi
7 changes: 6 additions & 1 deletion tests/fv3_conf/cpld_datm_cdeps_gfs.IN
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,17 @@ else
cp ../${DEP_RUN}${RT_SUFFIX}/${MOM6_RESTART_DIR}/MOM.res.2021-03-22-18*.nc ./INPUT/MOM.res.nc

# CMEPS restart and pointer files
RFILE="DATM_${DATM_SRC}.cpl.r.2021-03-22-64800.nc.nc"
RFILE="DATM_${DATM_SRC}.cpl.r.2021-03-22-64800.nc"
cp ../${DEP_RUN}${RT_SUFFIX}/${CMEPS_RESTART_DIR}/${RFILE} .
ls -1 ${RFILE}>rpointer.cpl

# CICE restart and pointer files
cp ../${DEP_RUN}${RT_SUFFIX}/${CICE_RESTART_DIR}/iced.2021-03-22-64800.nc ./INPUT
RFILE="iced.2021-03-22-64800.nc"
ls -1 "./INPUT/"${RFILE}>ice.restart_file

# CDEPS restart and pointer files
RFILE="DATM_${DATM_SRC}.datm.r.2021-03-22-64800.nc"
cp ../${DEP_RUN}${RT_SUFFIX}/${RFILE} ./INPUT
ls -1 "./INPUT/"${RFILE}>rpointer.atm
fi

0 comments on commit b4862c5

Please sign in to comment.