WSL/SLF GitLab Repository

Commit 5fe50ed0 authored by Mathias Bavay's avatar Mathias Bavay
Browse files

One change was forgotten...

parent b6837788
...@@ -643,8 +643,8 @@ void GRIBIO::read2DGrid(const std::string& filename, Grid2DObject& grid_out, con ...@@ -643,8 +643,8 @@ void GRIBIO::read2DGrid(const std::string& filename, Grid2DObject& grid_out, con
//we need to compute the wind at 7.5m //we need to compute the wind at 7.5m
Grid2DObject Z0; Grid2DObject Z0;
if(read2DGrid_indexed(83.2, 1, 0, date, Z0)) { //Z0 if(read2DGrid_indexed(83.2, 1, 0, date, Z0)) { //Z0
for(size_t jj=0; jj<grid_out.nrows; jj++) { for(size_t jj=0; jj<grid_out.getNy(); jj++) {
for(size_t ii=0; ii<grid_out.ncols; ii++) { for(size_t ii=0; ii<grid_out.getNx(); ii++) {
grid_out(ii,jj) = Atmosphere::windLogProfile(grid_out(ii,jj), 10., 7.5, Z0(ii,jj)); grid_out(ii,jj) = Atmosphere::windLogProfile(grid_out(ii,jj), 10., 7.5, Z0(ii,jj));
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment