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,