Implemented automated metadata checks upon station insertion
There are several possibilities for inconsistent metadata which might be detected only when a station has been prepared for insertion, i.e. when all global metadata are available. For example, missing station altitudes or wrong station altitudes can be detected by comparison with the srtm_altitude.
ToDo:
- set-up a "framework" for metadata control and invoke this in the insertion process (similar to data quality control)
- begin designing metadata checks - start with altitude
- store original information as "additional_metadata"
Design as REST API endpoint: /check_metadata
Advantage: Can also be run separately.