Please, help us to better serve our user community by answering the following short survey: https://www.hdfgroup.org/website-survey/

| HDF 4.3.0 API Reference |

Loading...
Searching...
No Matches
Macros
hlimits.h File Reference
`#include "hdf.h"`

## Macros
#define | HDsetvbuf(F, S, M, Z) setvbuf(F, S, M, Z)
#define | DF_MAXFNLEN 256
#define | FIELDNAMELENMAX 128 /* fieldname : 128 chars max */
#define | VSFIELDMAX 256 /* max no of fields per vdata */
#define | VSNAMELENMAX 64 /* vdata name : 64 chars max */
#define | VGNAMELENMAX 64 /* vgroup name : 64 chars max */
#define | MAXNVELT 64
#define | VDEFAULTBLKSIZE 4096
#define | VDEFAULTNBLKS 32
#define | MAX_ORDER 65535
#define | MAX_FIELD_SIZE 65535
#define | MAX_REF ((uint16)65535)
#define | HDF_APPENDABLE_BLOCK_LEN 4096
#define | HDF_APPENDABLE_BLOCK_NUM 16
#define | HASH_MASK 0xff
#define | HASH_BLOCK_SIZE 100
#define | VDATA_BUFFER_MAX 1000000
#define | DFS_MAXLEN 255 /* Max length of label/unit/format strings */
#define | DFSD_MAXFILL_LEN 16 /* Current max length for fill_value space */
#define | COMP_MAX_COMP 12
#define | COMP_HEADER_LENGTH 14
#define | MAX_GROUPS 8
#define | FUNC_NAME_LEN 32
#define | H4_MAX_NC_OPEN MAX_FILE
#define | H4_MAX_NC_DIMS 5000 /* max dimensions per file */
#define | H4_MAX_NC_ATTRS 3000 /* max global or per variable attributes */
#define | H4_MAX_NC_VARS 5000 /* max variables per file */
#define | H4_MAX_NC_NAME 256 /* max length of a name */
#define | H4_MAX_NC_CLASS
#define | H4_MAX_VAR_DIMS 32 /* max per variable dimensions */
#define | H4_MAX_GR_NAME 256 /* max length of a name */
#define | GR_NAME "RIG0.0" /* name of the Vgroup containing all the images */
#define | RI_NAME
#define | RIGATTRNAME
#define | RIGATTRCLASS
#define | _HDF_ATTRIBUTE "Attr0.0"
#define | _HDF_VARIABLE "Var0.0"
#define | _HDF_SDSVAR "SDSVar"
#define | _HDF_CRDVAR "CoordVar"
#define | _HDF_DIMENSION "Dim0.0"
#define | _HDF_UDIMENSION "UDim0.0"
#define | DIM_VALS "DimVal0.0"
#define | DIM_VALS01 "DimVal0.1"
#define | _HDF_CDF "CDF0.0"
#define | DATA0 "Data0.0"
#define | ATTR_FIELD_NAME "VALUES"
#define | _HDF_CHK_TBL_CLASS "_HDF_CHK_TBL_" /* 13 bytes */
#define | _HDF_CHK_TBL_CLASS_VER 0 /* zero version number for class */
#define | FILL_ATTR "FillValue"
#define | _FillValue "_FillValue"
#define | _HDF_LongName "long_name" /* data/dimension label string */
#define | _HDF_Units "units" /* data/dimension unit string */
#define | _HDF_Format "format" /* data/dimension format string */
#define | _HDF_CoordSys "coordsys" /* data coordsys string */
#define | _HDF_ValidRange "valid_range" /* valid range of data values */
#define | _HDF_ScaleFactor "scale_factor" /* data calibration factor */
#define | _HDF_ScaleFactorErr "scale_factor_err" /* data calibration factor error */
#define | _HDF_AddOffset "add_offset" /* calibration offset */
#define | _HDF_AddOffsetErr "add_offset_err" /* calibration offset error */
#define | _HDF_CalibratedNt "calibrated_nt" /* data type of uncalibrated data */
#define | _HDF_ValidMax "valid_max"
#define | _HDF_ValidMin "valid_min"
#define | _HDF_Remarks "remarks" /* annotation, by DFAN */
#define | _HDF_AnnoLabel "anno_label" /* annotation label, by DFAN */

## Macro Definition Documentation

## ◆ _FillValue

#define _FillValue "_FillValue"

## ◆ _HDF_AddOffset

#define _HDF_AddOffset "add_offset" /* calibration offset */

## ◆ _HDF_AddOffsetErr

#define _HDF_AddOffsetErr "add_offset_err" /* calibration offset error */

## ◆ _HDF_AnnoLabel

#define _HDF_AnnoLabel "anno_label" /* annotation label, by DFAN */

## ◆ _HDF_ATTRIBUTE

#define _HDF_ATTRIBUTE "Attr0.0"

## ◆ _HDF_CalibratedNt

#define _HDF_CalibratedNt "calibrated_nt" /* data type of uncalibrated data */

## ◆ _HDF_CDF

#define _HDF_CDF "CDF0.0"

## ◆ _HDF_CHK_TBL_CLASS

#define _HDF_CHK_TBL_CLASS "_HDF_CHK_TBL_" /* 13 bytes */

## ◆ _HDF_CHK_TBL_CLASS_VER

#define _HDF_CHK_TBL_CLASS_VER 0 /* zero version number for class */

## ◆ _HDF_CoordSys

#define _HDF_CoordSys "coordsys" /* data coordsys string */

## ◆ _HDF_CRDVAR

#define _HDF_CRDVAR "CoordVar"

## ◆ _HDF_DIMENSION

#define _HDF_DIMENSION "Dim0.0"

## ◆ _HDF_Format

#define _HDF_Format "format" /* data/dimension format string */

## ◆ _HDF_LongName

#define _HDF_LongName "long_name" /* data/dimension label string */

## ◆ _HDF_Remarks

#define _HDF_Remarks "remarks" /* annotation, by DFAN */

## ◆ _HDF_ScaleFactor

#define _HDF_ScaleFactor "scale_factor" /* data calibration factor */

## ◆ _HDF_ScaleFactorErr

#define _HDF_ScaleFactorErr "scale_factor_err" /* data calibration factor error */

## ◆ _HDF_SDSVAR

#define _HDF_SDSVAR "SDSVar"

## ◆ _HDF_UDIMENSION

#define _HDF_UDIMENSION "UDim0.0"

## ◆ _HDF_Units

#define _HDF_Units "units" /* data/dimension unit string */

## ◆ _HDF_ValidMax

#define _HDF_ValidMax "valid_max"

## ◆ _HDF_ValidMin

#define _HDF_ValidMin "valid_min"

## ◆ _HDF_ValidRange

#define _HDF_ValidRange "valid_range" /* valid range of data values */

## ◆ _HDF_VARIABLE

#define _HDF_VARIABLE "Var0.0"

## ◆ ATTR_FIELD_NAME

#define ATTR_FIELD_NAME "VALUES"

## ◆ COMP_HEADER_LENGTH

#define COMP_HEADER_LENGTH 14

## ◆ COMP_MAX_COMP

#define COMP_MAX_COMP 12

## ◆ DATA0

#define DATA0 "Data0.0"

## ◆ DF_MAXFNLEN

#define DF_MAXFNLEN 256

## ◆ DFS_MAXLEN

#define DFS_MAXLEN 255 /* Max length of label/unit/format strings */

## ◆ DFSD_MAXFILL_LEN

#define DFSD_MAXFILL_LEN 16 /* Current max length for fill_value space */

## ◆ DIM_VALS

#define DIM_VALS "DimVal0.0"

## ◆ DIM_VALS01

#define DIM_VALS01 "DimVal0.1"

## ◆ FIELDNAMELENMAX

#define FIELDNAMELENMAX 128 /* fieldname : 128 chars max */

## ◆ FILL_ATTR

#define FILL_ATTR "FillValue"

## ◆ FUNC_NAME_LEN

#define FUNC_NAME_LEN 32

## ◆ GR_NAME

#define GR_NAME "RIG0.0" /* name of the Vgroup containing all the images */

## ◆ H4_MAX_GR_NAME

#define H4_MAX_GR_NAME 256 /* max length of a name */

## ◆ H4_MAX_NC_ATTRS

#define H4_MAX_NC_ATTRS 3000 /* max global or per variable attributes */

## ◆ H4_MAX_NC_CLASS

#define H4_MAX_NC_CLASS

Value:
128 /* max length of a class name - added this \
because 128 was used commonly in SD for class name, and this will help \
changing the class name variable declaration much easier - BMR 4/1/02*/

## ◆ H4_MAX_NC_DIMS

#define H4_MAX_NC_DIMS 5000 /* max dimensions per file */

## ◆ H4_MAX_NC_NAME

#define H4_MAX_NC_NAME 256 /* max length of a name */

## ◆ H4_MAX_NC_OPEN

#define H4_MAX_NC_OPEN MAX_FILE

## ◆ H4_MAX_NC_VARS

#define H4_MAX_NC_VARS 5000 /* max variables per file */

## ◆ H4_MAX_VAR_DIMS

#define H4_MAX_VAR_DIMS 32 /* max per variable dimensions */

## ◆ HASH_BLOCK_SIZE

#define HASH_BLOCK_SIZE 100

## ◆ HASH_MASK

#define HASH_MASK 0xff

## ◆ HDF_APPENDABLE_BLOCK_LEN

#define HDF_APPENDABLE_BLOCK_LEN 4096

## ◆ HDF_APPENDABLE_BLOCK_NUM

#define HDF_APPENDABLE_BLOCK_NUM 16

## ◆ HDsetvbuf

#define HDsetvbuf | ( |  | F,
|  |  | S,
|  |  | M,
|  |  | Z ) setvbuf(F, S, M, Z)

## ◆ MAX_FIELD_SIZE

#define MAX_FIELD_SIZE 65535

## ◆ MAX_GROUPS

#define MAX_GROUPS 8

## ◆ MAX_ORDER

#define MAX_ORDER 65535

## ◆ MAX_REF

#define MAX_REF ((uint16)65535)

## ◆ MAXNVELT

#define MAXNVELT 64

## ◆ RI_NAME

#define RI_NAME

Value:
"RI0.0" /* name of a Vgroup containing information a \
bout one image */

## ◆ RIGATTRCLASS

#define RIGATTRCLASS

Value:
"RIATTR0.0C" /* class of a Vdata containing an \
attribute */

## ◆ RIGATTRNAME

#define RIGATTRNAME

Value:
"RIATTR0.0N" /* name of a Vdata containing an \
attribute */

## ◆ VDATA_BUFFER_MAX

#define VDATA_BUFFER_MAX 1000000

## ◆ VDEFAULTBLKSIZE

#define VDEFAULTBLKSIZE 4096

## ◆ VDEFAULTNBLKS

#define VDEFAULTNBLKS 32

## ◆ VGNAMELENMAX

#define VGNAMELENMAX 64 /* vgroup name : 64 chars max */

## ◆ VSFIELDMAX

#define VSFIELDMAX 256 /* max no of fields per vdata */

## ◆ VSNAMELENMAX

#define VSNAMELENMAX 64 /* vdata name : 64 chars max */