getanc error for the December 2023
-
- Posts: 337
- Joined: Wed Apr 06, 2005 12:11 pm America/New_York
- Has thanked: 10 times
- Been thanked: 3 times
getanc error for the December 2023
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
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
Filters:
-
- Subject Matter Expert
- Posts: 450
- Joined: Fri Feb 05, 2021 9:17 am America/New_York
- Been thanked: 7 times
Re: getanc error for the December 2023
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
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
-
- Subject Matter Expert
- Posts: 450
- Joined: Fri Feb 05, 2021 9:17 am America/New_York
- Been thanked: 7 times
Re: getanc error for the December 2023
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
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
-
- Posts: 337
- Joined: Wed Apr 06, 2005 12:11 pm America/New_York
- Has thanked: 10 times
- Been thanked: 3 times