Skip to content

IRI/LDEO OPeNDAP endpoint for NOAA ESSRT errors in NetCDF >= 4.7.3 #2013

@ellenjohnson

Description

@ellenjohnson

Hi NetCDF developers!
A MATLAB customer reported the following NOAA ESSRT OPeNDAP endpoint fails with a NetCDF error as of MATLAB R2020b. This is the version in which we upgraded from NetCDF version 4.6.1 to 4.7.3. I confirmed that we can read the data fine in MATLAB R2020a (NetCDF 4.6.1), but we get the error in MATLAB versions 20b and 21a (NetCDF 4.7.3). It also errors in our current development branch using NetCDF 4.7.4.

I can reproduce this using ncdump in 4.7.4 on Linux:

Dataset:
http://iridl.ldeo.columbia.edu/SOURCES/.NOAA/.NCDC/.ERSST/.version5/.sst/

OPeNDAP URL:
http://iridl.ldeo.columbia.edu/SOURCES/.NOAA/.NCDC/.ERSST/.version5/.sst/X/%2880W%29%280%29RANGEEDGES/T/%28Jul%201993%29%28Jun%202019%29RANGEEDGES/Y/%2820S%29%2880N%29RANGEEDGES/T/%28Jul-Jun%29seasonalAverage/dods

Using:
ncdump -h "http://iridl.ldeo.columbia.edu/SOURCES/.NOAA/.NCDC/.ERSST/.version5/.sst/X/%2880W%29%280%29RANGEEDGES/T/%28Jul%201993%29%28Jun%202019%29RANGEEDGES/Y/%2820S%29%2880N%29RANGEEDGES/T/%28Jul-Jun%29seasonalAverage/dods"

Results in:
syntax error, unexpected WORD_WORD, expecting '=' context: Dataset { Grid { ARRAY: Float32 T[ Float32 T^[T = 2008]; = 2008]; MAPS: Float32 T[T = 2008]; } T;} T; Illegal dimension declaration context: Dataset { Grid { ARRAY: Float32 T[ Float32 T^[T = 2008]; = 2008]; MAPS: Float32 T[T = 2008]; } T;} T; ./ncdump: http://iridl.ldeo.columbia.edu/SOURCES/.NOAA/.NCDC/.ERSST/.version5/.sst/X/%2880W%29%280%29RANGEEDGES/T/%28Jul%201993%29%28Jun%202019%29RANGEEDGES/Y/%2820S%29%2880N%29RANGEEDGES/T/%28Jul-Jun%29seasonalAverage/dods: http://iridl.ldeo.columbia.edu/SOURCES/.NOAA/.NCDC/.ERSST/.version5/.sst/X/%2880W%29%280%29RANGEEDGES/T/%28Jul%201993%29%28Jun%202019%29RANGEEDGES/Y/%2820S%29%2880N%29RANGEEDGES/T/%28Jul-Jun%29seasonalAverage/dods: NetCDF: Malformed or inaccessible DAP DDS

This looks kinda similar to #569 but looks like that was fixed in 4.6.0.

Hopefully this is an easy fix? Fingers crossed!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions