GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
HDF(3) User Contributed Perl Documentation HDF(3)

PDL::IO::HDF - A PDL interface to the HDF4 library.

  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 functions from either the SD or VS interfaces:
  $HDF->{SD}->SDget("Foo_data");
  $HDF->{VS}->VSgetnames();
  # To close the file:
  $HDF->close();

This library provides functions to manipulate HDF files with the SD, VS, and V HDF interfaces.

For more information on HDF, see http://hdf.ncsa.uiuc.edu/

The 'new' function of this package uses the 'new' functions for the individual HDF interfaces. This allows you to use all of the interfaces at one time (if you don't mind the extended syntax).

Actually using the HDF files comes down to using one of the particular interfaces, for that see the docs on those modules.

These constants are now implemented using the perl 'use constant' pragma.

Previously, they were just scalars that were changeable (which is a no-no).

See constant(1) for more info on how to use these in your code.

Open the file in read-only mode.
Open the file in write-only mode.
Clobber the file (create it if it doesn't exist, and then open with RW mode).
Open the file in read-write mode.
Same as DFACC_READ
Open the file in read-write mode.

HDF's unsigned char ~= PDL's byte
HDF's char ~= PDL's byte
HDF's 32-bit float ~= PDL's float
HDF's 64-bit float ~= PDL's double
HDF's 8-bit integer ~= PDL's byte
HDF's 8-bit unsigned integer ~= PDL's byte
HDF's 16-bit integer ~= PDL's short
HDF's 16-bit unsigned integer ~= PDL's ushort
HDF's 32-bit integer ~= PDL's long
HDF's 32-bit integer ~= PDL's long

This is the max name length for SDS variables, attribtues, and just about anything else.
This is the max number of dims a HDF variable can have.

Judd Taylor, Orbital Systems, Ltd. judd dot t at orbitalsystems dot com

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), constant(1).

2025-01-06 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.