Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RadioObservatory
LOFAR
Commits
0948ca5b
Commit
0948ca5b
authored
8 years ago
by
Jan David Mol
Browse files
Options
Downloads
Patches
Plain Diff
Task #9337: Backported OutputProc fixes to release branch
parent
6ba0ce66
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
RTCP/Cobalt/OutputProc/src/MeasurementSetFormat.cc
+6
-0
6 additions, 0 deletions
RTCP/Cobalt/OutputProc/src/MeasurementSetFormat.cc
RTCP/Cobalt/OutputProc/src/OutputThread.cc
+18
-0
18 additions, 0 deletions
RTCP/Cobalt/OutputProc/src/OutputThread.cc
with
24 additions
and
0 deletions
RTCP/Cobalt/OutputProc/src/MeasurementSetFormat.cc
+
6
−
0
View file @
0948ca5b
...
...
@@ -119,6 +119,9 @@ namespace LOFAR
MeasurementSetFormat
::~
MeasurementSetFormat
()
{
ScopedLock
scopedLock
(
sharedMutex
);
itsMS
=
0
;
}
...
...
@@ -132,6 +135,9 @@ namespace LOFAR
/// Next make a metafile which describes the raw datafile we're
/// going to write
createMSMetaFile
(
MSname
,
subband
);
// Release itsMS, we don't need it anymore
itsMS
=
0
;
}
...
...
This diff is collapsed.
Click to expand it.
RTCP/Cobalt/OutputProc/src/OutputThread.cc
+
18
−
0
View file @
0948ca5b
...
...
@@ -172,6 +172,15 @@ namespace LOFAR
if
(
!
itsParset
.
settings
.
realTime
)
THROW
(
StorageException
,
ex
);
#if defined HAVE_AIPSPP
}
catch
(
casa
::
AipsError
&
ex
)
{
LOG_ERROR_STR
(
itsLogPrefix
<<
"Could not create meta data (AipsError): "
<<
ex
.
what
());
if
(
!
itsParset
.
settings
.
realTime
)
THROW
(
StorageException
,
ex
.
what
());
#endif
}
}
...
...
@@ -188,6 +197,15 @@ namespace LOFAR
if
(
!
itsParset
.
settings
.
realTime
)
THROW
(
StorageException
,
ex
);
#if defined HAVE_AIPSPP
}
catch
(
casa
::
AipsError
&
ex
)
{
LOG_ERROR_STR
(
itsLogPrefix
<<
"Could not add final meta data (AipsError): "
<<
ex
.
what
());
if
(
!
itsParset
.
settings
.
realTime
)
THROW
(
StorageException
,
ex
.
what
());
#endif
}
}
...
...
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