So, now I am trying to skip a step or two and harness the power of computer programming.....
I have created a text file which contains the list of the year and day of year for which I would like to retrieve satellite files - but I want to get any and all of the timed L1A files for that day...
For example, my text file for modis looks like this:
I tried using the bash commands from the post above by Sean, inserting wildcards to fill in for the time.
The command seems to work, but is looking for the literal file with the asterisk in the name...
I get back a list of "empty" files called literally:
A2002129*.L1A_LAC.bz2 , etc.
Can anyone help with the syntax to make the wildcards work?
Here is one of my cleanest failed attempts (where a.list in this case is now the text file with the "incomplete" satellite file names:
for file in $(cat a.list);
curl -L -O http://oceandata.sci.gsfc.nasa.gov/cgi/getfile/$file*.L1A_LAC.bz2;
the bash command advice i found for wildcards was never combined with a curl instruction/example... maybe curl needs to be more "literal"??? Or nested?
I found something called "eval" that might be useful, but i couldn't follow it for my purposes.
Thanks for any advice on this seemingly simple (but elusive for me) problem.