MISR Toolkit  1.5.1
Macros
hlimits.h File Reference

Go to the source code of this file.

Macros

#define HDsetvbuf(F, S, M, Z)   setvbuf(F,S,M,Z)
 
#define MIN(a, b)   (((a)<(b)) ? (a) : (b))
 
#define MAX(a, b)   (((a)>(b)) ? (a) : (b))
 
#define TBUF_SZ   1024
 
#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_FILE   32
 
#define MAX_PATH_LEN   1024
 
#define DEF_NDDS   16
 
#define MIN_NDDS   4
 
#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 ERR_STACK_SZ   10
 
#define ERR_STRING_SIZE   512
 
#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"

Definition at line 273 of file hlimits.h.

◆ _HDF_AddOffset

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

Definition at line 282 of file hlimits.h.

◆ _HDF_AddOffsetErr

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

Definition at line 283 of file hlimits.h.

◆ _HDF_AnnoLabel

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

Definition at line 288 of file hlimits.h.

◆ _HDF_ATTRIBUTE

#define _HDF_ATTRIBUTE   "Attr0.0"

Definition at line 224 of file hlimits.h.

◆ _HDF_CalibratedNt

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

Definition at line 284 of file hlimits.h.

◆ _HDF_CDF

#define _HDF_CDF   "CDF0.0"

Definition at line 242 of file hlimits.h.

◆ _HDF_CHK_TBL_CLASS

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

Definition at line 254 of file hlimits.h.

◆ _HDF_CHK_TBL_CLASS_VER

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

Definition at line 255 of file hlimits.h.

◆ _HDF_CoordSys

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

Definition at line 278 of file hlimits.h.

◆ _HDF_CRDVAR

#define _HDF_CRDVAR   "CoordVar"

Definition at line 231 of file hlimits.h.

◆ _HDF_DIMENSION

#define _HDF_DIMENSION   "Dim0.0"

Definition at line 234 of file hlimits.h.

◆ _HDF_Format

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

Definition at line 277 of file hlimits.h.

◆ _HDF_LongName

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

Definition at line 275 of file hlimits.h.

◆ _HDF_Remarks

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

Definition at line 287 of file hlimits.h.

◆ _HDF_ScaleFactor

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

Definition at line 280 of file hlimits.h.

◆ _HDF_ScaleFactorErr

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

Definition at line 281 of file hlimits.h.

◆ _HDF_SDSVAR

#define _HDF_SDSVAR   "SDSVar"

Definition at line 228 of file hlimits.h.

◆ _HDF_UDIMENSION

#define _HDF_UDIMENSION   "UDim0.0"

Definition at line 236 of file hlimits.h.

◆ _HDF_Units

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

Definition at line 276 of file hlimits.h.

◆ _HDF_ValidMax

#define _HDF_ValidMax   "valid_max"

Definition at line 285 of file hlimits.h.

◆ _HDF_ValidMin

#define _HDF_ValidMin   "valid_min"

Definition at line 286 of file hlimits.h.

◆ _HDF_ValidRange

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

Definition at line 279 of file hlimits.h.

◆ _HDF_VARIABLE

#define _HDF_VARIABLE   "Var0.0"

Definition at line 226 of file hlimits.h.

◆ ATTR_FIELD_NAME

#define ATTR_FIELD_NAME   "VALUES"

Definition at line 246 of file hlimits.h.

◆ COMP_HEADER_LENGTH

#define COMP_HEADER_LENGTH   14

Definition at line 145 of file hlimits.h.

◆ COMP_MAX_COMP

#define COMP_MAX_COMP   12

Definition at line 144 of file hlimits.h.

◆ DATA0

#define DATA0   "Data0.0"

Definition at line 245 of file hlimits.h.

◆ DEF_NDDS

#define DEF_NDDS   16

Definition at line 102 of file hlimits.h.

◆ DF_MAXFNLEN

#define DF_MAXFNLEN   256

Definition at line 53 of file hlimits.h.

◆ DFS_MAXLEN

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

Definition at line 138 of file hlimits.h.

◆ DFSD_MAXFILL_LEN

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

Definition at line 139 of file hlimits.h.

◆ DIM_VALS

#define DIM_VALS   "DimVal0.0"

Definition at line 238 of file hlimits.h.

◆ DIM_VALS01

#define DIM_VALS01   "DimVal0.1"

Definition at line 240 of file hlimits.h.

◆ ERR_STACK_SZ

#define ERR_STACK_SZ   10

Definition at line 156 of file hlimits.h.

◆ ERR_STRING_SIZE

#define ERR_STRING_SIZE   512

Definition at line 161 of file hlimits.h.

◆ FIELDNAMELENMAX

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

Definition at line 63 of file hlimits.h.

◆ FILL_ATTR

#define FILL_ATTR   "FillValue"

Definition at line 269 of file hlimits.h.

◆ FUNC_NAME_LEN

#define FUNC_NAME_LEN   32

Definition at line 151 of file hlimits.h.

◆ GR_NAME

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

Definition at line 212 of file hlimits.h.

◆ H4_MAX_GR_NAME

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

Definition at line 205 of file hlimits.h.

◆ H4_MAX_NC_ATTRS

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

Definition at line 177 of file hlimits.h.

◆ 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*/

Definition at line 186 of file hlimits.h.

◆ H4_MAX_NC_DIMS

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

Definition at line 176 of file hlimits.h.

◆ H4_MAX_NC_NAME

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

Definition at line 185 of file hlimits.h.

◆ H4_MAX_NC_OPEN

#define H4_MAX_NC_OPEN   MAX_FILE

Definition at line 169 of file hlimits.h.

◆ H4_MAX_NC_VARS

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

Definition at line 178 of file hlimits.h.

◆ H4_MAX_VAR_DIMS

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

Definition at line 189 of file hlimits.h.

◆ HASH_BLOCK_SIZE

#define HASH_BLOCK_SIZE   100

Definition at line 121 of file hlimits.h.

◆ HASH_MASK

#define HASH_MASK   0xff

Definition at line 120 of file hlimits.h.

◆ HDF_APPENDABLE_BLOCK_LEN

#define HDF_APPENDABLE_BLOCK_LEN   4096

Definition at line 116 of file hlimits.h.

◆ HDF_APPENDABLE_BLOCK_NUM

#define HDF_APPENDABLE_BLOCK_NUM   16

Definition at line 117 of file hlimits.h.

◆ HDsetvbuf

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

Definition at line 26 of file hlimits.h.

◆ MAX

#define MAX (   a,
  b 
)    (((a)>(b)) ? (a) : (b))

Definition at line 39 of file hlimits.h.

◆ MAX_FIELD_SIZE

#define MAX_FIELD_SIZE   65535

Definition at line 85 of file hlimits.h.

◆ MAX_FILE

#define MAX_FILE   32

Definition at line 91 of file hlimits.h.

◆ MAX_GROUPS

#define MAX_GROUPS   8

Definition at line 148 of file hlimits.h.

◆ MAX_ORDER

#define MAX_ORDER   65535

Definition at line 84 of file hlimits.h.

◆ MAX_PATH_LEN

#define MAX_PATH_LEN   1024

Definition at line 96 of file hlimits.h.

◆ MAX_REF

#define MAX_REF   ((uint16)65535)

Definition at line 111 of file hlimits.h.

◆ MAXNVELT

#define MAXNVELT   64

Definition at line 75 of file hlimits.h.

◆ MIN

#define MIN (   a,
  b 
)    (((a)<(b)) ? (a) : (b))

Definition at line 36 of file hlimits.h.

◆ MIN_NDDS

#define MIN_NDDS   4

Definition at line 107 of file hlimits.h.

◆ RI_NAME

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

Definition at line 213 of file hlimits.h.

◆ RIGATTRCLASS

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

Definition at line 217 of file hlimits.h.

◆ RIGATTRNAME

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

Definition at line 215 of file hlimits.h.

◆ TBUF_SZ

#define TBUF_SZ   1024

Definition at line 49 of file hlimits.h.

◆ VDATA_BUFFER_MAX

#define VDATA_BUFFER_MAX   1000000

Definition at line 134 of file hlimits.h.

◆ VDEFAULTBLKSIZE

#define VDEFAULTBLKSIZE   4096

Definition at line 80 of file hlimits.h.

◆ VDEFAULTNBLKS

#define VDEFAULTNBLKS   32

Definition at line 81 of file hlimits.h.

◆ VGNAMELENMAX

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

Definition at line 66 of file hlimits.h.

◆ VSFIELDMAX

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

Definition at line 64 of file hlimits.h.

◆ VSNAMELENMAX

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

Definition at line 65 of file hlimits.h.


MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:53