-
Type:
Task
-
Resolution: Done
-
Priority:
Minor
-
None
It is currently a manual process to create new location metadata so the various weather collection data source plugins can collect and post data to SolarNetwork. For example the OpenWeatherMap data source requires 3 metadata records be created. Here's an example of the metadata for one location in OpenWeatherMap:
Loc ID | Source ID | Metadata |
---|---|---|
301025 | OpenWeatherMap | {"m": {"name": "Auckland"}, "t": ["weather"]} |
301025 | OpenWeatherMap Day | {"m": {"name": "Auckland"}, "t": ["day"]} |
301025 | OpenWeatherMap Forecast | {"m": {"name": "Auckland"}, "t": ["weather", "forecast"]} |
This should be automated, so that these records could be created very easily by a SolarNetwork administrator.