Windy Community
    • Unread
    • Categories
    • Groups
    • Go to windy.com
    • Register
    • Login

    1 hour resolution with getMeteogramForecastData

    Windy Plugins
    1
    2
    378
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tomA27 | Premium
      last edited by

      I've just signed up for premium and set my forecast resolution to 1 hour which works fine in the browser. I sort of assumed that this would also cause getMeteogramForecastData() to return the data in 1 hour steps instead of 3 hour steps but it does not.
      The documentation for getMeteogramForecastData() does elude to the possibility of passing additional parameters but is not really very helpful.
      Please can someone tell me if there a way of asking for and getting 1 hour time steps from getMeteogramForecastData()? If not why not?
      Thanks.

      T 1 Reply Last reply Reply Quote 0
      • T
        tomA27 @tomA27 | Premium
        last edited by

        OK, worked it out by looking in fetch.d.ts...
        const latLonStep: LatLonStep = { lat:_loc.lat, lon:_loc.lon, step:1};
        getMeteogramForecastData(_model, latLonStep).then((meteogramForecast) => {
        _meteogramForecast = meteogramForecast;
        updateSounding();
        });

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
        NodeBB & contributors, OSM & contributors, HERE maps
        Terms of Use     Privacy Policy