ua-snap / data-api

SNAP data API
MIT License
4 stars 0 forks source link

Adds the range of years to the CSVs that are generated for any endpoints with start and end years #477

Closed BobTorgerson closed 4 weeks ago

BobTorgerson commented 1 month ago

This PR adds the date range selected from any endpoint that has a start year & end year and puts it into both the metadata and the file name of the CSV files. This works for all of the Degree Day

Examples:

Temperature

Temperature in January

Precipitation

Degree Days

Wet Days per Year

Closes #338

BobTorgerson commented 4 weeks ago

@cstephen Thanks for catching the permafrost year range and now the mmm values for the degree day and permafrost endpoints are including the year range in the file name and metadata too. Please have another look when you have an opportunity.