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

[netCDF #APV-976877]: ncopen error message


  • Subject: [netCDF #APV-976877]: ncopen error message
  • Date: Tue, 12 Jun 2012 16:37:10 -0600

Good afternoon Peter,

The file 'hdf5.h' is part of the HDF5 distribution, provided by the HDF5 group. 
 The source code for HDF5 is available at the following address:

http://www.hdfgroup.org/ftp/HDF5/current/src/

The pre-built hdf5 libraries are also available at: 

http://www.hdfgroup.org/HDF5/release/obtain5.html

They have a number of different packages, organized by development platform and 
development environment.  Hopefully this should be enough to get you going!

-Ward

> 
> Hello Ward,
> 
> I am trying to compile the simple C++ source file attached which is intended 
> to read an hdf5 test file that I have. Can you tell me how to download the 
> source file "hdf5.h" from your site and also I will need to link to the HDF5 
> library to access the functions I call, so some precompiled version of this 
> is needed. This should initially get me off the ground. (This is a new query, 
> so maybe a new ticket is necessary).
> 
> Kind regards,
> 
> Peter Brigden.
> 
> 
> 
> > To: address@hidden
> > Subject: [netCDF #APV-976877]: ncopen error message
> > Date: Wed, 6 Jun 2012 15:12:54 -0600
> > CC: address@hidden; address@hidden
> > From: address@hidden
> >
> > Good afternoon Peter,
> >
> > The following links all work for me; do they still fail to open for you? 
> > Perhaps it was a temporary issue with the hdfgroup website.
> >
> > -Ward
> >
> > >
> > > Hello Ward,
> > >
> > > Thanks for the library builds. I have not had time to do much with them 
> > > yet, but further investigation on the hdf file that I have shows that it 
> > > has been set up with HDF5 formatting as it responds correctly to 
> > > h5dump.exe (which I have just come across). My task is to produce a 
> > > browser for hdf files containing our spectral data but so far I am a 
> > > newcomer to the whole HDF technology. In trying to access information 
> > > from the HDF5 documentation I am having trouble with a few of the links 
> > > in the HDF5 User Guide. The following links do not appear to work:-
> > >
> > > http://www.hdfgroup.org/HDF5/doc/H5.format.html
> > >
> > > http://www.hdfgroup.org/HDF5/doc/UG/UG_frame09Groups.html
> > >
> > > http://www.hdfgroup.org/HDF5/doc/UG/UG_frame10Datasets.html
> > >
> > > http://www.hdfgroup.org/HDF5/doc/UG/UG_frame11Datatypes.html
> > >
> > > http://www.hdfgroup.org/HDF5/doc/UG/UG_frame12Dataspaces.html
> > >
> > > http://www.hdfgroup.org/HDF5/doc/UG/UG_frame13Attributes.html
> > >
> > > http://www.hdfgroup.org/HDF5/doc/UG/UG_frame13ErrorHandling.html
> > >
> > > http://www.hdfgroup.org/HDF5/examples/examples-by-api
> > >
> > > I can access chapters 1, 2 and 3 ok, but nothing after that for some 
> > > strange reason. Any ideas what's going on here?
> > >
> > > kind regards,
> > >
> > > Peter.
> > >
> > >
> > >
> > > > To: address@hidden
> > > > Subject: [netCDF #APV-976877]: ncopen error message
> > > > Date: Wed, 30 May 2012 10:15:44 -0600
> > > > CC: address@hidden
> > > > From: address@hidden
> > > >
> > > > Good morning Peter,
> > > >
> > > > Russ has asked me to chime in, as I've spent some time recently working 
> > > > with szip on Windows. As an addendum to Russ's last message, the links 
> > > > to the szip source Russ provided should let you build the 
> > > > szip.dll/szip.lib libraries you need, on Windows. You will need CMake 
> > > > (http://www.cmake.org/) to do so.
> > > >
> > > > I'm not sure what your build environment is, but building szip is 
> > > > fairly straightforward:
> > > >
> > > > 1) Install CMake http://www.cmake.org/
> > > > 2) Download and uncompress the szip source tree (szip-2.1) to some 
> > > > location.
> > > > 3) Open a command window
> > > > 4) Change directory into the szip-2.1 root directory (`cd C:\szip-2.1`)
> > > > 5) Create a build directory ('mkdir build')
> > > > 6) Change into the build directory ('cd build')
> > > > 7) Depending on your build environment, do one of the following:
> > > > == Visual Studio
> > > > 8) cmake ..
> > > > 9) After cmake completes, open the resulting visual studio project in 
> > > > Visual studio and compile it. The resulting libraries should be in the 
> > > > build/Debug/ directories.
> > > >
> > > > == MSYS/MinGW
> > > > 8) cmake -G"MSYS Makefiles" ..
> > > > 9) 'make'. The resulting libraries will be in the build/bin directory .
> > > >
> > > > These are the two build environments I have been working with, but 
> > > > many, many others are supported. You will need to consult the CMake 
> > > > documentation for the appropriate '-G' flag.
> > > >
> > > > Hopefully this will help. Have a great day,
> > > >
> > > > -Ward
> > > > Ward Fisher
> > > > address@hidden
> > > >
> > > >
> > > >
> > > > >
> > > > > Hi Peter,
> > > > >
> > > > > > Further to my query regarding ncdump, I am just ensuring that I 
> > > > > > have the correct dll's and lib's present. All is ok apart from 
> > > > > > 'szlibdll.lib' which has eluded me thus far; for example, the link 
> > > > > > in the HDFgroup documentation to download 'szlibdll.dll' and 
> > > > > > 'szlibdll.lib' does not work. I was wondering if you could please 
> > > > > > advise me on a reliable download for this file.
> > > > >
> > > > > I don't know from where to download a precompiled dll for szlib on 
> > > > > Windows,
> > > > > but the latest version is available in source form from either of 
> > > > > these two
> > > > > places:
> > > > >
> > > > > http://www.hdfgroup.org/ftp/lib-external/szip/2.1/src/szip-2.1.tar.gz
> > > > > or
> > > > > ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-4/szip-2.1.tar.gz
> > > > >
> > > > > and it appears to be relatively easy to buld and install on Windows 
> > > > > from source,
> > > > > accorrding to these instructions in the INSTALL file in the top-level 
> > > > > source
> > > > > directory:
> > > > >
> > > > > 4. Installation for Windows platforms
> > > > >
> > > > > To install on Windows, extract project and instruction files from the
> > > > > szipproj.zip archive in the "windows" directory, and follow the 
> > > > > instructions
> > > > > in the INSTALL_SZIP.txt file.
> > > > >
> > > > > --Russ
> > > > >
> > > > > Russ Rew UCAR Unidata Program
> > > > > address@hidden http://www.unidata.ucar.edu
> > > > >
> > > > >
> > > >
> > > >
> > > > Ticket Details
> > > > ===================
> > > > Ticket ID: APV-976877
> > > > Department: Support netCDF
> > > > Priority: Normal
> > > > Status: Open
> > > >
> > >
> > >
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: APV-976877
> > Department: Support netCDF
> > Priority: Normal
> > Status: Closed
> >
> 
> 


Ticket Details
===================
Ticket ID: APV-976877
Department: Support netCDF
Priority: Normal
Status: Closed