OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
niwa_iop.h
Go to the documentation of this file.
1 /*
2  * niwa_iop.h -- interface to NIWA / UoP / Moore IOP algorithm
3  * (Gerald Moore, Sam Lavender, Matt Pinkerton)
4  *
5  * Algorithm citation: Pinkerton et al., 2006. 'A method for estimating
6  * inherent optical properties of New Zealand continental shelf waters
7  * from satellite ocean colour measurements', New Zealand Journal of
8  * Marine and Freshwater Research 40, pp 227-247.
9  */
10 
11 #ifndef __NIWA_IOP_H__
12 #define __NIWA_IOP_H__
13 
14 #include "l2_struc.h"
15 
16 
17 /*
18  * interface functions
19  */
20 
21 /*
22  * niwa_iop()
23  * Calculate the IOP values for one scan line
24  *
25  *
26  * inputs:
27  * l2rec - level-2 structure containing one complete scan
28  * after atmospheric correction
29  * outputs:
30  * niwa_a - total absorption coefficient - water absorption
31  * niwa_bb - total backscatter coefficient - water backscatter
32  * niwa_iopf - per pixel error flags (0 if algorithm succeeded, refer flags_iop.h)
33  */
34 extern void niwa_iop(l2str *l2rec, float niwa_a[], float niwa_bb[], int16 niwa_iopf[]);
35 
36 
37 #endif /* __NIWA_IOP_H__ */
integer, parameter int16
Definition: cubeio.f90:3
void niwa_iop(l2str *l2rec, float niwa_a[], float niwa_bb[], int16 niwa_iopf[])
Definition: niwa_iop.c:861