OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
GEO_geo.h File Reference
#include "GEO_basic.h"
#include "PGS_DEM.h"
Include dependency graph for GEO_geo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  GEO_bcoord_struct
 

Macros

#define H_PGS_DEM
 
#define MAX_SCAN_NUMBER   1000
 
#define MAX_FRAMES   1354
 
#define SAMPLE_RATIO_HKM   2
 
#define SAMPLE_RATIO_QKM   4
 
#define SAMPLES_HKM   (MAX_FRAMES*SAMPLE_RATIO_HKM)
 
#define SAMPLES_QKM   (MAX_FRAMES*SAMPLE_RATIO_QKM)
 
#define MAX_PADDED   (SAMPLES_QKM+3)
 
#define DETECTORS_1KM   10
 
#define DETECTORS_HKM   (DETECTORS_1KM*SAMPLE_RATIO_HKM)
 
#define DETECTORS_QKM   (DETECTORS_1KM*SAMPLE_RATIO_QKM)
 
#define MAX_SCAN_SAMPLE   MAX_FRAMES /* Obsolescent */
 
#define MAX_DETECTORS   DETECTORS_1KM /* Obsolescent */
 
#define MAX_IMPULSE_NUMBER   25
 
#define MAX_POLY_DEGREE   4
 
#define EA_SOURCE_SELECT_LUN   600280
 
#define VALIDATE_ORBIT_NO_LUN   600281
 
#define TERRAIN_CORRECT_LUN   600310
 
#define MAX_BAND_NUMBER   36
 
#define FIRST_BAND   30
 
#define LATCH_TO_CENTER   0.5
 
#define BASE_SAMPLES   DETECTORS_1KM /* Obsolescent */
 
#define MAX_SAMPLES   SAMPLE_RATIO_QKM /* Obsolescent */
 
#define ROLL   0
 
#define PITCH   1
 
#define YAW   2
 
#define POSITION   0
 
#define VELOCITY   3
 
#define ELEC_SIDES   2
 
#define ENCODER_LENGTH   78
 
#define SECTOR_LENGTH   40
 
#define ANCIL_LENGTH   64
 
#define NUM_L1A_QUALITY_FLAGS   4
 
#define NUM_L1A_SECTOR_VIEWS   6
 
#define INVALID_INPUT_DATA   128
 
#define NO_ELLIPSE_INTERSECT   64
 
#define BAD_TERRAIN   32
 
#define NEAR_LIMB   4
 
#define INVALID_SENSOR_ANGLES   8
 
#define INVALID_SOLAR_ANGLES   8
 
#define TAI_FLAG   1.e10
 
#define TERRAIN_CORRECT   "TRUE"
 
#define LONG_FVALUE   (-999.0)
 
#define LAT_FVALUE   (-999.0)
 
#define HGHT_FVALUE   (-32767)
 
#define SENSORZEN_FVALUE   (-32767)
 
#define SENSORAZIM_FVALUE   (-32767)
 
#define RANGE_FVALUE   0
 
#define SOLARZEN_FVALUE   (-32767)
 
#define SOLARAZIM_FVALUE   (-32767)
 
#define TEMP_FVALUE   (-999.0)
 
#define THERMCORR_FVALUE   (-999.0)
 
#define GFLAGS_FVALUE   255
 
#define HIRES_FVALUE   (-128)
 
#define MAX_DEM_ROWS   108
 
#define MAX_DEM_TILES   26410
 
#define MAX_DEM_HORIZONTAL   200
 
#define MAX_DEM_VERTICAL   200
 
#define NO_DEM_DATA   (-1)
 
#define MIN_TERRAIN_HEIGHT   (-450.0)
 
#define MAX_TERRAIN_HEIGHT   9600.0
 
#define PGS_PI   3.14159265358979323846
 
#define RAD2DEG   (180.0/PGS_PI)
 
#define DEG2RAD   (PGS_PI/180.0)
 
#define MAX_UINT16_VAL   (0xFFFF)
 

Enumerations

enum  {
  SHALLOW_OCEAN, DRYLAND, COAST, SHALLOW_INLAND,
  EPHEMERAL, DEEP_INLAND, CONTINENTAL, DEEP_OCEAN,
  NUM_LWMASK, L_SMASK_FVALUE = (0x10000 + PGSd_DEM_NO_FILLVALUE)>>8
}
 

Macro Definition Documentation

◆ ANCIL_LENGTH

#define ANCIL_LENGTH   64

Definition at line 113 of file GEO_geo.h.

◆ BAD_TERRAIN

#define BAD_TERRAIN   32

Definition at line 120 of file GEO_geo.h.

◆ BASE_SAMPLES

#define BASE_SAMPLES   DETECTORS_1KM /* Obsolescent */

Definition at line 101 of file GEO_geo.h.

◆ DEG2RAD

#define DEG2RAD   (PGS_PI/180.0)

Definition at line 174 of file GEO_geo.h.

◆ DETECTORS_1KM

#define DETECTORS_1KM   10

Definition at line 85 of file GEO_geo.h.

◆ DETECTORS_HKM

#define DETECTORS_HKM   (DETECTORS_1KM*SAMPLE_RATIO_HKM)

Definition at line 86 of file GEO_geo.h.

◆ DETECTORS_QKM

#define DETECTORS_QKM   (DETECTORS_1KM*SAMPLE_RATIO_QKM)

Definition at line 87 of file GEO_geo.h.

◆ EA_SOURCE_SELECT_LUN

#define EA_SOURCE_SELECT_LUN   600280

Definition at line 93 of file GEO_geo.h.

◆ ELEC_SIDES

#define ELEC_SIDES   2

Definition at line 108 of file GEO_geo.h.

◆ ENCODER_LENGTH

#define ENCODER_LENGTH   78

Definition at line 111 of file GEO_geo.h.

◆ FIRST_BAND

#define FIRST_BAND   30

Definition at line 99 of file GEO_geo.h.

◆ GFLAGS_FVALUE

#define GFLAGS_FVALUE   255

Definition at line 156 of file GEO_geo.h.

◆ H_PGS_DEM

#define H_PGS_DEM

Definition at line 69 of file GEO_geo.h.

◆ HGHT_FVALUE

#define HGHT_FVALUE   (-32767)

Definition at line 148 of file GEO_geo.h.

◆ HIRES_FVALUE

#define HIRES_FVALUE   (-128)

Definition at line 157 of file GEO_geo.h.

◆ INVALID_INPUT_DATA

#define INVALID_INPUT_DATA   128

Definition at line 118 of file GEO_geo.h.

◆ INVALID_SENSOR_ANGLES

#define INVALID_SENSOR_ANGLES   8

Definition at line 122 of file GEO_geo.h.

◆ INVALID_SOLAR_ANGLES

#define INVALID_SOLAR_ANGLES   8

Definition at line 123 of file GEO_geo.h.

◆ LAT_FVALUE

#define LAT_FVALUE   (-999.0)

Definition at line 147 of file GEO_geo.h.

◆ LATCH_TO_CENTER

#define LATCH_TO_CENTER   0.5

Definition at line 100 of file GEO_geo.h.

◆ LONG_FVALUE

#define LONG_FVALUE   (-999.0)

Definition at line 146 of file GEO_geo.h.

◆ MAX_BAND_NUMBER

#define MAX_BAND_NUMBER   36

Definition at line 98 of file GEO_geo.h.

◆ MAX_DEM_HORIZONTAL

#define MAX_DEM_HORIZONTAL   200

Definition at line 162 of file GEO_geo.h.

◆ MAX_DEM_ROWS

#define MAX_DEM_ROWS   108

Definition at line 160 of file GEO_geo.h.

◆ MAX_DEM_TILES

#define MAX_DEM_TILES   26410

Definition at line 161 of file GEO_geo.h.

◆ MAX_DEM_VERTICAL

#define MAX_DEM_VERTICAL   200

Definition at line 163 of file GEO_geo.h.

◆ MAX_DETECTORS

#define MAX_DETECTORS   DETECTORS_1KM /* Obsolescent */

Definition at line 89 of file GEO_geo.h.

◆ MAX_FRAMES

#define MAX_FRAMES   1354

Definition at line 79 of file GEO_geo.h.

◆ MAX_IMPULSE_NUMBER

#define MAX_IMPULSE_NUMBER   25

Definition at line 91 of file GEO_geo.h.

◆ MAX_PADDED

#define MAX_PADDED   (SAMPLES_QKM+3)

Definition at line 84 of file GEO_geo.h.

◆ MAX_POLY_DEGREE

#define MAX_POLY_DEGREE   4

Definition at line 92 of file GEO_geo.h.

◆ MAX_SAMPLES

#define MAX_SAMPLES   SAMPLE_RATIO_QKM /* Obsolescent */

Definition at line 102 of file GEO_geo.h.

◆ MAX_SCAN_NUMBER

#define MAX_SCAN_NUMBER   1000

Definition at line 78 of file GEO_geo.h.

◆ MAX_SCAN_SAMPLE

#define MAX_SCAN_SAMPLE   MAX_FRAMES /* Obsolescent */

Definition at line 88 of file GEO_geo.h.

◆ MAX_TERRAIN_HEIGHT

#define MAX_TERRAIN_HEIGHT   9600.0

Definition at line 169 of file GEO_geo.h.

◆ MAX_UINT16_VAL

#define MAX_UINT16_VAL   (0xFFFF)

Definition at line 175 of file GEO_geo.h.

◆ MIN_TERRAIN_HEIGHT

#define MIN_TERRAIN_HEIGHT   (-450.0)

Definition at line 168 of file GEO_geo.h.

◆ NEAR_LIMB

#define NEAR_LIMB   4

Definition at line 121 of file GEO_geo.h.

◆ NO_DEM_DATA

#define NO_DEM_DATA   (-1)

Definition at line 164 of file GEO_geo.h.

◆ NO_ELLIPSE_INTERSECT

#define NO_ELLIPSE_INTERSECT   64

Definition at line 119 of file GEO_geo.h.

◆ NUM_L1A_QUALITY_FLAGS

#define NUM_L1A_QUALITY_FLAGS   4

Definition at line 114 of file GEO_geo.h.

◆ NUM_L1A_SECTOR_VIEWS

#define NUM_L1A_SECTOR_VIEWS   6

Definition at line 115 of file GEO_geo.h.

◆ PGS_PI

#define PGS_PI   3.14159265358979323846

Definition at line 172 of file GEO_geo.h.

◆ PITCH

#define PITCH   1

Definition at line 104 of file GEO_geo.h.

◆ POSITION

#define POSITION   0

Definition at line 106 of file GEO_geo.h.

◆ RAD2DEG

#define RAD2DEG   (180.0/PGS_PI)

Definition at line 173 of file GEO_geo.h.

◆ RANGE_FVALUE

#define RANGE_FVALUE   0

Definition at line 151 of file GEO_geo.h.

◆ ROLL

#define ROLL   0

Definition at line 103 of file GEO_geo.h.

◆ SAMPLE_RATIO_HKM

#define SAMPLE_RATIO_HKM   2

Definition at line 80 of file GEO_geo.h.

◆ SAMPLE_RATIO_QKM

#define SAMPLE_RATIO_QKM   4

Definition at line 81 of file GEO_geo.h.

◆ SAMPLES_HKM

#define SAMPLES_HKM   (MAX_FRAMES*SAMPLE_RATIO_HKM)

Definition at line 82 of file GEO_geo.h.

◆ SAMPLES_QKM

#define SAMPLES_QKM   (MAX_FRAMES*SAMPLE_RATIO_QKM)

Definition at line 83 of file GEO_geo.h.

◆ SECTOR_LENGTH

#define SECTOR_LENGTH   40

Definition at line 112 of file GEO_geo.h.

◆ SENSORAZIM_FVALUE

#define SENSORAZIM_FVALUE   (-32767)

Definition at line 150 of file GEO_geo.h.

◆ SENSORZEN_FVALUE

#define SENSORZEN_FVALUE   (-32767)

Definition at line 149 of file GEO_geo.h.

◆ SOLARAZIM_FVALUE

#define SOLARAZIM_FVALUE   (-32767)

Definition at line 153 of file GEO_geo.h.

◆ SOLARZEN_FVALUE

#define SOLARZEN_FVALUE   (-32767)

Definition at line 152 of file GEO_geo.h.

◆ TAI_FLAG

#define TAI_FLAG   1.e10

Definition at line 124 of file GEO_geo.h.

◆ TEMP_FVALUE

#define TEMP_FVALUE   (-999.0)

Definition at line 154 of file GEO_geo.h.

◆ TERRAIN_CORRECT

#define TERRAIN_CORRECT   "TRUE"

Definition at line 125 of file GEO_geo.h.

◆ TERRAIN_CORRECT_LUN

#define TERRAIN_CORRECT_LUN   600310

Definition at line 95 of file GEO_geo.h.

◆ THERMCORR_FVALUE

#define THERMCORR_FVALUE   (-999.0)

Definition at line 155 of file GEO_geo.h.

◆ VALIDATE_ORBIT_NO_LUN

#define VALIDATE_ORBIT_NO_LUN   600281

Definition at line 94 of file GEO_geo.h.

◆ VELOCITY

#define VELOCITY   3

Definition at line 107 of file GEO_geo.h.

◆ YAW

#define YAW   2

Definition at line 105 of file GEO_geo.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
SHALLOW_OCEAN 
DRYLAND 
COAST 
SHALLOW_INLAND 
EPHEMERAL 
DEEP_INLAND 
CONTINENTAL 
DEEP_OCEAN 
NUM_LWMASK 
L_SMASK_FVALUE 

Definition at line 128 of file GEO_geo.h.