-
Notifications
You must be signed in to change notification settings - Fork 0
Description
It would be cool if after a search is done, one could have a button that would download
a sarracenia .save format file, so that someone could fire up a n sr_subscribe and restore
from a file to download all the files...
save format looks like this:
["v02.post.model_hrdps.prairies.grib2.18.004", {"atime": "20181102010031.164", "filename": "msg_ddsr-WXO-DD_f37cc8417
96aaab6dcbd2cdbebe949ed:CMC:HRDPS:GRIB2:BIN::20181102010029", "from_cluster": "DDSR.CMC", "mtime": "20181102010031.16
4", "parts": "1,85950,1,0,0", "source": "WXO-DD", "sum": "d,6cb9bdf32469cd385582d7e8dde4904b", "sundew_extension": "C
MC:HRDPS:GRIB2:BIN::20181102010029", "to_clusters": "DDSR.CMC,DDI.CMC,CMC,SCIENCE,EDM"}, "20181102010031.164 http://d
d5.weather.gc.ca /model_hrdps/prairies/grib2/18/004/CMC_hrdps_prairies_TMP_ISBL_0800_ps2.5km_2018110118_P004-00.grib2
"]
The advantage of downloading in this format versus just downloading the raw URL is if you are recovering from a prolonged outage, and you want the same plugins to run, you just feed it this file with -restore option on startup to the normal config.
I don't know if this is a good idea though because it means adding all the meta data to the index files, perhaps blowing up the size a lot... just noting it down as something to think about.