Re: Is it possible to create a rasterio object without exporting a file?


Leah Wasser
 

Hey Alan,
this is super helpful.

digging through your code. how does this line work:

cropped_ds = self._obj.where(clip_mask_xray, drop=True).astype(self._obj.dtype)

i'm familiar with numpy.where however the drop=True is not an argument i'm familiar with.
thank you so much!
Leah

Join main@rasterio.groups.io to automatically receive all group messages.