-
Notifications
You must be signed in to change notification settings - Fork 20
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
NotGeoreferencedWarning after merging datasets #145
Comments
@jbmuir I have seen those warnings pop-up during reproject stages, without any ill-effects and is really an issue in Also why do you need to |
@Kirill888 It does look ok; the reason I need to merge after loading individually is that I'm dealing with geophysical data which have inconsistent band names within a collection (normally each asset will be a single monolithic COG describing e.g. national level gravity; a collection would be e.g. free-air anomaly, Bouguer anomaly etc). I'm building this catalog myself; maybe in the future I will change the model to have uniform assets per item although geophysical data is so heterogeneous compared to satellite imagery that you would probably end up with extremely small collections. |
Thanks for info @jbmuir see issue in
Doesn't have to be, |
@jbmuir any chance of a reprex? I see this in other contexts and have been trying to pin it down 👌 |
as in, does your example return the full message like
I get that from rasterio when opening a dataset with geolocation arrays, i.e.
I can't imagine a situation where a sentinel/landsat item would have geolocation arrays, but it could also be triggered by a "none" geotransform - so maybe there's files out there that just don't have that info properly. i.e. this will return the same error as above
So, can we get the details of the stac query? (Happy to do this offline if you can't share etc). (it also seems to only warn once per session, so be sure to run in new instances if you run both to check my claims) |
This is an issue with |
I have a list of datasets
data
generated using (roughly)for a stac items
items
.After merging with
data_merged = xr.merge(data, compat="override")
, I get a NotGeoreferencedWarning when actually trying to load the data, whereas loading the data individually does not give the warning. As far as I can tell, the combined dataset has the samespatial_ref
anddata.odc ...
as the individual pieces.The text was updated successfully, but these errors were encountered: