Skip to main content

Questions tagged [rioxarray]

geospatial xarray extension powered by rasterio. https://github.com/corteva/rioxarray

Filter by
Sorted by
Tagged with
0 votes
0 answers
47 views

I am trying to reproject MODIS LAI data (you can download some sample here). I followed the instruction here to use rioxarray to do the job, but the result does not match the map (I used OpenStreetMap ...
Happier's user avatar
  • 77
1 vote
0 answers
62 views

This is my code: reach_ds = xr.open_dataset(reach) reach_ds.rio.write_crs('EPSG:32632', inplace=True) reach_ds = reach_ds.fillna(0) reach_ds = reach_ds.isel(time=0) reach_ds.rio.to_raster(...
Elisa's user avatar
  • 11
1 vote
1 answer
168 views

This is partially just a curiosity question, but I think it would also help me understand xarray a bit better. I've loaded a NetCDF file into an xarray Dataset. it has coords I would expect. ipdb> ...
Vincent Buscarello's user avatar
0 votes
1 answer
148 views

I want to find out all the metadata associated with the raster similar to rasterio's meta attribute, with rasterio.open(file_path) as src: metadata = src.meta But with rioxarray. Currently there ...
Aman Bagrecha's user avatar
2 votes
0 answers
79 views

I've been struggling to find out why my raster cropping isn't working. I've included the raw raster files here so it should be a fully reproducible example. I'm trying to implement the following ...
Samuel T's user avatar
0 votes
1 answer
417 views

I'm trying to merge multiple GeoTIFFs using rioxarray merge_arrays with a custom method that averages overlapping values. I've pieced together the following code which produces a GeoTIFF but it looks ...
Kevin's user avatar
  • 121
0 votes
1 answer
373 views

What method is used to resample within rioxarray reproject match? Looking into resampling in rioxarray it seems to use rasterio which defaults to nearest resampling. Should I assume this is what is ...
Jennifer's user avatar
1 vote
0 answers
364 views

I am trying to write some code using dask.distributed.Client and rioxarray to_raster that: Concatenates two rasters (dask arrays) Applies a function across all blocks in the concatenated array Writes ...
katieb1's user avatar
  • 31
0 votes
0 answers
57 views

I merge many hundred rasters all in the same projection, same orientation, same resolution. The next raster should start where there last ended (no overly, zero gap). I merge DataArrays with rioxarray'...
tetje's user avatar
  • 109
1 vote
1 answer
273 views

Maybe this is more like a Pandas question but when I try to write an xarray to a raster using rio.to_raster() I get a ValueError in Python. If I don't convert the type of xarray to int16 (this is a ...
Andrei Niță's user avatar
2 votes
1 answer
279 views

I'm trying to reproject a raster dataset using a user-defined projection in Python. I was able to achieve the desired reprojection setting ArcGIS's arcpy.CreateCustomGeoTransformation_management tool ...
Liyuneh's user avatar
  • 21
1 vote
0 answers
105 views

I have a bunch of GeoTIFF files. These are about 100 GB on drive, when using compression with zstd (speed level). Hence, when loading, they are still much larger. I can load them in rioxarray with ...
tetje's user avatar
  • 109
1 vote
1 answer
894 views

I have some large rasters that I want to reproject in a memory-safe way, using a second raster as a template . This code works nicely for smaller ones, but when they are large the Python kernel ...
TheRealJimShady's user avatar
0 votes
0 answers
444 views

I am writing some unit tests to test reading in raster data into an xr.Dataset data structure via the rioxarray.open_rasterio() method. The code creates a test raster to read into rioxarray....
Adriano Matos's user avatar
0 votes
0 answers
535 views

I'm preprocessing HMASR data, the data contains multiple data files with format of netcdf, and each tile (1X1 degree) is a nc file. So I read it through xarray open_mfdataset() to mosaic it spatially ...
孟泽楷's user avatar

15 30 50 per page
1
2 3 4 5
11