MathGroup Archive 2006

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

Search the Archive

Fwd: Importing HDF with multiple SDS


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" ->  
Information}]

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.

-Dale

>> From: "MaDD" <mark.dowell at gmail.com>
To: mathgroup at smc.vnet.net
>> 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