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
-3
votes
3 answers

convert temperature from decimal to whole using xamarin forms

just curious how will I define the following in forms. c# weather.Temperature = (string)results["main"]["temp"] ; xaml
Pxaml
  • 651
  • 2
  • 12
  • 38
-3
votes
1 answer

How to solve - The element type meta must be terminated by the matching end-tag

I tried to wrote a code for weather app and i have this error: org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 27; The element type "meta" must be terminated by the matching end-tag "". at…
user8640222
-3
votes
1 answer

Weather api for laravel 5.4. Does anyone knows any weather api for laravel 5.4? Give me a suggestion, please

Does anyone knows any weather api for laravel 5.4? Give me a suggestion, please.
Thucnv
  • 21
  • 1
  • 1
-3
votes
2 answers

How to display weather with this code

Well I will not take credit for these codes as I found it but I would appreciate if someone can help me display the weather with this following coding I will really appreciate it. $BASE_URL = "http://query.yahooapis.com/v1/public/yql"; …
noob
  • 9
  • 3
-3
votes
1 answer

Write JSON Data to Variable

I am working on a project where I need to write weather data to a variable. (URL = http://api.openweathermap.org/data/2.5/weather?zip=96950,us&appid=2de143494c0b295cca9337e1e96b00e0) How can I get the temperature in the area?
Zooza S
  • 307
  • 1
  • 4
  • 17
-3
votes
1 answer

How can fix NetworkOnMainThread Exception in android?

I am trying to fetching weather information using yahoo apibut it shows me Network on main Threat Exception how may i fix it.when i try this code how may i fix this problem .i am begginer so i can't understand this error so please help me to solve…
-3
votes
1 answer

How do weather apps work?

So I was thinking of making a weather app with a hidden twist but I'm not quite sure where to start. How does it work can you buy the data from a weather company if anyone knows any good tutorials it would also be helpful. Thanks in advance.
-3
votes
2 answers

Historical Forecast or Observed Weather Data Source

I'm looking for an API that provides recent, 3-hourly temperatures... either observed or forecasted. To be clear, I'm looking for data from the past... like 'yesterday'. Free or paid is fine. International or US only is fine. Lookup by long/lat,…
Josh
-4
votes
1 answer

How do I calculate average wind speed and direction from a list of values over a period in javascript

How do I calculate the average wind speed and direction from a list of values over a period? const directions = ["S","S","NE","SW","NNE","N"]; const speeds = [11,9,9,7,18,10] There numerous resources online to calculate the average between A…
Kevin Potgieter
  • 672
  • 10
  • 23
-4
votes
2 answers

Demand forecast using weather data

I am trying to write a demand forecast that considers weather data (temperature, pressure, humidity) one by one (or all together). I want to use machine learning algorithms to do so. I used Linear Regression to do the demand forecast previously not…
Dr.A2014
  • 9
  • 1
  • 2
-4
votes
1 answer

How to create Weather Forecast app?

I'm trying to figure out how to create a Weather Forecast application using Windows Phone 8.1 and OpenWeatherMap API. But I couldn't find any document on how to start on this. Any help? It doesn't have to be OpenWeatherMap too. Just want to know how…
Nimila Hiranya
  • 4,842
  • 10
  • 35
  • 52
-4
votes
1 answer

NOAA API or Weather.gov?

When using a cool PHP Library I find to get NOAA weather (https://github.com/amwhalen/noaa), I found that the results it returned differed from what I found on weather.gov. I found the weather.gov XML by simply clicking the button on the the page…
DaAwesomeP
  • 585
  • 5
  • 18
-4
votes
3 answers

Unknow reason for invalid syntax

I do not understand why I receive an "invalid syntax" error. I did an hour of research with no success. I am running PYTHON 3. Where is the syntax error in this code? from urllib.request import urlopen import json request =…
apples723
  • 105
  • 2
  • 2
  • 8
-4
votes
1 answer

GWT show weather

I want to show the weather in my GWT application. I have seen several examples of this done on the server side which seem a little odd to me because obviously moving the load to the client is preferred. I researched the matter quite some time…
kroiz
  • 1,722
  • 1
  • 27
  • 43
-4
votes
1 answer

Calculate tide table

I develop software that shows the tide table for a given area and day. I need to know the "formula" to calculate the tide table of an area for a given day. My intention is to develop the application in PHP, but I really do not care programming…
Lobo
  • 4,001
  • 8
  • 37
  • 67
1 2 3
53
54