HDF Import in version 5
- To: mathgroup at smc.vnet.net
- Subject: [mg42797] HDF Import in version 5
- From: "Nathan Jones" <spam at snrugg.com>
- Date: Wed, 30 Jul 2003 04:07:23 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
This is a little warning to those of you who import HDF data, and are upgrading to version 5.0. In Mathematica 4.2, I had been importing HDF files like this: Import["file.hdf","HDF",ConversionOptions->{"DatasetSelection"->3}], referencing the dataset by number (3 in this case). In version 5, you'll get a *different* dataset than version 4.2 if you do this. So, it's probably best to reference the dataset by its name, like this: Import["file.hdf","HDF",ConversionOptions->{"DatasetSelection"->"data-set-na me"}]. This should grab the same dataset in all versions.