All Questions
6
questions
0
votes
1
answer
807
views
How to extract exact values from a raster file (TIFF) using a shapefile, using xarray to open the raster
I have found a link online that extracts the values min mean max and median, this is using the zonal stats function.
sjer_tree_heights = rs.zonal_stats(plot_buffer_path,
...
0
votes
1
answer
378
views
Polygon Drill on Open Data Cube
I face a crucial problem with ODC. I try to do a spatial join with a shapefile (polygon drill). I have followed the following steps:
Read the shapefile and get the first polygon to test
Ensure that ...
1
vote
2
answers
1k
views
Find closest point to shapefile coastline in Python
I have a xarray (674 lats & 488 Lons) and want to find the closest distance for each point to the coastline in meters.
I found this solution:
Finding closest point to shapefile coastline Python
...
9
votes
3
answers
17k
views
Mask xarray dataset using a shapefile [closed]
I have used xarray on some satellite data that I'd like to mask it using a shapefile. I have previously been doing this using a combination of PIL, numpy and gdal, but it would be cleaner to do this ...
0
votes
1
answer
1k
views
Clip global data by polygon using rioxarray fails (off by 180 longitude)
I want to extract CMIP6 climate data within polygons defined by a selection of the Large Marine Ecosystems of the world. The data(CMIP6) are found in ranges from 0 to 360 degrees longitude, while my ...
7
votes
1
answer
12k
views
Extracting data within geometry (shape)
I have a NetCDF dataset which I normally call using the xarray function. I have recently been doing some transect analysis on the dataset, which looks something like this (the area between the ...