MDI_DPC_DECODE(3)
NAME
MDI_DPC_decode, MDI_dpc_decode - decode a MDI Data Product
Code.
Syntax
#include <MDI.h>
struct DPC MDI_DPC_decode (unsigned long dpc);
struct DPC MDI_dpc_decode (char *dpc);
DESCRIPTION
These functions both return a structure containing informa-
tion about the MDI Data Product Code (dpc) specified.
struct DPC {
unsigned short binparam;
unsigned short limbparam;
char origin;
char channel;
char product;
char observable;
char cadence;
char version;
char format;
char conforms;
};
DPC.origin DPC_ORIGIN_SPACE
DPC.origin DPC_ORIGIN_GROUND
DPC.channel DPC_RATE_5K
DPC.channel DPC_RATE_160K
DPC.product DPC_DP_SCI
DPC.product DPC_DP_LIMB
DPC.product DPC_DP_IP
DPC.product DPC_DP_MISC
DPC.observable DPC_OBS_FILT
DPC.observable DPC_OBS_FILTSUM
DPC.observable DPC_OBS_FDDOP
DPC.observable DPC_OBS_FDDOPBPR
DPC.observable DPC_OBS_HRDEPTH
DPC.observable DPC_OBS_FDDEPTHFF
DPC.observable DPC_OBS_FDCONT
DPC.observable DPC_OBS_FDCONTFF
DPC.observable DPC_OBS_FDMAG
DPC.observable DPC_OBS_FDMAGSUM
DPC.observable DPC_OBS_HRDOP
DPC.observable DPC_OBS_HRMAG
DPC.observable DPC_OBS_FDDEPTH
DPC.observable DPC_OBS_HRCONT
DPC.observable DPC_DMP_REG
DPC.observable DPC_DMP_TBL
DPC.observable DPC_DMP_BINS
DPC.observable DPC_DMP_LF
DPC.observable DPC_DMP_MEM
DPC.observable DPC_DMP_ISS
DPC.observable DPC_DMP_ERR
DPC.cadence DPC_SMPL_60
DPC.cadence DPC_SMPL_30
DPC.cadence DPC_SMPL_TWT
DPC.cadence DPC_SMPL_UNK
DPC.format DPC_FMT_CROP
DPC.format DPC_FMT_CROPSQR
DPC.format DPC_FMT_RAST
DPC.format DPC_FMT_RASTSQR
DPC.format DPC_FMT_BIN
DPC.format DPC_FMT_RWBIN
DPC.format DPC_FMT_VWBIN
DPC.format DPC_FMT_IRBIN
DPC.format DPC_FMT_WTBIN
DPC.format DPC_FMT_CIRC
DPC.format DPC_FMT_CROPSQR64
DPC.format DPC_FMT_ENGR
DPC.format DPC_FMT_MULTEX
DPC.format DPC_FMT_LIMB
FILES
SEE ALSO
SOI Tech Note TN-96-133, "Rules for Assignment of MDI Data
Product Codes"
DIAGNOSTICS
BUGS
The information is extracted according to the standard rules
for construction of DPC's, and is not guaranteed to be accu-
rate. Certain DPC's known to be non-conforming are inter-
preted according to their actual use and in those cases the
DPC.conforms element is set to 0.
AUTHOR
Rick Bogart
HISTORY
1996-05-08 SOI Version 1.3