wxee icon indicating copy to clipboard operation
wxee copied to clipboard

EEException: Date: Parameter 'value' is required.

Open Daniel-Trung-Nguyen opened this issue 3 years ago • 2 comments

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.

Daniel-Trung-Nguyen avatar Aug 07 '22 12:08 Daniel-Trung-Nguyen

Having same issue here, wondering about any workaround?

christopher-lowrie avatar Aug 24 '22 01:08 christopher-lowrie

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.

aazuspan avatar Aug 27 '22 19:08 aazuspan

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[bot] avatar Oct 27 '22 04:10 stale[bot]