Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EEException: Date: Parameter 'value' is required. #53

Closed
Daniel-Trung-Nguyen opened this issue Aug 7, 2022 · 3 comments
Closed

EEException: Date: Parameter 'value' is required. #53

Daniel-Trung-Nguyen opened this issue Aug 7, 2022 · 3 comments
Labels

Comments

@Daniel-Trung-Nguyen
Copy link

I was trying to download a median image to xarray and encountered this error below. I understand that we need time series image collections, but wonder if there is a workaround for ee.Image?
Thanks,
Daniel

EEException: Date: Parameter 'value' is required.
@christopher-lowrie
Copy link

Having same issue here, wondering about any workaround?

@aazuspan
Copy link
Owner

Currently, wxee doesn't support images without time coordinates, but an easy workaround is to set the system:time_start property of the image before downloading.

# Set an arbitrary time coordinate
img = img.set("system:time_start", 0)

# Download as usual
img.wx.to_xarray( ... )

I can see why it might be convenient to download a single image to xarray without carrying about the time dimension, so I'll think about what it would take to add that option and leave this open for now.

@stale
Copy link

stale bot commented Oct 27, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Oct 27, 2022
@stale stale bot closed this as completed Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants