Re: [netcdfgroup] Unable to use new ncdump (4.6.2) on opendap URL

Dear Chris et al,

Thanks already for the investigation. It has worked for several years. I 
installed the NetCDF library via a Centos 7 docker image using conda forge.

Dockerfile:
FROM centos/devtoolset-7-toolchain-centos7:7
USER root
RUN yum update -y && yum install -y bzip2
RUN curl -L -O 
https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh
RUN bash ./Miniconda2-latest-Linux-x86_64.sh -p /miniconda -b
ENV PATH=/miniconda/bin:${PATH}
RUN conda update -y conda
RUN conda config --add channels conda-forge
RUN conda update -y conda && conda install -y netcdf4
CMD bash

Build with:
docker build -t netcdftest .

Run with:
docker run -it netcdftest bash -c "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";
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

I think I can make a workarround for conda, I will try to use the package 
manager instead.

Cheers,
Maarten
________________________________________
Van: Chris Barker <chris.barker@xxxxxxxx>
Verzonden: vrijdag 15 maart 2019 00:48:45
Aan: Plieger, Maarten (KNMI)
CC: netcdfgroup@xxxxxxxxxxxxxxxx
Onderwerp: Re: [netcdfgroup] Unable to use new ncdump (4.6.2) on opendap URL

that URL works for me with 4.6.1.

How did you built it? or get it from?

-CHB



On Thu, Mar 14, 2019 at 7:41 AM Plieger, Maarten (KNMI) 
<maarten.plieger@xxxxxxx<mailto:maarten.plieger@xxxxxxx>> 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<mailto:netcdfgroup@xxxxxxxxxxxxxxxx>
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/


--

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker@xxxxxxxx<mailto:Chris.Barker@xxxxxxxx>



  • 2019 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: