pacificclimate / station-data-portal

Data portal for station data (e.g., BC Station Data, a.k.a. PCDS; Yukon-NWT Station Data); React app
0 stars 0 forks source link

Apply date filtering to observation counts (Station Data tab) #163

Closed rod-glover closed 1 year ago

rod-glover commented 1 year ago

Currently the observation counts are always summed over all time for the selected stations, regardless of the state of the "Clip time series to filter date range" checkbox.

Filter them if that checkbox is checked. This means passing the start and end dates to the backend; the backend already responds to them, so nothing else needs to be done.