Skip to content

Make it easier to add sites #29

@emirkmo

Description

@emirkmo

We should allow adding sites/instruments modifying filters, fits keywords etc. all via GitHub only. I think the best way to do this is to change the sites to be .py files, that one can open a PR for a new site. However, in order to have sites available to the API, there should be a helper script that goes through each site and writes out info into some file. We should read and use that file in flows database, and the flows API calls to the sites.php should now grab this info from there.

This'll help us quickly add changes to sites if we need to, for example, pull in new header info with differing header keywords for each instrument, that we want to use when developing a new addition to the code, without having to get this added for each instrument behind the scenes via a request to Rasmus. That would be annoying quickly especially if we ended up not needing the changes in the end..

what do you think @rhandberg ?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions