jasonkuhrt / weather

Display weather conditions in your terminal
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Visualize current weather #1

Closed jasonkuhrt closed 8 years ago

jasonkuhrt commented 8 years ago

When fetching weather data one of the fields is currently. Other fields contain multiple periods in the future so these are more complex and should be tackled later.

The current weather datum is called a data-point and is documented here. It looks like:

"currently":{
      "time":1458087500,
      "summary":"Light Rain",
      "icon":"rain",
      "nearestStormDistance":0,
      "precipIntensity":0.0096,
      "precipIntensityError":0.0001,
      "precipProbability":1,
      "precipType":"rain",
      "temperature":38.8,
      "apparentTemperature":34.69,
      "dewPoint":37.07,
      "humidity":0.93,
      "windSpeed":5.48,
      "windBearing":13,
      "visibility":8.67,
      "cloudCover":1,
      "pressure":1011.86,
      "ozone":330.43
   }

An interface should be designed before diving into the code. A combination of Monodraw and Sketch might do the trick, or perhaps just Monodraw even.

jasonkuhrt commented 8 years ago
Update

Screenshots of graphic exploration and initial drafts for different weather types.

screen shot 2016-03-16 at 10 06 38 am

screen shot 2016-03-16 at 1 07 19 pm

screen shot 2016-03-16 at 11 01 41 am

jasonkuhrt commented 8 years ago

The possible types of weather are:

There needs to be a default too, because the API may add more types in the future like "tornado"

jasonkuhrt commented 8 years ago

This project and this issue have drifted making this issue unclear.