getanc error for the December 2023

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
oo_processing
Posts: 304
Joined: Wed Apr 06, 2005 12:11 pm America/New_York
Answers: 0
Has thanked: 6 times

getanc error for the December 2023

by oo_processing » Wed Jan 03, 2024 11:00 am America/New_York

Dear Support,

I got connection error for the 1st one, but OK for the 2nd one. We need to generate a report for the last month, so it's kind of urgent. Very appreciated if you can help.
# getanc -s 2023338150000 --ancdb=./junk.db --disable-download -m modisa
...
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='oceandata.sci.gsfc.nasa.gov', port=443): Max retries exceeded with url: /api/anc_data_api/?&m=7&s=2023-12-04T15:00:00&e=2023-12-04T15:05:00&missing_tags=1 (Caused by ReadTimeoutError("HTTPSConnectionPool(host='oceandata.sci.gsfc.nasa.gov', port=443): Read timed out. (read timeout=10.0)"))

# getanc -s 2023308150000 --ancdb=./junk.db --disable-download -m modisa
./junk.db

icefile=/shares/cms_optics/apps/seadas/ocssw/V2023.2/var/anc/2023/308/20231104120000-CMC-L4_GHRSST-SSTfnd-CMC0.1deg-GLOB-v02.0-fv03.0.nc
met1=/shares/cms_optics/apps/seadas/ocssw/V2023.2/var/anc/2023/308/GMAO_MERRA2.20231104T150000.MET.nc
met2=/shares/cms_optics/apps/seadas/ocssw/V2023.2/var/anc/2023/308/GMAO_MERRA2.20231104T150000.MET.nc
met3=/shares/cms_optics/apps/seadas/ocssw/V2023.2/var/anc/2023/308/GMAO_MERRA2.20231104T160000.MET.nc
ozone1=/shares/cms_optics/apps/seadas/ocssw/V2023.2/var/anc/2023/308/GMAO_MERRA2.20231104T150000.MET.nc
ozone2=/shares/cms_optics/apps/seadas/ocssw/V2023.2/var/anc/2023/308/GMAO_MERRA2.20231104T150000.MET.nc
ozone3=/shares/cms_optics/apps/seadas/ocssw/V2023.2/var/anc/2023/308/GMAO_MERRA2.20231104T160000.MET.nc
sstfile=/shares/cms_optics/apps/seadas/ocssw/V2023.2/var/anc/2023/308/20231104120000-CMC-L4_GHRSST-SSTfnd-CMC0.1deg-GLOB-v02.0-fv03.0.nc

Thanks.
Yuyuan

Tags:

OB ODPS - towens
Subject Matter Expert
Subject Matter Expert
Posts: 378
Joined: Fri Feb 05, 2021 9:17 am America/New_York
Answers: 0
Been thanked: 4 times

Re: getanc error for the December 2023

by OB ODPS - towens » Wed Jan 03, 2024 12:43 pm America/New_York

I can reproduce the error on my desktop.

I don't know why the API doesn't handle it better, but data day 2023 338 = 2023-12-04. The refined MERRA2 Ancillary data are released monthly, typically after the 21st of the following month, so it is too soon for December data.

Try that query after 2024-01-21.

In the mean time, can use the GMAO_FP NRT ancillary to process that day.

I'll report the API issue to the web admins.

Tommy

OB ODPS - towens
Subject Matter Expert
Subject Matter Expert
Posts: 378
Joined: Fri Feb 05, 2021 9:17 am America/New_York
Answers: 0
Been thanked: 4 times

Re: getanc error for the December 2023

by OB ODPS - towens » Wed Jan 03, 2024 1:19 pm America/New_York

web admins have a workaround while they work on the reponse time:
add --timeout=30 to allow the API to find the NRT data.

getanc -s 2023338150000 --timeout=30 --ancdb=./junk.db --disable-download -m modisa
./junk.db
icefile=/accounts/towens/SeaDAS/ocssw/var/anc/2023/338/20231204120000-CMC-L4_GHRSST-SSTfnd-CMC0.1deg-GLOB-v02.0-fv03.0.nc
met1=/accounts/towens/SeaDAS/ocssw/var/anc/2023/338/GMAO_FP.20231204T150000.MET.NRT.nc
met2=/accounts/towens/SeaDAS/ocssw/var/anc/2023/338/GMAO_FP.20231204T150000.MET.NRT.nc
met3=/accounts/towens/SeaDAS/ocssw/var/anc/2023/338/GMAO_FP.20231204T180000.MET.NRT.nc
ozone1=/accounts/towens/SeaDAS/ocssw/var/anc/2023/338/GMAO_FP.20231204T150000.MET.NRT.nc
ozone2=/accounts/towens/SeaDAS/ocssw/var/anc/2023/338/GMAO_FP.20231204T150000.MET.NRT.nc
ozone3=/accounts/towens/SeaDAS/ocssw/var/anc/2023/338/GMAO_FP.20231204T180000.MET.NRT.nc
sstfile=/accounts/towens/SeaDAS/ocssw/var/anc/2023/338/20231204120000-CMC-L4_GHRSST-SSTfnd-CMC0.1deg-GLOB-v02.0-fv03.0.nc

Tommy

oo_processing
Posts: 304
Joined: Wed Apr 06, 2005 12:11 pm America/New_York
Answers: 0
Has thanked: 6 times

Re: getanc error for the December 2023

by oo_processing » Wed Jan 03, 2024 2:27 pm America/New_York

It works, thank you, Tommy.

Post Reply