mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 11:27:09 +00:00
Export missing shots by default.
Unless explicitly requested by the user by setting the option `missing` to `false`, a list of missing shotpoints will be included in the SeisJSON file.
This commit is contained in:
@@ -2,7 +2,8 @@ const { event, sequence, info } = require('../db');
|
||||
|
||||
async function prepare (project, query) {
|
||||
const events = await event.list(project, query);
|
||||
const sequences = await sequence.list(project, query);
|
||||
// Get missing shots by default
|
||||
const sequences = await sequence.list(project, Object.assign({missing:true}, query));
|
||||
const equipment = await info.get(null, "equipment");
|
||||
for (const sequence of sequences) {
|
||||
const maxTstamp = sequence.ts1_final || sequence.ts1 || +Infinity;
|
||||
|
||||
Reference in New Issue
Block a user