rice-solar-physics / pydrad

Python tools for setting up HYDRAD runs and parsing output
https://pydrad.readthedocs.io
MIT License
4 stars 3 forks source link

Add checkpointing convenience function #148

Open wtbarnes opened 3 years ago

wtbarnes commented 3 years ago

If a HYDRAD run stops running for some reason, it can be restarted from the last completed timestep by using the most recent AMR file in HYDRAD/config/hydrad.cfg. It would be convenient if there was a function in pydrad that could modify this configuration file for you with the desired AMR filename, either doing it inplace or creating a new instance altogether.