mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 12:27:07 +00:00
c7f3f565cd2b3a4ebf36e5ea58539e40dc68d515
This defines a replace_placeholders() function, taking as arguments
a text string and either a timestamp or a sequence / point pair. It
uses the latter arguments to find metadata from which it can extract
relevant information and replace it into the text string wherever the
appropriate placeholders appear. For instance, given a call such as
replace_placeholders('The position is @POS@', NULL, 11, 2600) it will
replace '@POS@' with the position of point 2600 in sequence 11, if it
exists (or leave the placeholder untouched otherwise).
A scan_placeholders() procedure is also defined, which calls the above
function on the entire event log.
Fixes #229.
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
Languages
Vue
41.7%
JavaScript
32.3%
PLpgSQL
16.5%
Python
5.4%
Nunjucks
3.2%
Other
0.9%