Code Monkey home page Code Monkey logo

Comments (12)

dsjoerg avatar dsjoerg commented on August 23, 2024

This is no longer experimental. In the briefing books prepared for government they are specifically cross-correlating the visit data to the weather; streamlining this workflow would save time and perhaps give better insights.

We don't want to mistake a change caused by weather for a change caused by people getting sick of staying inside.

from ca_visit_tracking.

dsjoerg avatar dsjoerg commented on August 23, 2024

Temperature, rain, cloud cover all could be relevant

from ca_visit_tracking.

rustyconover avatar rustyconover commented on August 23, 2024

Is there a preferred provider of historical weather data?

Seems to have the current conditions:
https://www.weather.gov/documentation/services-web-api

It doesn't appear to yet have historical observations.

The Dark Sky API isn't accepting signups any more.

What lat/long locations are necessary to log?

from ca_visit_tracking.

ajanian avatar ajanian commented on August 23, 2024

Great questions. I think we really need weather data by state and by county - at least that is what we are plotting today. I think there is probably a dataset that has a zip to use for a county/state or a lat long for a county/state. I think we aren't trying to get tooooo accurate so something close will work. I think there have been some ideas for weather datasets floating around here. @mattjacobus and @dsjoerg probably know some. If not, ask JeremyB in the slack - he's the all knowing data guy

from ca_visit_tracking.

slyapustin avatar slyapustin commented on August 23, 2024

I think we can use OpenWeather Historical Data: https://openweathermap.org/history

from ca_visit_tracking.

rustyconover avatar rustyconover commented on August 23, 2024

All of that historical weather seems to be part of a priced offering. I'm happy to start archiving the current forecasts though.

https://openweathermap.org/price

from ca_visit_tracking.

slyapustin avatar slyapustin commented on August 23, 2024

I think we need to create some rating based on weather conditions.
For example: Walkability: 100% (No rain/snow, no strong wind and not too hot/cold) - 0% (Strong rain/snow, storm and etc).

I can create an API to get data from the data source and transfer it to that rating (need to work on the formula).

from ca_visit_tracking.

dsjoerg avatar dsjoerg commented on August 23, 2024

Hmm... I suppose with more past data about mobility and weather, we could fit a Walkability model per state to understand how different parts of USA react to different weather conditions.

from ca_visit_tracking.

dsjoerg avatar dsjoerg commented on August 23, 2024

But the simpler thing for now would be to show temperature and precipitation below the chart, and then people looking at it already know how from experience how people in that region react to any given precipitation/temperature combination.

from ca_visit_tracking.

slyapustin avatar slyapustin commented on August 23, 2024

Found another data source: https://water.weather.gov/precip/download.php
It's in GRB and here is Python library to work with that data https://github.com/jswhit/pygrib

from ca_visit_tracking.

ajanian avatar ajanian commented on August 23, 2024

Here is the punchlist as I see it to get weather data released.

  1. We need to set up the ETL jobs to run on GCP (@markroth8 to help/review)
  2. We need to backfill the historic weather data by copying from @anusheel bucket(s) to ours (@markroth8 to help/review)
  3. We need to integrate the javascript and accept PR #168 (@ajanian to do)

from ca_visit_tracking.

ajanian avatar ajanian commented on August 23, 2024

we have the puchlist issue #178 so this is done

from ca_visit_tracking.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.