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
Datacube.load
should better support CRS
object and atemporal products
#807
Comments
@benjimin open time ranges is what needed in this case. The reason why
Work around for your case is to remove >>> dc.load(product='dsm1sv10', like=x.isel(time=0)) |
Also see #808, when merged you'll be able to do: >>> dc.load(product='dsm1sv10', like=x.geobox) |
Yep, query by geobox is helpful. (Had totally forgotten I'd offered a PR for that years ago.) Still, |
@benjimin I missed that part, can you make a new issue for that, certainly |
Support for atemporal products (such as a static DEM) should be improved, particularly in
Datacube.load
as in this example where thelike
parameter behaves unexpectedly. Also, the same function should fully support thedatacube.utils.geometry.CRS
object, rather than requiring e.g. WKT conversion for some fields and not others.Obvious use case: extract any limited xarray from a datacube, then seek to combine with DEM.
Setup:
Problem 1: This should return data:
Problem 2: This should completely work:
The combination of the problems: the following does work and is confusingly cumbersome:
The text was updated successfully, but these errors were encountered: