New answers tagged xarray
0
votes
While exporting the rasters using rioxarray, nodata value is undefined after the mask
Should be fine with the code below.
ds_mask = xr.open_dataset(path_mask)
nodata_value = np.nan
ds_mask = xr.where(ds_mask == 0, nodata_value)
ds_mask.rio.write_nodata(np.nan, inplace=True)
...
1
vote
Wrong projection- Creating GeoTIFF from Sentinel 3 Land Surface Temperature (LST)
Sentinel-3 products don't have rectangular grids so you cannot use a classic transform.
Here is a thread with an example on how to geocode Sentinel-3 data with rioxarray (it's a bit complicated).
...
Top 50 recent answers are included
Related Tags
xarray × 136python × 83
rioxarray × 58
netcdf × 53
rasterio × 27
raster × 14
geotiff-tiff × 12
open-data-cube × 8
gdal × 7
numpy × 7
dask × 7
shapefile × 6
python-3 × 6
qgis × 5
coordinate-system × 5
google-earth-engine × 5
grib × 5
noaa × 5
geopandas × 4
cartopy × 4
convert × 3
clip × 3
merge × 3
image × 3
resampling × 3