HEK revision of events and helioviewer.org
Bug #1361353 reported by
Jack Ireland
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Helioviewer.org |
New
|
Wishlist
|
Unassigned |
Bug Description
The HEK revises its entries. To get info about a particular revision number, append &rev=X to the url, for example,
If the revision number is not supplied, the most recent revision of the event is supplied.
Helioviewer.org needs to somehow check for new revisions, and rewrite the appropriate files to ensure that the information that is presented is as up-to-date as possible compared with that available at the HEK.
Changed in helioviewer.org: | |
importance: | Undecided → Wishlist |
To post a comment you must log in.
The simplest way to do this would be to set up a different cache invalidation policy for the F/E cache on Helioviewer.org.
Currently we pre-cache all feature/event data to prevent the several second load time that would otherwise result when attempting to display features and events from the HEK. The script that builds the cache is run every 10 minutes to pick up new entries. Because some data may not appear in the HEK until several hours, days, or weeks after the fact, the caching script refreshes recent cache entries with decreasing frequency according to the age of the cache file. (Once cache file per day of data, plus locally generated auxiliary data for region polygon PNGs).
This mechanism could be used to retrieve new revisions of data periodically without any extra logic.
Note: rebuilding the entire F/E cache takes of order a day.