Can I configure cime to run a postprocessing script after successful archiving?

peter_pfleiderer

Peter
New Member
Hi,
I was wondering if there is some kind of hook where I can include a postprocessing script for CESM2 model runs.
Ideally, this script would be called after a st_archive job is completed.

I think this could be useful to save storage space:
* only save wind speeds at desired levels (interpolate from model levels)
* remove history files from rest/ folder (I don't understand why they are needed, restarting also works without them)
 

peter_pfleiderer

Peter
New Member
This POSTRUN_SCRIPT is executed before the archiving is performed (I just tested, but the documentation also suggests that "after successful model completion")
It would actually be nice, to have something like a POST_ARCHIVE_SCRIPT option which does exactly the same just after the archiving job.
It's not super important to have this, but would be convenient :)
 
Back
Top