Commit 9f7b8cfc authored by LEFEBVREJP email's avatar LEFEBVREJP email
Browse files

Removing addition of 2 meter surface height.

parent 75912be7
Pipeline #12620 failed with stages
in 4 minutes and 38 seconds
......@@ -859,18 +859,6 @@ std::vector<std::vector<float>> GFSFile::query(float lat, float lon, int month,
results[ll][it - columns.begin()] = vdata[kk][ll];
}
}
// check surface data (2 meters)
if (ll == 0)
{
// check for surface height
{
auto it = std::find(columns.begin(), columns.end(), "HGTS");
if (it != columns.end())
{
results[ll][it - columns.begin()] = 2.0f;
}
}
}
bool hwind = false; // have wind?
float wd = 0.f;
float ws = 0.f;
......
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