Skip to content

Commit

Permalink
#2218 Initialize polar stereographics parameters for ellipsoidal earth
Browse files Browse the repository at this point in the history
Howard Soh committed Feb 2, 2023

Verified

This commit was signed with the committer’s verified signature.
florianduros Florian Duros
1 parent 2adc503 commit 568223f
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/libcode/vx_data2d_python/grid_from_python_dict.cc
Original file line number Diff line number Diff line change
@@ -208,6 +208,11 @@ data.r_km = dict.lookup_double("r_km");
data.nx = dict.lookup_int("nx");
data.ny = dict.lookup_int("ny");

data.eccentricity = 0.;
data.false_east = 0.;
data.false_north = 0.;
data.scale_factor = 1.0;
data.dy_km = data.d_km;

////////////////

5 changes: 5 additions & 0 deletions src/tools/other/mode_time_domain/nc_grid.cc
Original file line number Diff line number Diff line change
@@ -191,6 +191,11 @@ data.r_km = string_att_as_double(f, "r_km");
data.nx = string_att_as_int(f, "nx");
data.ny = string_att_as_int(f, "ny");

data.eccentricity = 0.;
data.false_east = 0.;
data.false_north = 0.;
data.scale_factor = 1.0;
data.dy_km = data.d_km;

//
// done

0 comments on commit 568223f

Please sign in to comment.