All Questions
4
questions
0
votes
1
answer
45
views
Gridworkflow intersection with other spatial objects such as a geodataframe
I am working with a large GridWorkFlow object; I am not able to load all the tiles due to in-memory compute resources (24.00 GB mem 8 CPU) and do not need to either. I am interested in intersecting ...
1
vote
1
answer
794
views
Mask NetCDF data in Python with shapefile
Precursor to this question: Masking NetCDF data with a shapefile in that has more than one variable Python. Note: Data files are in the previous question.
I am trying to mask my polygon but I don't ...
1
vote
1
answer
719
views
Create new column containing values of a xarray variable selected by point coordinates
I have a xarray and a geodataframe. I want to extract spi_1 values of xarray from point geometries of geodataframe by creating a new column spi_1 in geodataframe.
print(xr)
<xarray.DataArray '...
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 ...