OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
tlm_proto.h
Go to the documentation of this file.
1 #ifndef TLM_PROTO_H_
2 #define TLM_PROTO_H_
3 
4 extern char *get_tlm_name
5 PROTO((int Word_Offset, int Bit_Offset, int Bit_Length));
6 
7 extern char *get_ana_tlm_name
8 PROTO((int index));
9 
10 extern char *get_dis_tlm_name
11 PROTO((int index));
12 
13 extern unsigned int get_ana_tlm
14 PROTO((byte *ptr, int index));
15 
16 extern unsigned int get_dis_tlm
17 PROTO((byte *ptr, int index));
18 
19 extern unsigned int get_tlm_mask
20 PROTO((int Bit_Length, int Bit_Offset));
21 
22 extern unsigned int get_tlm
23 PROTO((byte *ptr, int Word_Offset, int Bit_Offset, int Bit_Length));
24 
25 extern int set_tlm
26 PROTO((int val, byte *ptr, int Word_Offset, int Bit_Offset, int Bit_Length));
27 
28 extern float get_tlm_eng_value
29 PROTO((byte *ptr, int Word_Offset, int Bit_Offset, int Bit_Length, int ecvtype, float slope, float intercept));
30 
31 extern int get_all_ana_tlm
32 PROTO((byte *ptr, int *rawtlm, float *ecvtlm));
33 
34 extern int get_all_dis_tlm
35 PROTO((byte *ptr, int *rawtlm, byte *ecvtlm));
36 
37 extern int ANA_TLM_INDEX
38 PROTO((int woff, int boff, int blen));
39 
40 extern int DIS_TLM_INDEX
41 PROTO((int woff, int boff, int blen));
42 
43 
44 #endif /* TLM_PROTO_H_ */
an array had not been initialized Several spelling and grammar corrections were which is read from the appropriate MCF the above metadata values were hard coded A problem calculating the average background DN for SWIR bands when the moon is in the space view port was corrected The new algorithm used to calculate the average background DN for all reflective bands when the moon is in the space view port is now the same as the algorithm employed by the thermal bands For non SWIR changes in the averages are typically less than Also for non SWIR the black body DNs remain a backup in case the SV DNs are not available For SWIR the changes in computed averages were larger because the old which used the black body suffered from contamination by the micron leak As a consequence of the if SV DNs are not available for the SWIR the EV pixels will not be the granule time is used to identify the appropriate tables within the set given for one LUT the first two or last two tables respectively will be used for the interpolation If there is only one LUT in the set of it will be treated as a constant LUT The manner in which Earth View data is checked for saturation was changed Previously the raw Earth View DNs and Space View DNs were checked against the lookup table values contained in the table dn_sat The change made is to check the raw Earth and Space View DNs to be sure they are less than the maximum saturation value and to check the Space View subtracted Earth View dns against a set of values contained in the new lookup table dn_sat_ev The metadata configuration and ASSOCIATEDINSTRUMENTSHORTNAME from the MOD02HKM product The same metatdata with extensions and were removed from the MOD021KM and MOD02OBC products ASSOCIATEDSENSORSHORTNAME was set to MODIS in all products These changes are reflected in new File Specification which users may consult for exact the pow functions were eliminated in Emissive_Cal and Emissive bands replaced by more efficient code Other calculations throughout the code were also made more efficient Aside from a few round off there was no difference to the product The CPU time decreased by about for a day case and for a night case A minor bug in calculating the uncertainty index for emissive bands was corrected The frame index(0-based) was previously being used the frame number(1-based) should have been used. There were only a few minor changes to the uncertainty index(maximum of 1 digit). 3. Some inefficient arrays(Sigma_RVS_norm_sq) were eliminated and some code lines in Preprocess_L1A_Data were moved into Process_OBCEng_Emiss. There were no changes to the product. Required RAM was reduced by 20 MB. Now
char *get_tlm_name PROTO((int Word_Offset, int Bit_Offset, int Bit_Length))
float32 slope[]
Definition: l2lists.h:30
float32 intercept[]
Definition: l2lists.h:44
msiBandIdx val
Definition: l1c_msi.cpp:34