atlite icon indicating copy to clipboard operation
atlite copied to clipboard

export/save function for final eligible area

Open jome1 opened this issue 1 year ago • 1 comments

I hope I have not overseen such a function. It would be nice to have an easy function which exports/saves the final eligible area when having added all exclusions, whereby non-eligible pixels are automatically set to "no data". This geotiff file should then be easily importable to e.g. QGIS. Or are you using rasterio for this to save the boolean array from shape_availability?

jome1 avatar Aug 16 '24 14:08 jome1

Hi @jome1 ,

There is no specific functionality for this. If you check the documentation you can see that it is easy to plot the availability shape. So it should be simple from there to export it (it is a numpy array), e.g. to rasterio.

If that helps and you have a code example, we can also add it to the documentation!

euronion avatar Jul 15 '25 16:07 euronion