Refactor installer code to reuse newer hvpull functionality
Bug #1098887 reported by
Keith Hughitt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Helioviewer.org |
New
|
Medium
|
Unassigned |
Bug Description
The Helioviewer.org installer script (install.py) and the newer hvpull daemon (downloader.py) both handle deal with some similar issues, e.g. reading image header information, validating metadata, etc.
Currently the two code-bases are loosely coupled, and some functionality form the installer is re-used by the downloader. There is also a significant amount of redundancy as well as some areas where the older installer code could benefit from features in hvpull (e.g. validation).
It would be help to abstract out those shared components further so that changes can be made in one place and benefit both scripts.
To post a comment you must log in.
Certainly a general purpose metadata-validator would be good for Helioviewer (to help identify bad files), and possibly also for SunPy.