This PR restricts Dataselect queries to either 60 days (more specifically day files) (2 months) OR a maximum of 30 minutes.
This implementation assumes it is ok to request those 60 days in any combination (e.g. 2days of each channel across 30 channels OR 60 days of 1 channel). i.e. as long as:
[num of channels] * [num of days OR partial days] <= 60 OR longest request <= 30mins
The request will be allowed.
It does not change limits on the other queries (event or station).
Data metrics are limited to maximum files of 60 but have no 30minute 'grace' window in this implementation.
Related to https://github.com/GeoNet/tickets/issues/3759
This PR restricts Dataselect queries to either 60 days (more specifically day files) (2 months) OR a maximum of 30 minutes.
This implementation assumes it is ok to request those 60 days in any combination (e.g. 2days of each channel across 30 channels OR 60 days of 1 channel). i.e. as long as:
The request will be allowed.
It does not change limits on the other queries (event or station). Data metrics are limited to maximum files of 60 but have no 30minute 'grace' window in this implementation.