From ef8429cbb0a01f0896f74da203e488448fb7c18c Mon Sep 17 00:00:00 2001 From: "D. Berge" Date: Tue, 1 Sep 2020 11:00:17 +0200 Subject: [PATCH] Update example survey configuration file --- etc/surveys/_example.yaml | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/etc/surveys/_example.yaml b/etc/surveys/_example.yaml index edce510..54f84ed 100644 --- a/etc/surveys/_example.yaml +++ b/etc/surveys/_example.yaml @@ -51,7 +51,18 @@ preplots: # List of preplot files raw: # This section tells us where to find the raw data and what kind it is. # (raw data is what is produced by the navigation system during or right after acquisition) - p190: # We have raw P1/90 files + + + ntbp: + # This section tells us how to identify NTBP (not to be processed) sequences. + # We match the following regular expression pattern against the full path, not + # just the file name. The pattern applies both to P1/90 and P1/11 files. + pattern: + regex: NTBP + flags: i + + + p190: # Use this section if you have P1/90 raw files timestamp_format: "%d%m%Y" # Different software can't seem to agree on what format to use pattern: # Some of the information we want is not even *in* the P1/90 but is conveyed @@ -72,6 +83,18 @@ raw: # A list of directories to search for P1/90 files - /srv/Data/EQ20211/_live/raw + p111: # Use this section if you have P1/11 raw files (recommended) + pattern: + regex: '^.*(10|20)([0-9]{4})([0-9])([0-9]{3})S00000(\.([0-9]+))?\.[Pp]?111$' + flags: i + captures: [ "direction", "line", "attempt", "sequence", "(ignore)", "file_no" ] + globs: + - "**/*.P111" + - "**/*.p111" + paths: + - /srv/Data/EQ20211/_live/raw + + final: # This section is analogue to "raw" above, but for final data. # (final data is what is given to the client)