I want to use
gdal_merge.py to merge a series of .tif files prior to clipping the merged file to a shapefile boundary, but want to do so as part of another larger script that will execute a number of other processes. I am a python/GDAL newbie and am not sure how to go about calling
gdal_merge.py into another script.
I cannot merely run
gdal_merge.py on its own as it is but one step in a script that will hopefully execute a number of processes. Any thoughts on the best way to do this?