|
ocssw
V2022
|
#include "glint.h"Go to the source code of this file.
Macros | |
| #define | M_PI 3.1415926 |
| #define | DSIGN(A, B) (B >= 0 ? fabs(A) : -fabs(A)) |
Functions | |
| double | acoss (double x) |
| double | asinn (double x) |
| void | reflec_both (double inc_angle, double *Effective_Refl, double *BiRefl) |
| void | reflec_ (float *inc_angle, float *Effective_Refl) |
| void | getglint_iqu (float senz, float solz, float raz, float ws, float chi, float *glint_coef, float *glint_coef_q, float *glint_coef_u) |
| void | getglint_ (float *senz, float *solz, float *raz, float *ws, float *chi, float *glint_coef) |
| void | getglint_iqu_ (float *senz, float *solz, float *raz, float *ws, float *chi, float *glint_coef, float *glint_coef_q, float *glint_coef_u) |
Macro Definition Documentation
◆ DSIGN
◆ M_PI
| #define M_PI 3.1415926 |
Definition at line 4 of file getglint.c.
Function Documentation
◆ acoss()
| double acoss | ( | double | x | ) |
Definition at line 9 of file getglint.c.
◆ asinn()
| double asinn | ( | double | x | ) |
Definition at line 18 of file getglint.c.
◆ getglint_()
| void getglint_ | ( | float * | senz, |
| float * | solz, | ||
| float * | raz, | ||
| float * | ws, | ||
| float * | chi, | ||
| float * | glint_coef | ||
| ) |
Definition at line 130 of file getglint.c.
◆ getglint_iqu()
| void getglint_iqu | ( | float | senz, |
| float | solz, | ||
| float | raz, | ||
| float | ws, | ||
| float | zero, | ||
| float * | glint_coef, | ||
| float * | glint_coef_q, | ||
| float * | glint_coef_u | ||
| ) |
Get the glint iqu object.
- Parameters
-
senz sensor zenith angle solz solar zenith angle raz relative azimuth angle, Gordon's definition, (sena - sola - PI) ws wind speed chi wind direction glint_coef glitter coefficient glint_coef_q Q stokes component glint_coef_u U stokes compoment
Definition at line 78 of file getglint.c.
◆ getglint_iqu_()
| void getglint_iqu_ | ( | float * | senz, |
| float * | solz, | ||
| float * | raz, | ||
| float * | ws, | ||
| float * | chi, | ||
| float * | glint_coef, | ||
| float * | glint_coef_q, | ||
| float * | glint_coef_u | ||
| ) |
Definition at line 135 of file getglint.c.
◆ reflec_()
| void reflec_ | ( | float * | inc_angle, |
| float * | Effective_Refl | ||
| ) |
Definition at line 71 of file getglint.c.
◆ reflec_both()
| void reflec_both | ( | double | inc_angle, |
| double * | Effective_Refl, | ||
| double * | BiRefl | ||
| ) |
C inc_angle Incident angle (radians) C Rs Reflectivity s polarized C Rp Reflectivity p polarized C C n1 sin(inc_angle) = n2 sin(refract_angle) C Fresnel's equations C tan(inc_angle-refract_angle)**2 C Reflectivity(P polarized) = ----------— C tan(inc_angle+refract_angle)**2 C C sin(inc_angle-refract_angle)**2 C Reflectivity(S polarized) = ----------— C sin(inc_angle+refract_angle)**2 C C Where: C inc_angle Incident angle C n1 Index refraction of Air C x2 Refracted angle C n2 Index refraction of Water.
- Parameters
-
inc_angle Incident angle Effective_Refl Effective Reflectivity BiRefl Bireflectivity
Definition at line 52 of file getglint.c.


