00001 #ifndef __QUALLEV0_H
00002 #define __QUALLEV0_H
00003
00004
00005
00006
00007
00008
00009 #define Q_OVFL 0x01 //overflow flag set
00010 #define Q_HDRERR 0x02 //header error flag set
00011 #define Q_CMPERR 0x04 //compression error in image
00012 #define Q_LPXERR 0x08 //last pixel error
00013
00014
00015 #define Q_NOISP 0x10 //no ISP
00016 #define Q_MISSI 0x20 //missing image
00017 #define Q_CORRUPT 0x40 //corrupt image (FSN=469769216 0x1c001c00)
00018 #define Q_INVALTIME 0x80 //T_OBS = 1958.01.01_00:00:00_UTC
00019
00020
00021 #define Q_MISS0 0x100 //missvals > 0
00022 #define Q_MISS1 0x200 //missvals > 0.01*totalvals
00023 #define Q_MISS2 0x400 //missvals > 0.05*totalvals
00024 #define Q_MISS3 0x800 //missvals > 0.25*totalvals
00025
00026
00027 #define Q_DARK 0x10000 //dark image; IIFRMTYP = 'DARK'
00028 #define Q_LED 0x40000 //led image; IIFRMTYP = 'LED'
00029 #define Q_ISSOPEN 0x20000 //ISS loop open; IISSLOOP = 'OPEN'
00030
00031 #define Q_REOPENED 0x40000000 //image reopened during reconstruction; NPACKETS value may be incorrect
00032 #define Q_MISSALL 0x80000000 //data is completely missing. high bit
00033
00034
00035
00036
00037
00038
00039
00040 #endif
00041