796 questions
2
votes
2
answers
136
views
How to dynamically load a JS file with language prefix on a multilingual website?
I have a multilingual website where I use a weather widget from an external source.
On each language version of the site, I need to automatically insert the language prefix into the JS file name.
For ...
0
votes
0
answers
32
views
Openweather integration in appsheets
I'm having trouble integrating a weather API into Appsheets. I want the user to enter their location and then the API returns the weather data. I have a locations table where it is ref in the ...
0
votes
0
answers
23
views
How do I get probability of lighting from GFS
I am trying to consume GFS data to predict the probability of lighting at particular place. I need kind of probability value where the value can be between 0 to 1
1= High changes of lighting storm
0= ...
2
votes
1
answer
308
views
How to pull historical data from AmbientWeather
I'm trying to understand how to use the API for Ambient Weather (https://ambientweather.docs.apiary.io) and I thought I knew what to do, but I'm missing something.
When I try to pull data from my ...
0
votes
1
answer
63
views
geom_ribbon does not color all of the areas [duplicate]
I try to create an ombrothermic chart with ggplot. It features a line for temperatures and a line for precipitations: if the prec line is above the temp line, geom_ribbon colors it in blue and in red ...
0
votes
2
answers
60
views
Misaligned dates for cross-day calculations
I have the following function that for a provided date and a pair of lat/long variables is supposed to return the the list of 3 timestamps in UTC
one in the afternoon on that day
one in the late ...
0
votes
2
answers
42
views
How to pass the values from openAPIweather to a Components
I am creating a weather app using React Native. I am trying to Fetch the data of the API, so I created a file WeatherData.js that returns the name, temp and Weather.
I want to pass the data to a ...
1
vote
2
answers
86
views
Subsetting a custom time range in base R
I need to get the list of temperatures from a weather station from 9am to 9am the next day in R and set their dates to the second day. A simplified version of the data looks like
DateTime
Temp
2024-05-...
1
vote
1
answer
136
views
Date parameter errors with Weather.gov API
I am trying to pull historical weather data using the National Weather Service API:
library(httr)
library(jsonlite)
# Define the base URL for the NWS API
base_url <- "https://api.weather.gov&...
0
votes
1
answer
90
views
Efficient way to subtract yearly mean data from monthly data in Xarray?
Suppose I have the following Xarray dataarray:
>>> da
<xarray.DataArray 'precip' (time: 521, lat: 72, lon: 144)> Size: 22MB
[5401728 values with dtype=float32]
Coordinates:
* lat ...
-4
votes
1
answer
164
views
How to Decode the NOAA Weather JSON into a Swift Struct
When I request data from api.weather.gov I get the following JSON (extract, only up to the first period or hour:
{
"@context": [
"https://geojson.org/geojson-ld/geojson-context.jsonld&...
0
votes
1
answer
55
views
The method '[]' was called on null. Flutter weather app
I have some error:
I/flutter (30216): NoSuchMethodError: The method '[]' was called on null.
I/flutter (30216): Receiver: null
I/flutter (30216): Tried calling: [](0)
There is my main.dart code:
...
-1
votes
1
answer
89
views
Is hourly climate forecast data for the coming hour? [closed]
Is hourly climate forecast data, for example NOAA GFS model datafiles, for the coming hour, e.g. the 11 AM datafile is for the time from 11:00 to 11:59 AM?
This is what I have been assuming. However, ...
1
vote
1
answer
300
views
Is there a way to get past precipitation data in OpenWeatherMap API?
Using OpenWeatherMap API (onecall 2.5), using 6 days of previous weather data in a certain area, why is there no precipitation in the JSON data?
Is there any data for this, and if there is, how do I ...
0
votes
0
answers
49
views
ctables not found when using metpy.plots to import SkewT
Error occurring when attempting to import SkewT from metpy.plots. Saw similar issues from 2020, but I believe they should be resolved in current versions of MetPy. Any help to solve would be greatly ...