I have >2.5k .asc grid files which I need to merge into a single overarching dataset. I would like to avoid having to convert them into esri grids first so was looking to use QGIS (v.2.0).
I am aware of the command line length limitation with the QGIS merge tool so was looking to use the OSGeo4W shell to automate the process. Can someone help me with some code to cycle through the files and merge them?
I was looking at this thread but the suggested solution doesn't work - it results in an "index out of range error"
The files are all of the same format, in a single folder and have the name convention SDXXX.asc - where X is a single digit.