Commit 2c7a3cfa authored by Matthias Ruester's avatar Matthias Ruester

Print calculated bounding box

parent 9cb1911f
......@@ -100,6 +100,8 @@ int ewLoadBathymetry()
ierr = fscanf( fp, " %*s %*s " ); // zmin, zmax
}
printf_v("range: %lf %lf %lf %lf\n", LonMin, (LonMax > 180.0f ? LonMax - 360.0f : LonMax), LatMin, LatMax);
DLon = (LonMax - LonMin)/(NLon - 1); // in degrees
DLat = (LatMax - LatMin)/(NLat - 1);
......
Markdown is supported
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