D. Berge 4d97784829 Upgrade database project schema template.
Adds:

* label_in_sequence (_sequence integer, _label text):
  Returns events containing the specified label.

* handle_final_line_events (_seq integer, _label text, _column text):
  - If _label does not exist in the events for sequence _seq:
    it adds a new _label label at the shotpoint obtained from
    final_lines_summary[_column].
  - If _label does exist (and hasn't been auto-added by this function
    in a previous run), it will add information about it to the final
    line's metadata.

* final_line_post_import (_seq integer):
  Calls handle_final_line_events() on the given sequence to check
  for FSP, FGSP, LGSP and LSP labels.

* events_seq_labels_single ():
  Trigger function to ensure that labels that have the attribute
  `model.multiple` set to `false` occur at most only once per
  sequence. If a new instance is added to a sequence, the previous
  instance is deleted.

* Trigger on events_seq_labels that calls events_seq_labels_single().

* Trigger on events_timed_labels that calls events_seq_labels_single().
2021-05-24 16:49:39 +02:00
2020-08-24 21:01:47 +02:00

Dougal Seismic production & data analysis tool

Structure of this repo

  • bin/ Scripts that import / export data into / out of the database.
  • etc/ Configuration files.
  • lib/ Code files.
    • lib/www/ Web interface and API.
      • lib/www/client/ Frontend.
      • lib/www/server/ Backend.
  • sbin/ System maintenance scripts.
Description
No description provided
Readme 11 MiB
Languages
Vue 41.7%
JavaScript 32.3%
PLpgSQL 16.5%
Python 5.4%
Nunjucks 3.2%
Other 0.9%