Page 1 of 1

Dowloading MODIS Aqua data using file_search utility

Posted: Wed May 05, 2021 8:50 am America/New_York
by shom
Hello,
I'm using the file_search utility to find and download MODIS Aqua data.
Here is my command line using wget :
/usr/bin/wget --post-data="subID=1423&addurl=0&results_as_file=1&search=*2021123*LAC_OC*" -q -O - https://oceandata.sci.gsfc.nasa.gov/api/file_search > /oceano/SOAP35/workspace/ACVP/task_interactive_0.24288744564272424/NASA_wget_files.txt

When I have "addurl = 0", there is a blank line at the end of my .txt file containing the names of the files I want to download (NASA_wget_files.txt).
If "addurl = 1", there is no empty line at the end.

Is this normal behavior?

Thank you for your answer,
NoƩmie Lalau

Re: Dowloading MODIS Aqua data using file_search utility

Posted: Mon May 10, 2021 11:50 am America/New_York
by OB WebDev - dana.r.wilson
The extra line has been removed.