You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create Asset.to_xarray() -> xarray.Dataset with kwargs forwarded to xarray.open_dataset. It will re-use get_data code, without clip / reproject features. Pass auth information through backend_kwargs parameter, that will be sent to fsspec
Create EOProduct.to_xarray() -> XarrayDict, where XarrayDict is a UserDict[str, xarray.Dataset], also forwarding kwargs to xarray.open_dataset
@sbrunato I've pushed requested changes. However when I test the method Asset.to_xarray implemented according to your requirements, it fails with this error:
OSError: [Errno -90] NetCDF: file not found:
'https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/60/V/UL/2020/6/S2A_60VUL_20200604_0_L2A/AOT.tif
Asset.to_xarray() -> xarray.Dataset
with kwargs forwarded toxarray.open_dataset
. It will re-useget_data
code, without clip / reproject features. Pass auth information throughbackend_kwargs
parameter, that will be sent tofsspec
EOProduct.to_xarray() -> XarrayDict
, whereXarrayDict
is aUserDict[str, xarray.Dataset]
, also forwarding kwargs to xarray.open_dataset_repr_html_
method toXarrayDict
get_data
and show how to clip / reproject in a tutorialThe text was updated successfully, but these errors were encountered: