I have a 18-year time series of the MODIS with temperature data, however there are more than 750 TIFF files.

How can I do to import all at once? Importing the files one by one is a very difficult task.

How do I do this using the function r.in.gdal in GRASS GIS?

1 Answer 1


Yo would accomplish this with a loop. How to do that depends on your OS, and whatever scripting environment you're comfortable with. Here are some examples:


StackExchange from several years ago

Third example on StackExchange

Code example from "The GRASS Book"

(There are more...)

Give it a try, and post back with specific details if you are still having trouble.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.