We want to overlay the images with some fancy, highly complex mathematical formula (or not ) ) and since GDAL’s VRT driver supports custom Python functions to manipulate pixel values, we can use numpy for that. VIIRS_SNPP_CorrectedReflectance_TrueColor-2020-*.tif VIIRS_SNPP_CorrectedReflectance_TrueColor-2020.vrt \ Got all the images you want to process? Cool, build a VRT for them: gdalbuildvrt \ Make sure to store the images somewhere sensible for lots of I/O. GDAL is the hot shit and very RAM friendly if you are careful. VIPS/nips2 is awesome but might require some getting used to and/or manual processing. imagemagick/graphicsmagick might be the obvious choice but they are unfit for imagery of these dimensions (exhausting RAM). There are lots of options to overlay images. A day of 32768×16384 pixels took me about 15 minutes to download.
0 Comments
Leave a Reply. |