Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Major problem when running any scripts in the $DOUT_S_ROOT directory while the short term archiver is active.

aliceb

Member
There is a known and potentially severe problem that can remove all your data
in the short term archive directory ($DOUT_S_ROOT) accidently.  This could cause
you to lose your model data forever.  The problem occurs in CESM1.0.z and CESM1.1.z. 
when

- the short term archiver is running as part of a case
AND

- diagnostics or post-processing scripts are accessing the same short term archive directory

This problem has been fixed in CESM1.2.z.

For CESM1.0.z and CESM1.1.z, we currently recommend that users never run diagnostics or
post-processing packages in the same location as the short-term archiver when the short term
archiver is active.

Another option in CESM1.0.z and CESM1.1.x is to replace the following code segment at
the end of the scripts/ccsm_utils/Tools/st_archive.sh script:

Old Code (lines 305-306):

mv ${sta}/* ${DOUT_S_ROOT}
rm -fr ${sta}

New Code (lines 305-312):

if mv ${sta}/* ${DOUT_S_ROOT}; then
    rm -fr ${sta}
else
    echo "st_archive.sh: error, final move command unsuccessful"
    echo "               some short-term archive data may be in ${sta}"
    echo "st_archive.sh: exiting"
    exit 1
fi
 
Top