OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
initialize_scan.c
Go to the documentation of this file.
1 #include "L1A_prototype.h"
2 #include "SC_scan.h"
3 #include "MD_metadata.h"
4 
5 
7  SC_PIXEL_QUALITY_DATA_t *scan_pixel,
8  MD_SCAN_MET_t *scan_meta)
9 
10 /*
11 !C*****************************************************************************
12 
13 !Description:
14  This function calls other subroutines to fill in the Scan Level
15  Metadata (section 2 of the MODIS Level 1A Data Product Format), Pixel
16  Quality Data (section 3 of the MODIS Level 1A Data Product Format), and
17  Scan Data (section 4 of the MODIS Level 1A Data Product Format) with
18  the appropriate fill data.
19 
20 !Input Parameters:
21  None
22 
23 !Output Parameters:
24  SC_SCAN_DATA_t *L1A_scan ** Scan Data **
25  SC_PIXEL_QUALITY_DATA_t *scan_pixel ** Pixel Quality Data **
26  MD_SCAN_MET_t *scan_meta ** Scan Level Metadata **
27 
28 Return Values:
29  None
30 
31 Externally Defined:
32  SC_SCAN_DATA_t (SC_scan.h)
33  SC_PIXEL_QUALITY_DATA_t (SC_scan.h)
34  MD_SCAN_MET_t (MD_metadata.h)
35 
36 Called By:
37  process_a_scan
38 
39 Routines Called:
40  initialize_scan_metadata
41  initialize_scan_data
42 
43 !Revision History:
44  $Log: initialize_scan.c,v $
45  Revision 4.1 2003/03/10 16:05:54 vlin
46  Touch up description in the prologue.
47 
48  Revision 4.0 2002/12/03 16:27:17 vlin
49  called initialize_scan_data() to fill the Scan Data structure
50  with fill value (-1).
51  vlin@saicmodis.com
52 
53  Revision 2.2 2001/01/04
54  John Seaton (seaton@ltpmail.gsfc.nasa.gov)
55  Simplified code. Got rid of 2 function calls.
56 
57  Revision 2.1 1997/09/08 17:50 EDT
58  Timi Adelekan/SAIC/GSC (adelekan@ltpmail.gsfc.nasa.gov)
59  Originated Code. Baseline from Version 1.
60 
61 !Team-unique Header:
62 
63  This software is developed by the MODIS Science Data Support Team
64  for the National Aeronautics and Space Administration,
65  Goddard Space Flight Center, under contract NAS5-32373.
66 
67 References and Credits: None
68 
69 Design Notes:
70 
71 !END
72 ***************************************************************************/
73 
74 {
75 
76  initialize_scan_metadata (scan_meta);
77  initialize_pixel_qual_data(scan_pixel);
78  initialize_scan_data(L1A_scan);
79 
80 }
void initialize_scan(SC_SCAN_DATA_t *L1A_scan, SC_PIXEL_QUALITY_DATA_t *scan_pixel, MD_SCAN_MET_t *scan_meta)
void initialize_pixel_qual_data(SC_PIXEL_QUALITY_DATA_t *scan_pixel)
void initialize_scan_metadata(MD_SCAN_MET_t *scan_meta)
void initialize_scan_data(SC_SCAN_DATA_t *L1A_scan)