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

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 :)
 
Top