Skip to content
This repository has been archived by the owner on Jun 14, 2021. It is now read-only.

Sentinel2 default start_date out of range #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mark-boer
Copy link

Fix for issue #9

@mark-boer
Copy link
Author

I tried writing a good unit test for thie issue, but I was unable to find an elegant way to set the timezone of the system. You could do something like, but this only works linux:

os.environ['TZ'] = 'Europe/Amsterdam'
time.tzset()
with freezegun.freeze_time(...):
    search.sentinel2(....)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant