emissions-api / sentinel5dl

Sentinel-5(P) Downloader
https://sentinel5dl.emissions-api.org
MIT License
12 stars 8 forks source link

Time Specification #46

Closed lkiesow closed 4 years ago

lkiesow commented 4 years ago

The Copernicus API is very picky when it comes to date/time formats, accepting only a subset of ISO-8601 time strings. To make working with the API easier and less error-prone, this patch makes sentinel5dl accept datetime objects for time specification, automatically converting them into the required string representation.