- To: "netcdfgroup@xxxxxxxxxxxxxxxx" <netcdfgroup@xxxxxxxxxxxxxxxx>
- Subject: Re: [netcdfgroup] Unable to use new ncdump (4.6.2) on opendap URL
- From: Dennis Heimbigner <dmh@xxxxxxxx>
- Date: Thu, 14 Mar 2019 13:44:37 -0600
There is another problem. The file being sent thru opendap is a netcdf-4
file,
not a netcdf-3 (classic) file. Further, the netcdf-4 dataset uses the
ubyte data type
for 'waterb', and ubyte type is not defined for netcdf-3. Technically, there is no standard mapping from netcdf-4 to opendap. I can see following solutions: 1. do nothing; this request is erroneous, or 2. add another hack to support this case, or3. request that the DAP4 protocol be used since this is a netcdf-4 file being sent.
On 3/13/2019 3:28 AM, Plieger, Maarten (KNMI) wrote:
Dear NetCDFGroup, I have a question: A previous version of ncdump (4.4.1.1) does give a nice overview of an OpenDAP URL, while a newer version of ncdump (4.6.2) does not: Version netcdf library version 4.4.1.1 of Apr 10 2018 03:02:27: $ ncdump -h http://opendap.knmi.nl/knmi/thredds/dodsC/CLIPC/tudo/tier3/waterb_arcgis-10-4-0_IRPUD_JRC-LUISA-Landuse_10yr_20100101-20501231.nc Gives netcdf waterb_arcgis-10-4-0_IRPUD_JRC-LUISA-Landuse_10yr_20100101-20501231 { dimensions: time = UNLIMITED ; // (5 currently) x = 390 ; y = 393 ; variables: ... } works, fine while: netcdf library version 4.6.2 of Dec 17 2018 19:36:03 $ ncdump -h http://opendap.knmi.nl/knmi/thredds/dodsC/CLIPC/tudo/tier3/waterb_arcgis-10-4-0_IRPUD_JRC-LUISA-Landuse_10yr_20100101-20501231.nc Gives ncdump: http://opendap.knmi.nl/knmi/thredds/dodsC/CLIPC/tudo/tier3/waterb_arcgis-10-4-0_IRPUD_JRC-LUISA-Landuse_10yr_20100101-20501231.nc: http://opendap.knmi.nl/knmi/thredds/dodsC/CLIPC/tudo/tier3/waterb_arcgis-10-4-0_IRPUD_JRC-LUISA-Landuse_10yr_20100101-20501231.nc: NetCDF: Not a valid data type or _FillValue type mismatch Am I forgetting something? Cheers, Maarten Plieger KNMI _______________________________________________ NOTE: All exchanges posted to Unidata maintained email lists are recorded in the Unidata inquiry tracking system and made publicly available through the web. Users who post to any of the lists we maintain are reminded to remove any personal information that they do not want to be made public. netcdfgroup mailing list netcdfgroup@xxxxxxxxxxxxxxxx For list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/
- References:
- [netcdfgroup] Unable to use new ncdump (4.6.2) on opendap URL
- From: Plieger, Maarten (KNMI)
- [netcdfgroup] Unable to use new ncdump (4.6.2) on opendap URL