Add --pack
to pack all netCDF and yaml files used to produce a forcing/trajectory into a .tar.gz file
#163
Labels
enhancement
New feature or request
Just now asking @sjboeing for some forcings he's produced I realised it would be useful to have an argument that could be passed to the commands which produce trajectories and forcings which would save the result into a .tar.gz file, including any intermediate files and the source yaml-files. If we also included the git commit for the copy of lagtraj which produced the forcings this should make creating a forcing complete reproducible, apart from the source-data, including that would be too much. This could also be a handy way of copying trajectories/forcings around.
Suggested contents for running for example
Would be all yaml-files (domain, trajectory and forcing), trajectory netCDF file and forcing netCDF file (including intermediate file before converting to dephy format) and reference to the git commit hash. All would stored in the directory layout that we use in lagtraj so that one could simply un-tar the file and run lagtraj afresh.
Thoughts @sjboeing ?
The text was updated successfully, but these errors were encountered: