Due to the lapse in federal government funding, NASA is not updating this website. We sincerely regret this inconvenience.
NASA Logo
Ocean Color Science Software

ocssw V2022
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