Page 1 of 1

SST subscription issues

Posted: Mon Oct 19, 2020 2:37 pm America/New_York
by khyde
Hello,

I am having problems getting data from my SST subscriptions (1147 and 1148).  The command below works for my OC subscriptions (1689, 1690 and 2297), but if I do the same for either of the SST subscriptions, the list of files is blank.  Is there something I need to do differently for the SST subscriptions compared to the OC?

wget --tries=3 --post-data="subID=1689&results_as_file=1&cksum=1&std_only=1" -O - https://oceandata.sci.gsfc.nasa.gov/api/file_search.cgi > FILELIST_CHECKSUMS.txt | wget --load-cookies ~/.urs_cookies --save-cookies ~/.urs_cookies --auth-no-challenge=on --no-check-certificate --content-disposition -i -

Thank you for your assistance,
Kim

SST subscription issues

Posted: Mon Oct 19, 2020 2:48 pm America/New_York
by OB ODPS - jgwilding
Hi Kim.

If you run the first part of the command separately, you should get a list of checksums and L1A files.  You are using both -O - (which redirects to stdout) and the > FILELIST_CHECKSUMS.txt

You can put 2> /dev/null at the end to just see the checksums and file names.  I see about 30 of them.

For the second segment of your command to work, you need to remove the "cksum=1" parameter from the post-data and add the "addurl=1" parameter.  You won't need the redirection (> FILELIST_CHECKSUMS.txt)

wget --tries=3 --post-data="subID=1689&results_as_file=1&addurl=1&std_only=1" -O - https://oceandata.sci.gsfc.nasa.gov/api/file_search.cgi  | wget --load-cookies ~/.urs_cookies --save-cookies ~/.urs_cookies --auth-no-challenge=on --no-check-certificate --content-disposition -i -

Give that a try.

john

SST subscription issues

Posted: Mon Oct 19, 2020 3:11 pm America/New_York
by OB ODPS - jgwilding
Kim,

Sorry, i had to edit my reply a couple of times as i noticed a couple of other things with your command that needed to be changed.  I tested the command in my latest reply, and it downloaded 31 files as of 15:10 EDT.

john

SST subscription issues

Posted: Mon Oct 19, 2020 3:37 pm America/New_York
by khyde
Hello John,

Thank you for your reply, but the issue I am having is that I can not get my command (or yours) to work for subscriptions 1147 or 1148.  It works fine for my OC subscriptions (1689, 1690 and 2297), but not the SST.   Also, right now I'm not trying to download the files, but just get the list of files and the checksum values so that I can compare them to the files I have downloaded previously.

When I run the wget command with 1147 or 1148, the only output I get is: "No URLs found in -."

Thanks,
Kim

SST subscription issues

Posted: Mon Oct 19, 2020 3:43 pm America/New_York
by OB ODPS - jgwilding
Kim,

Sorry for misunderstanding.  Those two subscriptions are for refined data, and there is a significant delay for that.  According to our DB, the last-match for them is 2020-09-21 06:48 ETD.  The ancillary data the processing is waiting for should arrive in a couple of days, and that will release the refined processing, and you should see a bunch of matches.

john

SST subscription issues

Posted: Mon Oct 19, 2020 5:33 pm America/New_York
by khyde
Thanks John,
I just assumed the refined processing would still have rolling updates so that there would be some files available.  I will keep an eye out for them. 
Kim

SST subscription issues

Posted: Tue Oct 20, 2020 12:59 pm America/New_York
by OB ODPS - towens
The refined ancillary data for September 2020 are being published this afternoon, so our next batch of refined SST products will be available shortly.

Tommy