Dowloading MODIS Aqua data using file_search utility

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
shom
Posts: 1
Joined: Wed May 05, 2021 8:36 am America/New_York
Answers: 0

Dowloading MODIS Aqua data using file_search utility

by shom » Wed May 05, 2021 8:50 am America/New_York

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

Tags:

dana.r.wilson
Posts: 71
Joined: Mon Apr 20, 2020 8:04 am America/New_York
Answers: 0

Re: Dowloading MODIS Aqua data using file_search utility

by dana.r.wilson » Mon May 10, 2021 11:50 am America/New_York

The extra line has been removed.

Post Reply