Skip to content

Instantly share code, notes, and snippets.

@epifanio
Last active January 30, 2024 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save epifanio/4d8286dd112b0ed069ecc0bb8f66a3ed to your computer and use it in GitHub Desktop.
Save epifanio/4d8286dd112b0ed069ecc0bb8f66a3ed to your computer and use it in GitHub Desktop.
# =================================================================
#
# Authors: Tom Kralidis <tomkralidis@gmail.com>
# Ricardo Garcia Silva <ricardo.garcia.silva@gmail.com>
#
# Copyright (c) 2015 Tom Kralidis
# Copyright (c) 2017 Ricardo Garcia Silva
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
# files (the "Software"), to deal in the Software without
# restriction, including without limitation the rights to use,
# copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following
# conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.
#
# =================================================================
[server]
home=/var/www/pycsw
url=https://test.csw.met.no
mimetype=application/xml; charset=UTF-8
encoding=UTF-8
language=en-US
maxrecords=10
loglevel=DEBUG
logfile=/tmp/pycsw.log
pretty_print=true
profiles=apiso,ebrim
workers=16
flask_app=false
[manager]
transactions=false
allowed_ips=*
csw_harvest_pagesize=10
[metadata:main]
identification_title=Arctic Data Centre Catalogue Interface
identification_abstract=Machine interfaces to data catalogue
identification_keywords=catalogue, discovery, metadata
identification_keywords_type=theme
identification_fees=None
identification_accessconstraints=None
provider_name=Norwegian Meteorological Institute / Arctic Data Centre
provider_url=https://adc.met.no/
contact_name=ADC-support
contact_position=ADC-support
contact_address=Postboks 43 Blindern
contact_city=Oslo
contact_stateorprovince=Norway
contact_postalcode=0313
contact_country=Norway
contact_phone=+1234567890
contact_email=adc-support@met.no
contact_url=https://adc.met.no
contact_hours=0800h - 1600h +1GMT
contact_instructions=Use e-mail
contact_role=pointOfContact
[repository]
database=None
table=None
source=pycsw.plugins.repository.solr_metno.SOLRMETNORepository
filter=http://0.0.0.0:0000/solr/adc
adc_collection=ADC
MMD_XSL_DIR=/usr/local/share/mmd/xslt/
[xslt]
mmd_to_iso=/usr/local/share/mmd/xslt/mmd-to-inspire_cl.xsl
dif=/usr/local/share/mmd/xslt/mmd-to-dif_cl.xsl
dif10=/usr/local/share/mmd/xslt/mmd-to-dif10_cl.xsl
wmo=/usr/local/share/mmd/xslt/mmd-to-wmo.xsl
mmd_to_inspire=/usr/local/share/mmd/xslt/mmd-to-inspire_cl.xsl
[metadata:inspire]
enabled=true
languages_supported=eng
default_language=eng
date=2019-11-11
gemet_keywords=Utility and governmental services
conformity_service=notEvaluated
contact_name=ADC-support
contact_email=adc-support@met.no
temp_extent=2019-10-11/2020-09-10
test_pycsw.1.ma3utkxw7vg8@csw.met.no | Traceback (most recent call last):
test_pycsw.1.ma3utkxw7vg8@csw.met.no | File "/usr/local/bin/entrypoint.py", line 188, in <module>
test_pycsw.1.ma3utkxw7vg8@csw.met.no | config.read(os.getenv("PYCSW_CONFIG"))
test_pycsw.1.ma3utkxw7vg8@csw.met.no | File "/usr/local/lib/python3.8/configparser.py", line 697, in read
test_pycsw.1.ma3utkxw7vg8@csw.met.no | self._read(fp, filename)
test_pycsw.1.ma3utkxw7vg8@csw.met.no | File "/usr/local/lib/python3.8/configparser.py", line 1082, in _read
test_pycsw.1.ma3utkxw7vg8@csw.met.no | raise MissingSectionHeaderError(fpname, lineno, line)
test_pycsw.1.ma3utkxw7vg8@csw.met.no | configparser.MissingSectionHeaderError: File contains no section headers.
test_pycsw.1.ma3utkxw7vg8@csw.met.no | file: '/etc/pycsw/pycsw.yml', line: 32
test_pycsw.1.ma3utkxw7vg8@csw.met.no | 'server:\n'
test_pycsw.1.v1i5ehoptf5y@csw.met.no | Traceback (most recent call last):
test_pycsw.1.v1i5ehoptf5y@csw.met.no | File "/usr/local/bin/entrypoint.py", line 188, in <module>
test_pycsw.1.v1i5ehoptf5y@csw.met.no | config.read(os.getenv("PYCSW_CONFIG"))
test_pycsw.1.v1i5ehoptf5y@csw.met.no | File "/usr/local/lib/python3.8/configparser.py", line 697, in read
test_pycsw.1.v1i5ehoptf5y@csw.met.no | self._read(fp, filename)
test_pycsw.1.v1i5ehoptf5y@csw.met.no | File "/usr/local/lib/python3.8/configparser.py", line 1082, in _read
test_pycsw.1.v1i5ehoptf5y@csw.met.no | raise MissingSectionHeaderError(fpname, lineno, line)
test_pycsw.1.v1i5ehoptf5y@csw.met.no | configparser.MissingSectionHeaderError: File contains no section headers.
test_pycsw.1.v1i5ehoptf5y@csw.met.no | file: '/etc/pycsw/pycsw.yml', line: 32
test_pycsw.1.v1i5ehoptf5y@csw.met.no | 'server:\n'
test_pycsw.1.8d0eng8bi70o@csw.met.no | Traceback (most recent call last):
test_pycsw.1.8d0eng8bi70o@csw.met.no | File "/usr/local/bin/entrypoint.py", line 188, in <module>
test_pycsw.1.8d0eng8bi70o@csw.met.no | config.read(os.getenv("PYCSW_CONFIG"))
test_pycsw.1.8d0eng8bi70o@csw.met.no | File "/usr/local/lib/python3.8/configparser.py", line 697, in read
test_pycsw.1.8d0eng8bi70o@csw.met.no | self._read(fp, filename)
test_pycsw.1.8d0eng8bi70o@csw.met.no | File "/usr/local/lib/python3.8/configparser.py", line 1082, in _read
test_pycsw.1.8d0eng8bi70o@csw.met.no | raise MissingSectionHeaderError(fpname, lineno, line)
test_pycsw.1.8d0eng8bi70o@csw.met.no | configparser.MissingSectionHeaderError: File contains no section headers.
test_pycsw.1.8d0eng8bi70o@csw.met.no | file: '/etc/pycsw/pycsw.yml', line: 32
test_pycsw.1.8d0eng8bi70o@csw.met.no | 'server:\n'
test_pycsw.1.v1lxtjezan3r@csw.met.no | Traceback (most recent call last):
test_pycsw.1.v1lxtjezan3r@csw.met.no | File "/usr/local/bin/entrypoint.py", line 188, in <module>
test_pycsw.1.v1lxtjezan3r@csw.met.no | config.read(os.getenv("PYCSW_CONFIG"))
test_pycsw.1.v1lxtjezan3r@csw.met.no | File "/usr/local/lib/python3.8/configparser.py", line 697, in read
test_pycsw.1.v1lxtjezan3r@csw.met.no | self._read(fp, filename)
test_pycsw.1.v1lxtjezan3r@csw.met.no | File "/usr/local/lib/python3.8/configparser.py", line 1082, in _read
test_pycsw.1.v1lxtjezan3r@csw.met.no | raise MissingSectionHeaderError(fpname, lineno, line)
test_pycsw.1.v1lxtjezan3r@csw.met.no | configparser.MissingSectionHeaderError: File contains no section headers.
test_pycsw.1.v1lxtjezan3r@csw.met.no | file: '/etc/pycsw/pycsw.yml', line: 32
test_pycsw.1.v1lxtjezan3r@csw.met.no | 'server:\n'
^C
➜ CSW_ADC git:(master) ✗ docker service logs -f test_pycsw
test_pycsw.1.v1lxtjezan3r@csw.met.no | Traceback (most recent call last):
test_pycsw.1.v1lxtjezan3r@csw.met.no | File "/usr/local/bin/entrypoint.py", line 188, in <module>
test_pycsw.1.v1lxtjezan3r@csw.met.no | config.read(os.getenv("PYCSW_CONFIG"))
test_pycsw.1.v1lxtjezan3r@csw.met.no | File "/usr/local/lib/python3.8/configparser.py", line 697, in read
test_pycsw.1.v1lxtjezan3r@csw.met.no | self._read(fp, filename)
test_pycsw.1.v1lxtjezan3r@csw.met.no | File "/usr/local/lib/python3.8/configparser.py", line 1082, in _read
test_pycsw.1.v1lxtjezan3r@csw.met.no | raise MissingSectionHeaderError(fpname, lineno, line)
test_pycsw.1.v1lxtjezan3r@csw.met.no | configparser.MissingSectionHeaderError: File contains no section headers.
test_pycsw.1.v1lxtjezan3r@csw.met.no | file: '/etc/pycsw/pycsw.yml', line: 32
test_pycsw.1.v1lxtjezan3r@csw.met.no | 'server:\n'
test_pycsw.1.v1i5ehoptf5y@csw.met.no | Traceback (most recent call last):
test_pycsw.1.v1i5ehoptf5y@csw.met.no | File "/usr/local/bin/entrypoint.py", line 188, in <module>
test_pycsw.1.v1i5ehoptf5y@csw.met.no | config.read(os.getenv("PYCSW_CONFIG"))
test_pycsw.1.v1i5ehoptf5y@csw.met.no | File "/usr/local/lib/python3.8/configparser.py", line 697, in read
test_pycsw.1.8d0eng8bi70o@csw.met.no | Traceback (most recent call last):
test_pycsw.1.v1i5ehoptf5y@csw.met.no | self._read(fp, filename)
test_pycsw.1.v1i5ehoptf5y@csw.met.no | File "/usr/local/lib/python3.8/configparser.py", line 1082, in _read
test_pycsw.1.8d0eng8bi70o@csw.met.no | File "/usr/local/bin/entrypoint.py", line 188, in <module>
test_pycsw.1.v1i5ehoptf5y@csw.met.no | raise MissingSectionHeaderError(fpname, lineno, line)
test_pycsw.1.8d0eng8bi70o@csw.met.no | config.read(os.getenv("PYCSW_CONFIG"))
test_pycsw.1.v1i5ehoptf5y@csw.met.no | configparser.MissingSectionHeaderError: File contains no section headers.
test_pycsw.1.8d0eng8bi70o@csw.met.no | File "/usr/local/lib/python3.8/configparser.py", line 697, in read
test_pycsw.1.8d0eng8bi70o@csw.met.no | self._read(fp, filename)
test_pycsw.1.v1i5ehoptf5y@csw.met.no | file: '/etc/pycsw/pycsw.yml', line: 32
test_pycsw.1.8d0eng8bi70o@csw.met.no | File "/usr/local/lib/python3.8/configparser.py", line 1082, in _read
test_pycsw.1.8d0eng8bi70o@csw.met.no | raise MissingSectionHeaderError(fpname, lineno, line)
test_pycsw.1.v1i5ehoptf5y@csw.met.no | 'server:\n'
test_pycsw.1.8d0eng8bi70o@csw.met.no | configparser.MissingSectionHeaderError: File contains no section headers.
test_pycsw.1.8d0eng8bi70o@csw.met.no | file: '/etc/pycsw/pycsw.yml', line: 32
test_pycsw.1.8d0eng8bi70o@csw.met.no | 'server:\n'
test_pycsw.1.ma3utkxw7vg8@csw.met.no | Traceback (most recent call last):
test_pycsw.1.ma3utkxw7vg8@csw.met.no | File "/usr/local/bin/entrypoint.py", line 188, in <module>
test_pycsw.1.ma3utkxw7vg8@csw.met.no | config.read(os.getenv("PYCSW_CONFIG"))
test_pycsw.1.ma3utkxw7vg8@csw.met.no | File "/usr/local/lib/python3.8/configparser.py", line 697, in read
test_pycsw.1.ma3utkxw7vg8@csw.met.no | self._read(fp, filename)
test_pycsw.1.ma3utkxw7vg8@csw.met.no | File "/usr/local/lib/python3.8/configparser.py", line 1082, in _read
test_pycsw.1.ma3utkxw7vg8@csw.met.no | raise MissingSectionHeaderError(fpname, lineno, line)
test_pycsw.1.ma3utkxw7vg8@csw.met.no | configparser.MissingSectionHeaderError: File contains no section headers.
test_pycsw.1.ma3utkxw7vg8@csw.met.no | file: '/etc/pycsw/pycsw.yml', line: 32
test_pycsw.1.ma3utkxw7vg8@csw.met.no | 'server:\n'
test_pycsw.1.ruwgr755077h@csw.met.no | Traceback (most recent call last):
test_pycsw.1.ruwgr755077h@csw.met.no | File "/usr/local/bin/entrypoint.py", line 188, in <module>
test_pycsw.1.ruwgr755077h@csw.met.no | config.read(os.getenv("PYCSW_CONFIG"))
test_pycsw.1.ruwgr755077h@csw.met.no | File "/usr/local/lib/python3.8/configparser.py", line 697, in read
test_pycsw.1.ruwgr755077h@csw.met.no | self._read(fp, filename)
test_pycsw.1.ruwgr755077h@csw.met.no | File "/usr/local/lib/python3.8/configparser.py", line 1082, in _read
test_pycsw.1.ruwgr755077h@csw.met.no | raise MissingSectionHeaderError(fpname, lineno, line)
test_pycsw.1.ruwgr755077h@csw.met.no | configparser.MissingSectionHeaderError: File contains no section headers.
test_pycsw.1.ruwgr755077h@csw.met.no | file: '/etc/pycsw/pycsw.yml', line: 32
test_pycsw.1.ruwgr755077h@csw.met.no | 'server:\n'
server:
home: /var/www/pycsw
url: https://test.csw.met.no
mimetype: application/xml; charset=UTF-8
encoding: UTF-8
language: en-US
maxrecords: 10
pretty_print: 'true'
workers: 16
flask_app: 'false'
logging:
level: DEBUG
logfile: /tmp/pycsw.log
manager:
transactions: false
allowed_ips:
- '*'
csw_harvest_pagesize: 10
metadata:
identification:
title: Arctic Data Centre Catalogue Interface
description: Machine interfaces to data catalogue
keywords:
- catalogue
- ' discovery'
- ' metadata'
keywords_type: theme
fees: None
accessconstraints: None
provider:
name: Norwegian Meteorological Institute / Arctic Data Centre
url: https://adc.met.no/
contact:
name: ADC-support
position: ADC-support
address: Postboks 43 Blindern
city: Oslo
stateorprovince: Norway
postalcode: '0313'
country: Norway
phone: 1234567890
email: adc-support@met.no
url: https://adc.met.no
hours: 0800h - 1600h +1GMT
instructions: Use e-mail
role: pointOfContact
inspire:
enabled: true
languages_supported:
- eng
default_language: eng
date: '2019-11-11'
gemet_keywords:
- Utility and governmental services
conformity_service: notEvaluated
contact_name: ADC-support
contact_email: adc-support@met.no
temp_extent:
begin: '2019-10-11'
end: '2020-09-10'
profiles:
- apiso
- ebrim
federatedcatalogues: []
repository:
database: None
table: None
source: pycsw.plugins.repository.solr_metno.SOLRMETNORepository
filter: http://0.0.0.0:0000/solr/adc
adc_collection: ADC
mmd_xsl_dir: /usr/local/share/mmd/xslt/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment