Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LEFEBVREJP email
radix
Commits
9f7b8cfc
Commit
9f7b8cfc
authored
Mar 21, 2018
by
LEFEBVREJP email
Browse files
Removing addition of 2 meter surface height.
parent
75912be7
Pipeline
#12620
failed with stages
in 4 minutes and 38 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
radixio/gfsfile.cc
View file @
9f7b8cfc
...
...
@@ -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.0
f
;
}
}
}
bool
hwind
=
false
;
// have wind?
float
wd
=
0.
f
;
float
ws
=
0.
f
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment