[Top] [Prev] [Next]
Chapter 3
Scientific Data Sets (SD API)
- 3.1 Chapter Overview
- 3.2 The Scientific Data Set Data Model
- 3.2.1 Required SDS Components
- 3.2.2 Optional SDS Components
- 3.2.3 Annotations and the SD Data Model
- 3.3 The SD Interface
- 3.3.1 Header and Include Files Used by the SD Interface
- 3.3.2 SD Interface Routines
- 3.3.3 Tags in the SD Interface
- 3.4 Programming Model for the SD Interface
- 3.4.1 Establishing Access to Files and Data Sets: SDstart, SDcreate, and SDselect
- 3.4.2 Terminating Access to Files and Data Sets: SDendaccess and SDend
- 3.5 Writing Data to an SDS
- 3.5.1 Writing Data to an SDS Array: SDwritedata
- 3.5.1.1 Filling an Entire Array
- 3.5.1.2 Writing Slabs to an SDS Array
- 3.5.1.3 Appending Data to an SDS Array along an Unlimited Dimension
- 3.5.1.4 Determining whether an SDS Array is Appendable: SDisrecord
- 3.5.1.5 Setting the Block Size: SDsetblocksize
- 3.5.2 Compressing SDS Data: SDsetcompress
- 3.5.3 External File Operations
- 3.5.3.1 Specifying the Directory Search Path of an External File: HXsetdir
- 3.5.3.2 Specifying the Location of the Next External File to be Created: HXsetcreatedir
- 3.5.3.3 Creating a Data Set with Data Stored in an External File: SDsetexternalfile
- 3.5.3.4 Moving Existing Data to an External File
- 3.6 Reading Data from an SDS Array: SDreaddata
- 3.7 Obtaining Information about SD Data Sets
- 3.7.1 Obtaining Information about the Contents of a File: SDfileinfo
- 3.7.2 Obtaining Information about a Specific SDS: SDgetinfo
- 3.7.3 Determining whether an SDS is empty: SDcheckempty
- 3.7.4 Locating an SDS by Name: SDnametoindex
- 3.7.5 Locating an SDS by Reference Number: SDreftoindex
- 3.7.6 Obtaining the Reference Number Assigned to the Specified SDS: SDidtoref
- 3.7.7 Creating SDS Arrays Containing Non-standard Length Data: SDsetnbitdataset
- 3.8 SDS Dimension and Dimension Scale Operations
- 3.8.1 Selecting a Dimension: SDgetdimid
- 3.8.2 Naming a Dimension: SDsetdimname
- 3.8.3 Old and New Dimension Implementations
- 3.8.3.1 Setting the Future Compatibility Mode of a Dimension: SDsetdimval_comp
- 3.8.3.2 Determining the Current Compatibility Mode of a Dimension: SDisdimval_bwcomp
- 3.8.4 Dimension Scales
- 3.8.4.1 Writing Dimension Scales: SDsetdimscale
- 3.8.4.2 Obtaining Dimension Scale and Other Dimension Information: SDdiminfo
- 3.8.4.3 Reading Dimension Scales: SDgetdimscale
- 3.8.4.4 Distinguishing SDS Arrays from Dimension Scales: SDiscoordvar
- 3.8.5 Related Data Sets
- 3.9 User-defined Attributes
- 3.9.1 Creating or Writing User-defined Attributes: SDsetattr
- 3.9.2 Querying User-defined Attributes: SDfindattr and SDattrinfo
- 3.9.3 Reading User-defined Attributes: SDreadattr
- 3.10 Predefined Attributes
- 3.10.1 Accessing Predefined Attributes
- 3.10.2 SDS String Attributes
- 3.10.2.1 Writing String Attributes of an SDS: SDsetdatastrs
- 3.10.2.2 Reading String Attributes of an SDS: SDgetdatastrs
- 3.10.3 String Attributes of Dimensions
- 3.10.3.1 Writing a String Attribute of a Dimension: SDsetdimstrs
- 3.10.3.2 Reading a String Attribute of a Dimension: SDgetdimstrs
- 3.10.4 Range Attributes
- 3.10.4.1 Writing a Range Attribute: SDsetrange
- 3.10.4.2 Reading a Range Attribute: SDgetrange
- 3.10.5 Fill Values and Fill Mode
- 3.10.5.1 Writing a Fill Value Attribute: SDsetfillvalue
- 3.10.5.2 Reading a Fill Value Attribute: SDgetfillvalue
- 3.10.5.3 Setting the Fill Mode for all SDSs in the Specified File: SDsetfillmode
- 3.10.6 Calibration Attributes
- 3.10.6.1 Setting Calibration Information: SDsetcal
- 3.10.6.2 Reading Calibrated Data: SDgetcal
- 3.11 Chunked (or Tiled) Scientific Data Sets
- 3.11.1 Making an SDS a Chunked SDS: SDsetchunk
- 3.11.2 Setting the Maximum Number of Chunks in the Cache: SDsetchunkcache
- 3.11.3 Writing Data to Chunked SDSs: SDwritechunk and SDwritedata
- 3.11.4 Reading Data from Chunked SDSs: SDreadchunk and SDreaddata
- 3.11.5 Obtaining Information about a Chunked SDS: SDgetchunkinfo
- 3.12 Ghost Areas
- 3.13 netCDF
- 3.13.1 HDF Interface vs. netCDF Interface
[Top] [Prev] [Next]
hdfhelp@ncsa.uiuc.edu
HDF User's Guide - 05/19/99, NCSA HDF
Development Group.