-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use file templating, rename template files, update doc
- Loading branch information
1 parent
b89061d
commit 14605c6
Showing
7 changed files
with
325 additions
and
239 deletions.
There are no files selected for viewing
30 changes: 15 additions & 15 deletions
30
config-templates/data-mappings-template.yml → config-templates/data-mappings.yml.tmpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,47 @@ | ||
data: | ||
COUNTRY_CODE.CENTRE_ID.data.core.weather.surface-based-observations.synop: | ||
$COUNTRY_CODE.$CENTRE_ID.data.core.weather.surface-based-observations.synop: | ||
plugins: | ||
txt: | ||
- plugin: wis2box.data.synop2bufr.ObservationDataSYNOP2BUFR | ||
notify: true | ||
buckets: | ||
- ${WIS2BOX_STORAGE_INCOMING} | ||
file-pattern: '^.*-(\d{4})(\d{2}).*\.txt$' | ||
- $${WIS2BOX_STORAGE_INCOMING} | ||
file-pattern: '^.*-(\d{4})(\d{2}).*\.txt$$' | ||
csv: | ||
- plugin: wis2box.data.csv2bufr.ObservationDataCSV2BUFR | ||
template: /data/wis2box/csv2bufr_mappings.json | ||
notify: true | ||
buckets: | ||
- ${WIS2BOX_STORAGE_INCOMING} | ||
file-pattern: '^.*\.csv$' | ||
- $${WIS2BOX_STORAGE_INCOMING} | ||
file-pattern: '^.*\.csv$$' | ||
bin: | ||
- plugin: wis2box.data.bufr4.ObservationDataBUFR | ||
notify: true | ||
buckets: | ||
- ${WIS2BOX_STORAGE_INCOMING} | ||
file-pattern: '^.*\.bin$' | ||
- $${WIS2BOX_STORAGE_INCOMING} | ||
file-pattern: '^.*\.bin$$' | ||
bufr: | ||
- plugin: wis2box.data.bufr4.ObservationDataBUFR | ||
notify: true | ||
buckets: | ||
- ${WIS2BOX_STORAGE_INCOMING} | ||
file-pattern: '^.*\.bufr$' | ||
- $${WIS2BOX_STORAGE_INCOMING} | ||
file-pattern: '^.*\.bufr$$' | ||
bufr4: | ||
- plugin: wis2box.data.bufr2geojson.ObservationDataBUFR2GeoJSON | ||
buckets: | ||
- ${WIS2BOX_STORAGE_PUBLIC} | ||
file-pattern: '^WIGOS_(\d-\d+-\d+-\w+)_.*\.bufr4$' | ||
- $${WIS2BOX_STORAGE_PUBLIC} | ||
file-pattern: '^WIGOS_(\d-\d+-\d+-\w+)_.*\.bufr4$$' | ||
COUNTRY_CODE.CENTRE_ID.data.core.weather.surface-based-observations.temp: | ||
plugins: | ||
bin: | ||
- plugin: wis2box.data.bufr4.ObservationDataBUFR | ||
notify: true | ||
buckets: | ||
- ${WIS2BOX_STORAGE_INCOMING} | ||
file-pattern: '^.*\.bin$' | ||
- $${WIS2BOX_STORAGE_INCOMING} | ||
file-pattern: '^.*\.bin$$' | ||
bufr: | ||
- plugin: wis2box.data.bufr4.ObservationDataBUFR | ||
notify: true | ||
buckets: | ||
- ${WIS2BOX_STORAGE_INCOMING} | ||
file-pattern: '^.*\.bufr$' | ||
- $${WIS2BOX_STORAGE_INCOMING} | ||
file-pattern: '^.*\.bufr$$' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.