fmidev / smartmet-plugin-timeseries

MIT License
2 stars 1 forks source link

Invalid endpoints in wiki #25

Open okko opened 4 years ago

okko commented 4 years ago

The Wiki has old or unsupported addresses:

https://github.com/fmidev/smartmet-plugin-timeseries/wiki/SmartMet-plugin-TimeSeries

To name a few,

http://data.fmi.fi/timeseries?format=debug&place=Turku&param=name,time,temperature

returns "fmi-apikey missing", while https://data.fmi.fi/fmi-apikey/APIKEYHERE/timeseries returns 404 not found

http://opendata.fmi.fi/timeseries?producer=opendata&area=Turku&param=name,time,temperature

returns 404 not found

http://opendata.fmi.fi/timeseries?producer=opendata&bbox=24.14,60.17,%2025.14,61.17&param=name,time,temperature,pressure

returns 404 not found

Why am I here?

I'm actually just looking for https://opendata.fmi.fi/wfs?request=getFeature&storedquery_id=fmi::observations::weather::timevaluepair&timestep=30&fmisid=101004 in json format, https://opendata.fmi.fi/wfs?request=getFeature&storedquery_id=fmi::observations::weather::timevaluepair&timestep=30&fmisid=101004&outputformat=application/json says it's not supported.

sirviot commented 4 years ago

The timeseries-plugin is not in use at opendata.fmi.fi, hence the 404. Also the data.fmi.fi host is just an example and real address depends on the specific installation and configuration.

Documentation for smartmet-plugin-timeseries and the rest of the smartmet-server releated code is not the same as documentation for FMI's opendata services which can be found here

okko commented 4 years ago

Thank you for a quick response. Could they be replaced with data.fmi.example in the wiki to emphasize that they are examples only?

sirviot commented 4 years ago

That's propably a good idea.

mikaelhg commented 1 year ago

Now it's 2022 and the timeseries-plugin is in use at opendata.fmi.fi, so it might be time to redo some of the documentation.