[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #MCI-552767]: netcdf 4.3.1 failed on opendap



Hugo-

It turns out that some old
servers do not properly
implement the current DAP2 spec.
It turns out that the server you are accessing is one of those.

When a reference such as this is made:

http://thredds.aodn.org.au/thredds/dodsC/IMOS/ACORN/gridded_1h-avg-current-map_QC/SAG/2010/01/27/IMOS_ACORN_V_20100127T023000Z_SAG_FV01_1-hour-avg.nc.dds?SPEED.SPEED

the server is returning this:
Dataset {
    Float64 SPEED[TIME = 1][LATITUDE = 74][LONGITUDE = 102];
} 
IMOS/ACORN/gridded_1h-avg-current-map_QC/SAG/2010/01/27/IMOS_ACORN_V_20100127T023000Z_SAG_FV01_1-hour-av

when it should be returning this:
Dataset {
  Structure {
    Float64 SPEED[TIME = 1][LATITUDE = 74][LONGITUDE = 102];
  } SPEED;
} 
IMOS/ACORN/gridded_1h-avg-current-map_QC/SAG/2010/01/27/IMOS_ACORN_V_20100127T023000Z_SAG_FV01_1-hour-av

The reason is that when picking fields out of a grid,
one must maintain the fully qualified name, so the grid
is converted to an enclosing structure.

Your example exposed another bug in my code for hacking around this.
I have fixed this in the current github repository.

=Dennis Heimbigner
  Unidata


Ticket Details
===================
Ticket ID: MCI-552767
Department: Support netCDF
Priority: Normal
Status: Closed