Questions tagged [weather]

For questions about scientific computing involving weather analysis and/or simulations. Any weather questions on this site should be programming-related.

This tag is for questions about scientific computing involving weather analysis and/or simulations. Appropriate questions for this tag could be:

  • How can I get the current temperature from a US zipcode?

  • What is an appropriate mesh size when interpolating measured air temperature data across a meso-scale weather station network?

  • How can I aggregate hourly wind velocity from a GRIB file to correlate with evaporative cooling?

Using this tag may indicate that you are asking an off-topic question ("What weather service APIs can I use in my application?"), or that you should be using a more specific tag for an API ("How do I get my local forecast from [superweather-api] in JSON format?").

797 questions
5
votes
2 answers

How to hide or display a Google Maps Layer?

I have prepared a simplified test case and a screenshot. I think I'm missing a tiny bit, just few lines of code. I have 2 overlays (the weather and clouds) in my JavaScript Google Map and would like to hide or show them when a corresponding check…
4
votes
7 answers

Random but predictable number generator? [C++]

Well I don't really know how to search for the thing I'm looking for. Google gives tons of results, but none which match my criteria. So I'm asking it here: Is there any known piece of code that can create a number, that is predictable, looks…
user1182183
4
votes
6 answers

Good Resource for Embedding Weather Forecasts

I would like to add a 5-10 day weather forecast to a website. I'm having trouble finding a website that provides an embed code for forecasts. The few I've found look awful (circa 1990's). I was just wondering if there was a halfway clean-looking…
Mike McLin
  • 3,627
  • 7
  • 41
  • 49
4
votes
1 answer

Adding a react component to a vanilla JS file

I am currently aiming to make a weather widget work by using an npm module https://react-open-weather.gitbook.io/project/. This is a React component, which is something I have never worked with before. I've taken the CDN's provided by the npm…
4
votes
1 answer

Timestamp in Numpy

I am trying to extract data from a netcdf file using wrf-python. The data is for every hour. The date is being extracted as a number, and not a calendar-date-time. First I extract the data, convert it to a flat np array, then try to save the file.…
4
votes
1 answer

Meteo info in win32 APP

Is there a good meteorological tool to use in win32 DELPHI App ? I did some googling but could not find anything good Don’t need any complex data, just a simple 3/5 day forecast would be nice
Jlouro
  • 4,515
  • 9
  • 60
  • 91
4
votes
3 answers

Image similarity for same content but different weather

For two images, one in a sunny weather and another in rainy weather with virtually no difference in the content and objects except the weather, Is there any metric to say that they are highly similar? Vs... an image which is visibly not so…
4
votes
3 answers

LUA: String to variables

I have a string containing weather data. I want to assign each of the values in the string a variable string = "12-05-17 12:48:48 12.3 23 -8.2 1 2 225 0.0 0.0 992.3 SW 1 m/s C hPa mm 49.8 +0.1 0.6 60.0 0.0 21.5 31 12.3 +0.7 13.0 11:31 1.2 01:31 4…
J Dunberg
  • 41
  • 3
4
votes
1 answer

R rbind - numbers of columns of arguments do not match

How can I ignore a data set if some column names don't exist in it? I have a list of weather data from a stream but I think certain key weather conditions don't exist and therefore I have this error below with rbind: Error in rbind(deparse.level,…
Run
  • 54,938
  • 169
  • 450
  • 748
4
votes
2 answers

How can I use Json Jquery in api.openweathermap to get weather information

I have this api http://api.openweathermap.org/data/2.5/forecast/daily?q=Montpellier&mode=json&units=metric&cnt=10 and I will get the information (name of city, weather...) using Jquery . how I can do that ??
HamidS
  • 45
  • 1
  • 1
  • 4
4
votes
2 answers

How to get precipitation/rainfall through weather api?

I tired Open Weather Map because the docs say it has "rain", but when I call it it doesn't. So I tried Python Weather API but none of those options from weather.com, noaa, or yahoo weather have rainfall or precipitation. So I tried Wunderground but…
Charles Clayton
  • 17,005
  • 11
  • 87
  • 120
4
votes
3 answers

Read api result in asp.net mvc

I try to use weather api in asp.net mvc. My code below: var url = "http://api.worldweatheronline.com/free/v1/weather.ashx?q=London&format=json&num_of_days=5&key=6b87pfhmjb7ydj6w596fujpu"; var client = new HttpClient(); …
user3409638
  • 167
  • 3
  • 13
4
votes
1 answer

Which data format to publish data from Vantage Pro 2 weather station?

I'm looking for a standard data format which can be used to publish weather data collected by a Davis Instrument Vantage Pro 2 weather station. This is in order to comply to openData movement. Do you have any JSON/XML/other standard data format…
Édouard Lopez
  • 40,270
  • 28
  • 126
  • 178
4
votes
1 answer

National Weather Service (NOAA) REST API returns nil for parameters of forecast

I am using the NWS REST API as my weather service for an app I am making. I was initially reluctant to use NWS because of its bad documentation, but I couldn't resist as it is offered completely free. Now that I am trying to use it, I am running…
Kyle Rosenbluth
  • 1,672
  • 4
  • 22
  • 38
3
votes
3 answers

Using the Yahoo Weather API with JSON and the script tag

I'm trying to get the Yahoo Weather with JavaScript. I originally made a proxy, but found that clumsy. So can get the JSON response from http://weather.yahooapis.com/forecastjson?w=9807, and I know that the script tag can avoid the same-domain…
Raekye
  • 5,081
  • 8
  • 49
  • 74