-
Notifications
You must be signed in to change notification settings - Fork 7
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
Various notebooks issues #6
Comments
In the Not sure if it's due to my environment. |
In the # prefire data
time_range = "2021-08-10/2021-08-16"
query1 = catalog.search(
collections=["sentinel-s2-l2a-cogs"], datetime=time_range, limit=100,
bbox=bbox, query={"eo:cloud_cover": {"lt": 0.5}},
)
items = list(query1.get_items())
print(f"Found: {len(items):d} datasets")
items_pre = min(items, key=lambda item: item.properties["eo:cloud_cover"])
prefire_ds = stac_load(
[items_pre],
bands=("B08", "B12"),
crs=crs,
resolution=10 * zoom,
chunks={}, # <-- use Dask
groupby="datetime",
bbox=bbox,
) returns:
We need to switch to this one:
with this collection
band names are also different:
|
most probably it's related to a ban inside the ec. I'll find another source |
@pl-marasco @acocac
In a new environment with Python 3.10 and latest xarray 2023.9.0 (probably something changed recently) I'm getting this kind of errors in various notebooks:
Error:
The text was updated successfully, but these errors were encountered: