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
943e3531
Commit
943e3531
authored
Jan 14, 2019
by
Purves, Murray
Browse files
Added extra pressure level
parent
e68944b8
Pipeline
#28277
failed with stages
in 2 minutes and 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
radixio/examples/radixsnd2arl.cc
View file @
943e3531
...
...
@@ -379,11 +379,18 @@ int main(int argc, char **argv)
*
std
::
min_element
(
std
::
begin
(
inputPressures
),
std
::
end
(
inputPressures
));
// Calculate the resampled pressure values using the interval given
std
::
cout
<<
" Calculating resampled pressure values..."
<<
std
::
endl
;
for
(
float
thisPressure
=
resampleStart
;
thisPressure
>
minPressure
;
float
thisPressure
;
for
(
thisPressure
=
resampleStart
;
thisPressure
>
minPressure
;
thisPressure
-=
resampleInterval
)
{
resampledPressures
.
push_back
(
thisPressure
);
}
// Add another entry below the min. pressure
// - but only if that pressure won't be 0
if
(
thisPressure
>
0
)
{
resampledPressures
.
push_back
(
thisPressure
);
}
std
::
cout
<<
" Temperature:"
<<
std
::
endl
;
inputTemps
=
interpolateToOtherBaseValues
(
inputPressures
,
...
...
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