Skip to content

alexgoldschmidt/shouldwater

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Should I water the trees?

Checks recent precipiation data in your area and decides whether it's time to water unestablished trees which are less than two years old.

Guide for watering trees

Setup

First, obtain a token

Next, copy the config-template.yaml into a new file config.yaml and update the file to contain your token.

Running

You need to pass the station ID as an argument into the program. Find your station ID here

For example, the station ID for Central Park is USW00094728

Example usage:

go run main.go USW00094728

Known Issues

The NCDC data is not always up to date and sometimes days are missing. However, when you retrieve data through another way it can contain data that NCDC doesn't have. Example request:

https://www.ncei.noaa.gov/access/services/data/v1?dataset=daily-summaries&startDate=2022-01-29&endDate=2022-02-04&stations=USW00094728&format=json

This HTML table has even more up-to-date information but only the last three days: https://w1.weather.gov/data/obhistory/KNYC.html

This web app has the data in color-coded map form https://water.weather.gov/precip/

There's the also the "My Lawn: A Guide to Lawn Care" for Android and iOS

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%