Skip to content

Commit

Permalink
#1795 Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Howard Soh committed May 21, 2021
1 parent fa51ade commit 8d9128c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions met/src/libcode/vx_grid/gaussian_grid.cc
Original file line number Diff line number Diff line change
Expand Up @@ -157,20 +157,18 @@ for (j=0; j<Ny; ++j) Latitudes[j] = 0.0;

for (j=0; j<ny_half; ++j) {

k = j + ny_half;
i = j + ny_half;

k = Ny - 1 - k;
k = Ny - 1 - i;

L.lether_root_weight(k, r, w);
// L.d_and_r_root_weight(k, r, w);

latitude = asind(r);

i = j + ny_half;

Latitudes[i] = latitude;

Latitudes[Ny - 1 - i] = -latitude;
Latitudes[k] = -latitude;

}

Expand Down

0 comments on commit 8d9128c

Please sign in to comment.