Skip to content

NotGeoreferencedWarning while doing .compute() on dask xarray #223

Answered by TomAugspurger
aukhare asked this question in Q&A
Discussion options

You must be logged in to vote

I think the fundamental issue here is that the level 2 data in this collection aren't geo-referenced in a way that's (easily) consumable by GDAL / rasterio / stackstac.

The example notebook has an example of loading up a single file's worth of data. Notice that the latitude and longitude are coordinates with dimensions (time, scanline, ground_pixel). They aren't given by a typical GDAL transform.

You might be able to apply that multiple times and then concatenate the results:

a = xr.open_dataset(fsspec.open(items[0].assets["no2"].href).open(), engine="h5netcdf", group="PRODUCT")
b = xr.open_dataset(fsspec.open(items[1].assets["no2"].href).open(), engine="h5netcdf", group="PRODUCT")
xr.com…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@aukhare
Comment options

@TomAugspurger
Comment options

@aukhare
Comment options

@TomAugspurger
Comment options

@aukhare
Comment options

Answer selected by aukhare
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants