NOAA-PMEL / Ferret

The Ferret program from NOAA/PMEL
https://ferret.pmel.noaa.gov/Ferret/
The Unlicense
55 stars 20 forks source link

some IRI OPeNDAP links no longer work in latest Ferret version #1402

Closed karlmsmith closed 6 years ago

karlmsmith commented 6 years ago

Reported by @AndrewWittenberg on 16 Jan 2014 23:43 UTC This IRI OPeNDAP link (to the Reynolds OI SSTs, a frequently-used dataset) worked in v6.725:

    NOAA/PMEL TMAP
    FERRET v6.725  
    Linux 2.6.18-274.12.1.el5 64-bit - 04/10/12
    16-Jan-14 18:13     

yes? use "http://iridl.ldeo.columbia.edu/SOURCES/.IGOSS/.nmc/.Reyn_SmithOIv2/.monthly/sst/dods"
yes? sho dat
     currently SET data sets:
    1> http://iridl.ldeo.columbia.edu/SOURCES/.IGOSS/.nmc/.Reyn_SmithOIv2/.monthly/sst/dods  (default)
 name     title                             I         J         K         L
 SST      Sea Surface Temperature          1:360     1:180     ...       1:386

But in the latest Ferret version I get:

    NOAA/PMEL TMAP
    FERRET v6.86  
    Linux 2.6.32-431.3.1.el6.x86_64 64-bit - 01/15/14
    16-Jan-14 18:17     

yes? use "http://iridl.ldeo.columbia.edu/SOURCES/.IGOSS/.nmc/.Reyn_SmithOIv2/.monthly/sst/dods"
NetCDF: Malformed or inaccessible DAP DATADDS (OPeNDAP/netCDF Error code -73)
 T
NetCDF: Malformed or inaccessible DAP DATADDS (OPeNDAP/netCDF Error code -73)
 Y
NetCDF: Malformed or inaccessible DAP DATADDS (OPeNDAP/netCDF Error code -73)
 X
yes? sho dat
     currently SET data sets:
    1> http://iridl.ldeo.columbia.edu/SOURCES/.IGOSS/.nmc/.Reyn_SmithOIv2/.monthly/sst/dods  (default)
 name     title                             I         J         K         L         M         N
 T                                         ...       ...       ...       1:386     ...       ...
       (invalid coordinate axis)
 Y                                         ...       1:180     ...       ...       ...       ...
       (invalid coordinate axis)
 X                                         1:360     ...       ...       ...       ...       ...
       (invalid coordinate axis)
 SST      Sea Surface Temperature          1:360     1:180     ...       1:386     ...       ...

Is this a Ferret problem, or a problem with IRI's OPeNDAP server? An incompatibility between NetCDF/OPeNDAP library versions?

Interestingly, simply removing the "sst/" at the end (so that we get the aggregate dataset) seems to make things work:

    NOAA/PMEL TMAP
    FERRET v6.86  
    Linux 2.6.32-431.3.1.el6.x86_64 64-bit - 01/15/14
    16-Jan-14 18:39     

yes? use "http://iridl.ldeo.columbia.edu/SOURCES/.IGOSS/.nmc/.Reyn_SmithOIv2/.monthly/dods"
yes? sho dat
     currently SET data sets:
    1> http://iridl.ldeo.columbia.edu/SOURCES/.IGOSS/.nmc/.Reyn_SmithOIv2/.monthly/dods  (default)
 name     title                             I         J         K         L         M         N
 MASK     Land-Sea Mask                    1:360     1:180     ...       ...       ...       ...
 SEA_ICE  Sea Ice Concentration            1:360     1:180     ...       1:386     ...       ...
 SST      Sea Surface Temperature          1:360     1:180     ...       1:386     ...       ...
 SSTA     Sea Surface Temperature Anomaly  1:360     1:180     ...       1:386     ...       ...

Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/2130

karlmsmith commented 6 years ago

Modified by @AndrewWittenberg on 16 Jan 2014 23:44 UTC

karlmsmith commented 6 years ago

Comment by @AnsleyManke on 17 Jan 2014 00:11 UTC This crops up with NetCDF 4.3.

> ferret_v686
        NOAA/PMEL TMAP
        FERRET v6.86  
        Linux 2.6.32-431.3.1.el6.x86_64 64-bit - 01/16/14
        16-Jan-14 15:52     

yes? show symbol netcdf_version
NETCDF_VERSION = "4.3.0 of May  3 2013 16:02:47 $"

Check the ncdump -c with ncdump from NetCDF 4.3,

> ncdump -c http://iridl.ldeo.columbia.edu/SOURCES/.IGOSS/.nmc/.Reyn_SmithOIv2/.monthly/sst/dods
(dumps the header correctly), then

NetCDF: Malformed or inaccessible DAP DATADDS
Location: file vardata.c; line 475

but, ncdump built from NetCDF 4.2 returns the correct coordinates.

Some of the datasets from that server do work fine with netCDF 4.3:

        NOAA/PMEL TMAP
        FERRET v6.86  
        Linux 2.6.32-431.3.1.el6.x86_64 64-bit - 01/16/14
        16-Jan-14 15:49     

yes? use "http://iridl.ldeo.columbia.edu/SOURCES/.NOAA/.NCEP/.EMC/.CMB/.Pacific/.monthly/dods"
yes? show data
     currently SET data sets:
    1> http://iridl.ldeo.columbia.edu/SOURCES/.NOAA/.NCEP/.EMC/.CMB/.Pacific/.monthly/dods  (default)
 name     title                             I         J         K         L         M         N
 D20EQ    Depth of 20C                     1:112     1:81      ...       1:346     ...       ...
 H        sea level height anomaly         1:112     1:81      ...       1:346     ...       ...
 SAL      salinity                         1:112     1:81      1:27      1:346     ...       ...
 TAUX     zonal wind stress                1:112     1:81      ...       1:346     ...       ...
 TAUY     meridional wind stress           1:112     1:81      ...       1:346     ...       ...
 TCOR     temperature correction           1:112     1:81      1:27      1:346     ...       ...
 TEMP     temperature                      1:112     1:81      1:27      1:346     ...       ...
 U        zonal velocity                   1:112     1:81      1:27      1:346     ...       ...
 V        meridional velocity              1:112     1:81      1:27      1:346     ...       ...

I have sent a report to Unidata.

karlmsmith commented 6 years ago

Comment by @AnsleyManke on 17 Jan 2014 21:11 UTC Unidata says this is fixed in their current code, and that they expect to release NetCDF 4.3.1 soon, probably next week. We can experiment with that when it comes, and if their release is delayed, get release candidate code if need be.

karlmsmith commented 6 years ago

Comment by @AnsleyManke on 25 Feb 2014 19:27 UTC NetCDF version 4.3.1.1 fixes this. It will be linked with Ferret v6.86 and beyond.