Related to #31 (closed)
- Calendar type is now extracted from the archive, and the PCICt package is used to compute correct leadtimes according to the source calendar when saving the outputs.
- 'archive' is now a mandatory parameter in save_data()
- save_data() now has checks that raise an error if recipe, archive or data are NULL.