Former-commit-id:133dc97f67
[formerlya02aeb236c
] [formerly9f19e3f712
] [formerly06a8b51d6d
[formerly9f19e3f712
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]] Former-commit-id:06a8b51d6d
Former-commit-id:377dcd10b9
[formerly3360eb6c5f
] Former-commit-id:8e80217e59
32 lines
601 B
C
32 lines
601 B
C
#ifndef CONVERT_HRAP_H
|
|
#define CONVERT_HRAP_H
|
|
|
|
|
|
/* physical and mathematical constants */
|
|
|
|
#define DEGRAD 0.017453293
|
|
#define RADIANS_PER_DEGREE 0.017453293
|
|
#define DEGREES_PER_RADIAN 57.29577951
|
|
#define EARTH_RADIUS 6371.2
|
|
#define MESH_LEN 4.7625
|
|
#define STDLAT 60
|
|
#define STDLON 105
|
|
|
|
#define LOCAL_HRAP_ROWS 131
|
|
#define LOCAL_HRAP_COLS 131
|
|
|
|
|
|
/* prototypes */
|
|
|
|
void LatLongToHrapByReference(double lat,
|
|
double lon,
|
|
double *row,
|
|
double *col);
|
|
|
|
void HrapToLatLongByReference(double row,
|
|
double col,
|
|
double *lat,
|
|
double *lon);
|
|
|
|
|
|
#endif
|