Turn xarray timestacks into GIFs with python
GeoGIF Make GIFs from time-stacked xarray.DataArrays (time, [optional band], y, x), dead-simple. from geogif import gif, dgif gif(data_array) dgif(dask_data_array).compute() The “geo” part is a lie, actually. The arrays don’t have to be geospatial in nature. But I called it GeoGIF because: Wanting to animate a time-stack of imagery (like you’d get from stackstac) is a common task in the earth-observation/geospatial world. I think GeoGIF is a hilarious idea1. 1: To ruin the joke, it sounds like GeoTIFF, a ubiquitous geospatial […]
Read more