WSL/SLF GitLab Repository

Commit 281b03e2 authored by Mathias Bavay's avatar Mathias Bavay
Browse files

A line was commented out that should not have been... Therefore the...

A line was commented out that should not have been... Therefore the geolocalization information was not properly read!
parent 07b5950b
......@@ -514,7 +514,7 @@ void GRIBIO::indexFile(const std::string& filename)
throw IOException("Unable to create grib handle for \""+filename+"\"", AT);
}
//llcorner = getGeolocalization(h, cellsize_x, cellsize_y); //this sets llcorner, cellsize and bearing_offset
llcorner = getGeolocalization(h, cellsize_x, cellsize_y); //this sets llcorner, cellsize and bearing_offset
if( fabs(cellsize_x-cellsize_y)/cellsize_x > 1./100.) {
throw InvalidArgumentException("Cells can not be represented by square cells. This is not supported!", AT);
}
......
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