PDL::IO::HDF - An interface librairie for HDF file.
This librairy provide functions to manipulate HDF files with SD, VS and V interface.
This package also contain some globals constantes and typemaps.
The 'new' function of this package use the 'new' functions of all HDF interface. This give you the possibility to access to all interface in one opening.
For more infomation on HDF, see http://hdf.ncsa.uiuc.edu/
use PDL; use PDL::IO::HDF; #open file 'foo.hdf' with all hdf interface my $HDF = PDL::IO::HDF->new("foo.hdf"); #you can call any functions with this syntaxe : # $obj->{$interface}->function $HDF->{SD}->SDget("Foo_data"); #the same with VS interface : $HDF->{VS}->VSgetnames(); #There is an other syntaxe (the one I use): # $$obj{$interface}->function $$HDF{SD}->SDget("Foo_data"); #the same with VS interface : $$HDF{VS}->VSgetnames(); #to close all interface : $HDF->close;
For more infomation on functions, see the docs of interfaces.
This is the description of the PDL::IO::HDF module.
Patrick Leilde patrick.leilde@ifremer.fr contribs of Olivier Archer olivier.archer@ifremer.fr
perl(1), PDL(1), PDL::IO::HDF::SD(1), PDL::IO::HDF::VS(1).
To install PDL::IO::HDF, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PDL::IO::HDF
CPAN shell
perl -MCPAN -e shell install PDL::IO::HDF
For more information on module installation, please visit the detailed CPAN module installation guide.