![]() |
HDF User’s GuideVersion 4.2.7 |
[Top] |
List of Examples
Chapter 1 - Introduction to HDFChapter 2 - HDF FundamentalsChapter 3 - Scientific Data Sets (SD API)EXAMPLE 1. Creating an HDF file and an Empty SDS.EXAMPLE 2. Writing to an SDS.EXAMPLE 3. Writing a Slab of Data to an SDS.EXAMPLE 4. Altering Values within an SDS Array.EXAMPLE 5. Appending Data to an SDS Array with an Unlimited Dimension.EXAMPLE 6. Compressing SDS Data.EXAMPLE 7. Moving Data to the External File.EXAMPLE 8. Reading from an SDS.EXAMPLE 9. Reading Subsets of an SDS.EXAMPLE 10. Getting Information about a File and an SDSs.EXAMPLE 11. Locating an SDS by Its Name.EXAMPLE 12. Setting and Retrieving Dimension Information.EXAMPLE 13. Distinguishing a Dimension Scale from a Data Set in a File.EXAMPLE 14. Setting Attributes.EXAMPLE 15. Reading Attributes.EXAMPLE 16. Calibrating Data.EXAMPLE 17. Writing and Reading a Chunked SDS.Chapter 4 - Vdatas (VS API)EXAMPLE 1. Accessing a Vdata in an HDF FileEXAMPLE 2. Creating and Storing One-field Vdatas Using VHstoredata and VHstoredatamEXAMPLE 3. Writing a Vdata of Homogeneous TypeEXAMPLE 4. Writing a Multi-field and Mixed-type Vdata with PackingEXAMPLE 5. Reading a Vdata of Homogeneous TypeEXAMPLE 6. Reading a Multi-field and Mixed-type Vdata with PackingEXAMPLE 7. Locating a Vdata Containing Specified Field NamesEXAMPLE 8. Operations on Field and Vdata AttributesEXAMPLE 9. Obtaining Vdata InformationChapter 5 - Vgroups (V API)EXAMPLE 1. Creating HDF Files and VgroupsEXAMPLE 2. Adding an SDS to a New VgroupEXAMPLE 3. Adding Three Vdatas into a VgroupEXAMPLE 4. Obtaining Information about Lone VgroupsEXAMPLE 5. Operations on Vgroup AttributesEXAMPLE 6. Obtaining Information about the Contents of a VgroupChapter 6 - 8-Bit Raster Images (DFR8 API)EXAMPLE 1. Writing an 8-Bit Raster Image to an HDF FileEXAMPLE 2. Writing a Palette and an Image in RIS8 FormatEXAMPLE 3. Writing a Set of Compressed 8-Bit Raster ImagesEXAMPLE 4. Compressing and Writing a 8-Bit Raster ImageEXAMPLE 5. Reading an 8-Bit Raster ImageChapter 7 - 24-bit Raster Images (DF24 API)EXAMPLE 1. Writing a 24-Bit Raster Image to an HDF FileEXAMPLE 2. Writing 24-Bit Raster Images Using Scan-plane InterlacingEXAMPLE 3. Compressing and Writing a 24-Bit Raster ImageEXAMPLE 4. Reading a 24-Bit Raster Image from an HDF FileChapter 8 - General Raster Images (GR API)EXAMPLE 1. Creating and Writing a Raster ImageEXAMPLE 2. Modifying an Existing Raster ImageEXAMPLE 3. Reading a Raster Image.EXAMPLE 4. Obtaining File and Image Information.EXAMPLE 5. Operations on File and Raster Image Attributes.EXAMPLE 6. Obtaining File and Image Attribute.EXAMPLE 7. Writing a Palette.EXAMPLE 8. Reading a Palette.EXAMPLE 9. Creating and Writing a Chunked Raster ImageChapter 9 - Palettes (DFP API)EXAMPLE 1. Writing a PaletteEXAMPLE 2. Reading a PaletteChapter 10 - Annotations (AN API)EXAMPLE 1. Creating File and Data AnnotationsEXAMPLE 2. Reading File and Data AnnotationsEXAMPLE 3. Obtaining Annotation InformationChapter 11 - Single-file Annotations (DFAN API)EXAMPLE 1. Writing a File Label and a File DescriptionEXAMPLE 2. Writing an Object Label and Description to a Scientific Data SetEXAMPLE 3. Reading a File Label and a File DescriptionEXAMPLE 4. Reading an Object Label and DescriptionEXAMPLE 5. Getting a List of Labels for All Scientific Data SetsChapter 12 - Single-File Scientific Data Sets (DFSD API)EXAMPLE 1. Creating and Writing to a DFSD Scientific Data SetEXAMPLE 2. Reading from a DFSD Scientific Data SetEXAMPLE 3. Assigning Predefined String Attributes to a FileEXAMPLE 4. Reading a Data Set and its Attribute RecordChapter 13 - Error ReportingEXAMPLE 1. Writing Errors to a Console WindowChapter 14 - HDF Performance IssuesChapter 15 - HDF Command-line Utilities
HDF 4.2.7 - February 2012 Copyright |
The HDF Group www.hdfgroup.org ![]() |