home *** CD-ROM | disk | FTP | other *** search
/ gondwana.ecr.mu.oz.au/pub/ / Graphics.tar / Graphics / graphics.formats / hdf / NCSA_HDF / HDF.Intro.ascii.Z / HDF.Intro.ascii
Encoding:
Text File  |  1991-09-24  |  7.5 KB  |  160 lines

  1. iNCSA HDF Calling Interfaces and Utilities
  2.  
  3. Introductioni
  4.  
  5. National Center for Supercomputing Applications
  6.  
  7. November 1989
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17. Introduction
  18.  
  19.  
  20.  
  21.  
  22.  
  23. Overview
  24.  
  25. This introduction provides an overview of NCSA Hierarchical Data Format (HDF) capabilities on the Cray, Alliant, Sun, Iris, Macintosh, and IBM PC. The organization and use of this manual are described and notational conventions explained.
  26.  
  27.  
  28. What Is HDF?
  29.  
  30. Hierarchical Data Format (HDF) is a multi-object file format for the transfer of graphical and floating-point data between machines. The design of this format allows self-definition of data content, and easy extensibility for future enhancements or compatibility with other standard formats.
  31.  
  32. Features of NCSA HDF Version 3.0 include the following:
  33.  
  34. ÑFacilities for sharing data across machines and systems, including Cray (UNICOS), Silicon Graphics (UNIX), Alliant (CONCENTRIX), Sun (UNIX), VAX (UNIX), Macintosh (MacOS), and IBM PC (MS-DOS)
  35.  
  36. ÑFORTRAN and C calling interfaces for storing and retrieving 8 and 24-bit raster images, palettes, scientific data and accompanying annotations
  37.  
  38. ÑUtilities for editing and displaying HDF files, and converting raw data files to HDF files and vice versa
  39.  
  40. ÑGeneral purpose routines for creating HDF files
  41.  
  42.  
  43. Differences Between HDF 2.0 and HDF 3.0
  44.  
  45. All of the features of HDF 2.0 are present in HDF 3.0. HDF 3.0 contains the following new features:
  46.  
  47. ÑAn interface for basic input and output of 24-bit  raster images
  48.  
  49. ÑAn interface for annotating HDF data objects and files
  50.  
  51. ÑAn interface for input and output of 8-bit palettes
  52.  
  53. ÑScientific dataset routines for storing and retrieving subsets (slices) of scientific data, and for choosing optional storage formats and data types
  54.  
  55. ÑNew utilities, including an HDF editor, and routines to convert floating-point data to images, 24-bit images to 8-bit images, and raw palettes to and from HDF palettes
  56.  
  57. ÑMinor routines to help fill out existing interfaces
  58.  
  59.  
  60. System Requirements
  61.  
  62. In order to use HDF software, you need access to one of the following computer systems:  a Cray with UNICOS, Silicon Graphics system with UNIX, an Alliant with CONCENTRIX, a Sun System 3 with UNIX, a VAX terminal with UNIX, a Macintosh with MacOS, or an IBM PC with MS-DOS, or compatible model.
  63.  
  64.  
  65. Use of This Manual
  66.  
  67. This manual is designed for users who are working on an application that involves the use of HDF files. If you are completely unfamiliar with HDF, you should read or scan Chapter 1, "HDF Basics."
  68.  
  69. The most important information about a particular interface is covered in the chapter that deals with that interface. Each chapter contains a description of the set with which the interface deals, descriptions of the routines that constitute the interface, and examples.
  70.  
  71.  
  72. .c3.Manual Contents
  73. The manual is organized into the following chapters:
  74.  
  75. Chapter 1, "NCSA HDF Basics," describes HDF, explains the reasons for its creation, and gives a brief overview of available applications software.
  76.  
  77. Chapter 2, "Storing Raster Images," describes the routines that are available for storing and retrieving raster images in HDF format, with or without compression, and with or without palettes.
  78.  
  79. Chapter 3, "Storing Palettes," describes the routines that are available for storing and retrieving 8-bit palettes.
  80.  
  81. Chapter 4, "Storing Rectangular Gridded Arrays of Scientific Data," describes the routines that are available for storing and retrieving scientific datasets.
  82.  
  83. Chapter 5, "Annotating Data Objects and Files," describes the routines that are available for storing and retrieving data and file annotations.
  84.  
  85. Chapter 6, "General Purpose HDF Routines," provides a reference to the set of general purpose low-level routines you╒ll use when working with HDF files.
  86.  
  87. Chapter 7, ╥NCSA HDF Command Line Utilities,╙ lists currently available utility routines and command line utilities that are available for working with HDF files.
  88.  
  89. Chapter 8, ╥Error Handling in HDF,╙ discusses the error reporting procedures of HDF.
  90.  
  91. Appendix A, "NCSA HDF Tags," presents a table of brief descriptions of most of the tags assigned at NCSA for general use.
  92.  
  93. Appendix B, "Header Files," includes the general header files used in compiling all HDF libraries.
  94.  
  95. Appendix C, "Eight-Character FORTRAN Names," lists the official identifier names and their short form equivalents.
  96.  
  97. Appendix D, "Public HDF Directories on NCSA Computers," lists the names and contents of NCSA-supported HDF directories.
  98.  
  99. Appendix E, ╥Routine Lists,╙ lists all the current routines available for use with NCSA HDF.
  100.  
  101. Appendix F, ╥NCSA HDF README Files on Anonymous FTP,╙ includes listings of the README files which can be found in the anonymous FTP directory that contains NCSA HDF.
  102.  
  103.  
  104. .c2.Form of Presentation
  105. The material in this manual is presented in text, screen displays, or command line notation.
  106.  
  107.  
  108. Text
  109. In explaining various features and commands, this manual often presents a word within a paragraph in italics to indicate that the word is defined within the paragraph, or that it is a significant term that should be noted and/or is bing mentioned for the first time.
  110.  
  111. So that they are more easily identifiable within this manuscript, utilities, variables, integer arguments, tags, etc. have been presented in 10 point courier style.
  112.  
  113. Portions of this manual refer to other portions of the manual where the other portions explain related topics. These cross references usually mention the title of sections or chapters enclosed in quotation marks, such as, See Chapter 1, "NCSA HDF Basics."
  114.  
  115.  
  116. Command Line Format Notation
  117. Throughout this manual, many explanations instruct you to make entries by typing on the keyboard. These entry instructions are printed in courier bold type and appear within a paragraph or on a separate line. The command lines in this manual are normally shown in lowercase, except in rare instances where uppercase is required.
  118.  
  119. When it is necessary for you to press a key that is labeled with more than one character (such as the RETURN key), this manual identifies the key with all capital (uppercase) letters. Keys to be entered are printed in bold type. Keys that are pressed simultaneously or in succession are linked with a hyphen. For example, press CONTROLA.
  120.  
  121. The meaning of each special notation applied to format lines is listed in Table 1.
  122.  
  123. Table I.1  Meaning of Entry Format Notations
  124.  
  125. AppearanceExampleEntry Method
  126.  
  127. On separate line; dothisEnter the keys for each character.
  128. lowercase, courier bold type
  129.  
  130. Within a text line; RETURNPress the single key indicated.
  131. uppercase
  132.  
  133. Within a text line;  uppercase;CONTROL-AWhile holding down the first one or two key(s) 
  134. hyphens between key namesindicated, press the last key indicated.
  135.  
  136.  
  137. On separate line or within afilenameThis notation is a variable, which represents 
  138. text line; italic, lowercase,a certain kind of entry, but may consist of 
  139. courier bold typedifferent characters every time you make 
  140. the entry.
  141.  
  142. Square brackets; bold type[ ]Do not enter the square brackets.  Material 
  143. presented between brackets is optional and 
  144. should be entered only in certain cases. 
  145.  
  146. Ellipses; bold type. . .Do not enter ellipses. Ellipses indicate you 
  147. may enter more material similar to the 
  148. material preceding the ellipses.
  149.  
  150.  
  151. Figure 1 shows you how to read and enter a command line.
  152.  
  153. Figure I.1Reading and Entering a Command Line
  154.  
  155.  
  156.  
  157.  
  158. Further Reading
  159. More detailed information about the basic HDF structure and how it works can be found in NCSA HDF Specifications, which you may download via FTP (refer to "How to Get HDF" in Chapter 1) or may request by writing NCSA at the addresses listed on the Bugs and Suggestions report form at the back of this manual.
  160.