Coder Social home page Coder Social logo

Comments (4)

TheKarppinen avatar TheKarppinen commented on August 11, 2024

Notice, all stations do not provide data for all the parameters.

For example:

Helsinki Rautatientori does not provide values for Precipitation1h parameter.
http://data.fmi.fi/fmi-apikey/insert-your-apikey-here/wfs?request=getFeature&storedquery_id=fmi::observations::weather::multipointcoverage&timestep=60&starttime=2014-02-06T13:33Z&endtime=2014-02-12T13:32Z&parameters=Precipitation1h&place=Helsinki

But, Helsinki Kumpula provides data for Precipitation1h.
http://data.fmi.fi/fmi-apikey/insert-your-apikey-here/wfs?request=getFeature&storedquery_id=fmi::observations::weather::multipointcoverage&timestep=60&starttime=2014-02-06T13:33Z&endtime=2014-02-12T13:32Z&parameters=Precipitation1h&place=Kumpula,Helsinki

Does this seem to be the cause of the problem in your test?

from metolib.

hiitsu avatar hiitsu commented on August 11, 2024

OK, good to know, so this can be tagged as question. How to know which stations provide which data? Currently i just need to make few per city or quite coarse weather history requests, is this fmi::observations::weather::cities::timevaluepair the way around then?

from metolib.

TheKarppinen avatar TheKarppinen commented on August 11, 2024

At the moment, there is no straight forward way to check which stations provide which data.

Catalog ( http://catalog.fmi.fi ) may be used to check information about different sites and data. But, sorry to say that even that service does not directly tell which stations provide which data.

Maybe you could simply check if the site gives only NaN values for the given parameter. If all values are NaN, you could assume that parameter is not supported for that site.

Notice, MetOLib supports only multipointcoverage queries. Therefore, MetOLib can not handle fmi::observations::weather::cities::timevaluepair query that provides timevaluepair content.

from metolib.

hiitsu avatar hiitsu commented on August 11, 2024

Ok, thanks for quick replies. We'll make NaN handlings, and use more specific station when needed

from metolib.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.