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

Sentinel2 default start_date out of range#10

Open
mark-boer wants to merge 1 commit intoRemotePixel:masterfrom
mark-boer:master
Open

Sentinel2 default start_date out of range#10
mark-boer wants to merge 1 commit intoRemotePixel:masterfrom
mark-boer:master

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