Hi -- Sorry if this is a repeat message, but I think my original post never made it to you (my fault). I am seeking advice on retrieving data ordered through the L1/L2 data ordering system. I think I have my secure file transfer credentials set properly. I can use both wget and curl to retrieve data (single file) from the Direct Data Access system using information you give on your new transfer methods page. However, I am having trouble getting extracted data that was requested through the L1/L2 data ordering system. Could you give me some advice on how to retrieve a single file contained in the manifest that I receive after ordering data through the L1/L2 data ordering system? Below are two examples of data I am trying to retrieve with wget or curl. BTW-- I can download the files by pasting a single line below into a web browser (Safari). I am using wget version 1.20.3. Thanks for any help here! :)
https://oceandata.sci.gsfc.nasa.gov/cgi/getfile/A2012240172500.L2_LAC_OC.x.nc?h=ocdist205&p=/data1/d090d0a04422e150/requested_files
https://oceandata.sci.gsfc.nasa.gov/cgi/getfile/A2012243175500.L2_LAC_OC.x.nc?h=ocdist205&p=/data1/d090d0a04422e150/requested_files
Bruce
retrieving extracted L1/L2 data requested through the L1/L2 data ordering system
-
- Posts: 1519
- Joined: Wed Sep 18, 2019 6:15 pm America/New_York
- Been thanked: 9 times
retrieving extracted L1/L2 data requested through the L1/L2 data ordering system
Bruce,
Try:
or
Sean
Try:
wget --content-disposition --auth-no-challenge=on --load-cookies ~/.urs_cookies --save-cookies ~/.urs_cookies --keep-session-cookies "https://oceandata.sci.gsfc.nasa.gov/cgi/getfile/A2012240172500.L2_LAC_OC.x.nc?h=ocdist205&p=/data1/d090d0a04422e150/requested_files"
or
curl -o A2012240172500.L2_LAC_OC.x.nc -b ~/.urs_cookies -c ~/.urs_cookies -L -n "https://oceandata.sci.gsfc.nasa.gov/cgi/getfile/A2012240172500.L2_LAC_OC.x.nc?h=ocdist205&p=/data1/d090d0a04422e150/requested_files"
Sean
retrieving extracted L1/L2 data requested through the L1/L2 data ordering system
Hi Sean -- Thanks VERY much for your suggestion. Things are now working. I had previously used the wget and curl approach you suggested, but did so without the double quotes around the //filename. Adding the double quotes did the trick!!!! --Bruce