MathGroup Archive 2006

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

Search the Archive

Fwd: Importing HDF with multiple SDS

  • To: mathgroup at smc.vnet.net
  • Subject: [mg66601] Fwd: [mg66552] Importing HDF with multiple SDS
  • From: "Dale R. Horton" <daleh at wolfram.com>
  • Date: Mon, 22 May 2006 18:14:34 -0400 (EDT)
  • References: <BF7EC8DD-C18D-4F16-A87A-F882C592A623@wolfram.com>
  • Sender: owner-wri-mathgroup at wolfram.com

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