GPT batch processing
Posted: Tue Nov 06, 2018 1:00 pm America/New_York
Hi,
I need to reproject a huge amount of L2 MODIS images, i've been reading about how to use the gpt.command (im running seadas in a mac) and i understand (i believe) how it works. I was able to run the script and get the desired output, although i had to specify the file in the command line.
This is the command im trying to run.
its gives me the error
I've been using the same type of loop with the multi_processor.py for L2bin/l3mapgen and has been working.
I know that most likely its a basic question, but how do i make it run for all the files(individually) in a specific folder?
Thank you in advance!
Best,
Ricardo
I need to reproject a huge amount of L2 MODIS images, i've been reading about how to use the gpt.command (im running seadas in a mac) and i understand (i believe) how it works. I was able to run the script and get the desired output, although i had to specify the file in the command line.
This is the command im trying to run.
while read day
do
ls -1 /Users/Mogli/Desktop/images/A2017$day* > /Users/Mogli/Desktop/2017/Reprojected/input.txt
gpt.command -e /Users/Mogli/Desktop/2017/Reproject.xml -Ssource=/Users/Mogli/Desktop/2017/Reprojected/input.txt
done < /Users/Mogli/Desktop/2017/2017filelist.txt
its gives me the error
Error: No product reader found for file /Users/Mogli/Desktop/2017/Reprojected/input.txt
I've been using the same type of loop with the multi_processor.py for L2bin/l3mapgen and has been working.
I know that most likely its a basic question, but how do i make it run for all the files(individually) in a specific folder?
Thank you in advance!
Best,
Ricardo