Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Fwd: Importing HDF with multiple SDS

  • To: mathgroup at
  • Subject: [mg66601] Fwd: [mg66552] Importing HDF with multiple SDS
  • From: "Dale R. Horton" <daleh at>
  • Date: Mon, 22 May 2006 18:14:34 -0400 (EDT)
  • References: <>
  • Sender: owner-wri-mathgroup at

By default, HDF Import reads the first dataset. But there's a  
"DatasetSelection" ConversionOption for working with other datasets.

You can get information about all of the datasets:

Import["file.hdf", ConversionOptions -> {"DatasetSelection" ->  

You can get a specific dataset by name or number:

Import["file.hdf", ConversionOptions -> {"DatasetSelection" -> 2}]

More detail can be found in the Additional Information section of the  
Import documentation in the Help Browser.


>> From: "MaDD" <mark.dowell at>
To: mathgroup at
>> Date: May 20, 2006 3:46:44 AM CDT
>> Subject: [mg66601] [mg66552] Importing HDF with multiple SDS
>> Is it possible to import a variable from an HDF file that includes
>> multiple SDS datsets?

  • Prev by Date: How to write formatted number into a file
  • Next by Date: Finding complex root of a function
  • Previous by thread: Importing HDF with multiple SDS
  • Next by thread: Mathlink and Intel C++ compiler