Skip to content

Commit

Permalink
#2228 Added parameters for ellipsoidal earth
Browse files Browse the repository at this point in the history
  • Loading branch information
Howard Soh committed Jan 20, 2023
1 parent 8b7c7cf commit cd96574
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src/libcode/vx_grid/st_grid_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,27 @@ struct StereographicData {

const char * name;

char hemisphere; // 'N' or 'S'
char hemisphere; // 'N' or 'S' from latitude_of_projection_origin

double scale_lat;
double scale_lat; //latitude_of_projection_origin

double lat_pin;
double lon_pin;

double x_pin;
double y_pin;

double lon_orient;
double lon_orient; // -straight_vertical_longitude_from_pole

double d_km;

double r_km;
double r_km; // semi_major_axis

// ellipsoidal earth
double eccentricity; // 0 for shperical earth
double false_east;
double false_north;
double scale_factor;

int nx;
int ny;
Expand Down

0 comments on commit cd96574

Please sign in to comment.