ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/JSOC/proj/lev0/apps/quallev1.h
Revision: 1.5
Committed: Mon Oct 14 22:19:51 2013 UTC (9 years, 11 months ago) by production
Content type: text/plain
Branch: MAIN
CVS Tags: Ver_8-8, Ver_8-2, Ver_8-3, Ver_8-6, Ver_8-7, Ver_8-4, Ver_8-5, Ver_8-10, Ver_8-11
Changes since 1.4: +2 -0 lines
Log Message:
add Q_CAM_ANOM1

File Contents

# Content
1 #ifndef __QUALLEV1_H
2 #define __QUALLEV1_H
3 //These are the meaning of the bits put into the QUALITY keyword for a drms
4 //record from the build_lev1 processing.
5
6 //Bit0 is the low bit (0x01)
7 #define Q_NOFLAT 0x01 //flatfield not available or error
8 #define Q_NOORB 0x02 //orbit data not available or error
9 #define Q_NOASD 0x04 //ancillary sci data not available or error
10 #define Q_NOMPD 0x08 //master pointing data not available or error
11 #define Q_NOLIMB 0x10 //limb fit error
12 #define Q_CAM_ANOM1 0x80 //Camera Anomaly - Entered by hand
13
14
15 //#bit 5
16 //#bit 6
17 //#bit 7
18
19 //missvals is from Img struct totalvals-datavals
20 #define Q_1_MISS0 0x100 //missvals > 0
21 #define Q_1_MISS1 0x200 //missvals > 0.01*totalvals
22 #define Q_1_MISS2 0x400 //missvals > 0.05*totalvals
23 #define Q_1_MISS3 0x800 //missvals > 0.25*totalvals
24
25 #define Q_NOACS_SCI 0x1000 //ACS_MODE != 'SCIENCE'
26 #define Q_ACS_ECLP 0x2000 //ACS_ECLP == 'YES'
27 #define Q_ACS_SUNP 0x4000 //ACS_SUNP == 'NO' no sun presence
28 #define Q_ACS_SAFE 0x8000 //ACS_SAFE == 'YES' . safemode flag set
29 #define Q_IMG_TYPE 0x10000 //Dark image
30 #define Q_LOOP_OPEN 0x20000 //HWLTNSET == "OPEN" or AISTATE == "OPEN"
31 # //ISS Loop Open
32 //#18 Calibration Image //based on FID range. See Rock
33 #define Q_CAL_IMG 0x40000 //Calibration image
34 #define Q_CALM_IMG 0x80000 //HMI cal mode image
35 #define Q_AIA_FOOR 0x100000 //AIA focus out of range
36 #define Q_AIA_REGF 0x200000 //AIA register flag
37
38 #define Q_THERM_RECOV 0x400000 //HMI thermal recovery
39 #define Q_LUNAR_TRAN 0x800000 //HMI lunar transit
40
41 #define Q_NRT 0x40000000 //near real time mode (formerly quicklook)
42 #define Q_MISSALL 0x80000000 //Image not available. high bit
43
44 #endif
45