OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
wr_sdr_scan.c
Go to the documentation of this file.
1 #include "viirs_sim_sdr.h"
2 
3 int wr_sdr_scan(int iscn, out_rec_struc *out_rec)
4 /*-----------------------------------------------------------------------------
5  Program: wr_sdr_scan.c
6 
7  Description: write all line oriented data to the VIIRS SDRs
8 
9  Arguments:
10  Type Name I/O Description
11  ---- ---- --- -----------
12  int iscn I scan of lines to write
13  out_rec_struc * out_rec I/O output record controls
14 
15  Modification history:
16 
17  W. Robinson, SAIC 21 Oct 2008 Original development
18  W. Robinson, SAIC 15 Mar 2010 recast to scan oriented version
19 
20 ----------------------------------------------------------------------------*/ {
21  /*
22  * write the geoloc SDR
23  */
24  if (wr_geo_scan(iscn, out_rec) != 0) return 1;
25  /*
26  * Proceed to writing out the band files
27  */
28  if (wr_bnd_scan(iscn, out_rec) != 0) return 1;
29 
30  return 0;
31 }
int wr_geo_scan(int, out_rec_struc *)
Definition: wr_geo_scan.c:3
int wr_sdr_scan(int iscn, out_rec_struc *out_rec)
Definition: wr_sdr_scan.c:3
int wr_bnd_scan(int, out_rec_struc *)
Definition: wr_bnd_scan.c:5