mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 11:37:08 +00:00
Add more sequence information to SeisJSON file
This commit is contained in:
@@ -28,13 +28,16 @@ function transform (events, sequences, opts = {}) {
|
||||
SequenceObject = {
|
||||
SequenceNumber,
|
||||
Entries: [],
|
||||
DglSailline: sequence.line,
|
||||
DglNumPoints: sequence.num_points,
|
||||
DglNumMissing: sequence.missing_shots,
|
||||
// NOTE: Distance & azimuth refer to raw data if the sequence
|
||||
// status is 'raw' and to final data if status is 'final'. In
|
||||
// the event of it being NTBP it depends on whether final data
|
||||
// exists or not.
|
||||
DglLength: sequence.length
|
||||
DglLength: sequence.length,
|
||||
DglAzimuth: sequence.azimuth,
|
||||
DglDuration: sequence.duration_final || sequence.duration
|
||||
};
|
||||
[sequence.remarks, sequence.remarks_final].filter(i => !!i).forEach(i => {
|
||||
if (!SequenceObject.DglSequenceComments) {
|
||||
|
||||
Reference in New Issue
Block a user