Checks recent precipiation data in your area and decides whether it's time to water unestablished trees which are less than two years old.
First, obtain a token
Next, copy the config-template.yaml
into a new file config.yaml
and update the file to contain your token.
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
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