codeforboston / home-energy-analysis-tool

https://www.codeforboston.org/projects/
MIT License
12 stars 31 forks source link

Pass in design temperature for rules engine #123

Open jkwan2011 opened 11 months ago

jkwan2011 commented 11 months ago

The rules engine requires the design temperature, which is a constant value that is looked up by county (or overridden by the user). The CSV file containing the design temperature data is located at https://github.com/codeforboston/home-energy-analysis-tool/tree/main/design_temp.

thadk commented 11 months ago

@plocket We should take these three APIs outputs and prepare something we can pass to python for the county: https://github.com/codeforboston/home-energy-analysis-tool/issues/20#issuecomment-1707485014

plocket commented 3 months ago

Current situation: JS team is trying to get analysis data from pyodide, but gets an error that design_temperature isn't defined.

Plan:

  1. JS team will pass in 12 for design_temperature to move forward with other development.
  2. JS team will use the address to figure out what the shape of the geocode data is.
  3. Python team will make a function that takes geo data and returns a design temperature.
  4. When the Python team has figured out what they need from the data, they will create a function signature and the js team can make types and pass in data that matches the signature.