MazamaScience / MazamaSatelliteUtils

Satellite Data Download and Utility Functions
http://mazamascience.github.io/MazamaSatelliteUtils
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Add check to goesaodc_downloadAOD() to limit number of files that can be downloaded #64

Closed lagerratrobe closed 4 years ago

lagerratrobe commented 4 years ago

It's currently possible to download a very large number of files by specifying a datetime and endTime range that spans multiple days. Need to add a check in the function to make sure that no more than 24 hours of data can be returned at once.

lagerratrobe commented 4 years ago

Added check for more than 288 files (24 hours * 12 files). Since the intent is to allow at the most a full set of "Daytime" files, this should be more than sufficient.