1 hour resolution with getMeteogramForecastData
-
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. -
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();
});