hdfcpp: High level C++ library for reading HDF4 files
Language/Format: C++
Application type(s): Data Read/Write
Related project(s): CALIPSO, GLAS, GOES, METEOSAT, MODIS, MSG, Megha-Tropiques, PARASOL, POLDER
Description
The hdfcpp library is a high level C++ library that facilitates the reading and writing of the HDF4 files in an object oriented wayUsage
In the /test directory of the package, stands a few code snippets that show how to use it.Download
Source can be downloaded here :hdfcpp.v1.0.0.tar.gz
Package can be browsed here :
hdfcpp
Compilation
Prerequisites
a C++ compiler a HDF4 library (http://www.hdfgroup.org/products/hdf4/)Environment configuration
First, edit the hdfcpp-compil_env.sh script and set the pathes to the HDF4 library to match your environment by updating the variables : HDFINC=<HDF4-includes-directory> , where <HDF4-includes-directory> contains the HDF4 library includes : hdf.h, mfhdf.h… HDFLIBDIR=<HDF4-libraries-directory>, where <HDF4-libraries-directory> contains the HDF4 libraries : libdf.a, libmfhdf.a If you are on the ICARE systems, you shouldn’t have to modify it, all is configured for it by default. Then execute the script to export the script variables. In bash shell, this is done by running :> export hdfcpp-compil_env.sh
Build
Configure the build step and eventually set the target installation directory (for instance –prefix=$HOME) by running :> ./configure --prefix=<the-installation-directory>"
> make
> make install
Copyright
Copyright (C) 2013 Icare – ICARE web siteFabrice Ducos, fabrice.ducos@univ-lille.fr Nicolas Pascal, nicolas.pascal@icare.univ-lille.fr
This program is a free software; you can redistribute it and/or modify it under the terms of the CeCILL Public License as published by www.cecill.info (License version 2 or later).
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the CeCILL Public License for more details.
You should have received a copy of the CeCILL Public License along with this program; if not, please contact www.cecill.info
For any questions or concerns regarding this program, or general information about the ICARE Project, please email to contact@icare.univ-lille.fr