A sphere with three ocean waves in differing shades of blue. Next to the sphere, there is the bolded text "Ocean Color". Under that, there are two acronyms, separated by a vertical pipe: OB.DAAC (Ocean Biology Distributed Active Archive Center) and OBPG (Ocean Biology Processing Group).
Lorem
ipsum
dolor
sit
amet
Toggle navigation
Ocean Color Science Software
Jump to content
ocssw
V2022
web
ocssw
ocssw_src
src
l2bin
cdata.h
Go to the documentation of this file.
1
/* These constants are specified in Fred Patt's cdata.f module. */
2
3
#ifndef _CDATA_H
4
#define _CDATA_H
5
6
#define PI 3.1415926535897932384626433832795029L
7
#define RADEG (180.0/PI)
/* For radians to degrees conversion */
8
#define RE 6378.137
/* Earth equatorial radius (km) */
9
#define REM 6371.0
/* Earth mean radius (km) */
10
#define FF (1.0/298.257)
/* Earth flattening factor */
11
#define OMF2 ((1.0 - FF)*(1.0 - FF))
/* One minus flattening, squared */
12
#define OMEGAE 7.29211585494e-5L
/* Earth rotation rate (radians/sec) */
13
14
#endif