IN PROGRESS
...
Post-Processing with zppy (needs update)
To post-process a model run, do the following steps. Note that to post-process up to year n, then you must have short-term archived up to year n.
...
Simulations that are deemed sufficiently valuable should be archived using zstash for long-term preservation.
...
Code Block |
---|
#!/bin/bash # Run on NERSC dtn # Load environment that includes zstash source /global/cfs/cdirs/e3sm/software/anaconda_envs/load_latest_e3sm_unified.sh # List of experiments to archive with zstash EXPS=(\ 20200827.alpha4_v1GM.piControl.ne30pg2_r05_EC30to60E2r2-1900_ICG.compy \ 20200905.alpha4_dtOcn.piControl.ne30pg2_r05_EC30to60E2r2-1900_ICG.compy \ ) # Loop over simulations for EXP in "${EXPS[@]}" do echo === Checking ${EXP} === #cd /global/cscratch1/sd/golaz/E3SM_simulations cd /global/cfs/cdirs/e3sm/golaz/E3SM_simulations mkdir -p ${EXP}/zstash cd ${EXP} stamp=`date +%Y%m%d` time zstash check --hpss=/home/g/golaz/2020/${EXP} --workers 2 2>&1 | tee zstash/zstash_check_${stamp}.log done |
More info
Refer to zstash's best practices for E3SM for details.