Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
L1 pipeline
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Metis scientific pipeline
L1 pipeline
Commits
6f9f0908
Commit
6f9f0908
authored
3 years ago
by
Roberto Susino
Browse files
Options
Downloads
Patches
Plain Diff
Add error code for missing parameter in HK table
parent
479ca4de
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
interpol_param.pro
+6
-1
6 additions, 1 deletion
interpol_param.pro
with
6 additions
and
1 deletion
interpol_param.pro
+
6
−
1
View file @
6f9f0908
...
...
@@ -14,6 +14,11 @@ function interpol_param, table, par_name, date, empty_params = empty_params
par_val
=
par_val
[
s
]
par_date
=
par_date
[
s
]
jul_date
=
date_conv
(
date
,
'JULIAN'
)
if
jul_date
ge
min
(
par_date
)
and
jul_date
le
max
(
par_date
)
then
value
=
interpol
(
float
(
par_val
),
par_date
,
jul_date
)
else
value
=
0.0
if
jul_date
ge
min
(
par_date
)
and
jul_date
le
max
(
par_date
)
then
value
=
interpol
(
float
(
par_val
),
par_date
,
jul_date
)
else
begin
;
value
=
0.0
journal
,
'Error 01: parameter not found in house-keeping dump table.'
journal
exit
,
status
=
1
endelse
if
finite
(
value
)
then
return
,
value
else
return
,
0.0
end
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment