The goal of coat2pycsw is to achieve interoperability with the SIOS Data Access Portal by following the Interoperability Guidelines for the SIOS Data Management System (SDMS).
In order to do that, coat2pycsw reads the data from data.coat.no using the CKAN API, generates ISO-19115/ISO-19139 medatata using pygeometa, and populates a pycsw instance, which exposes the metadata using CSW and OAI-PMH.
Dependencies:
python3 -m pip install --user pipx
pipx install pdm
pdm install --no-selfConfiguration:
PYCSW_URL=http://localhost:8000 envsubst < pycsw.conf.template > pycsw.confGenerate database:
rm -f cite.db
pdm run python3 coat2pycsw.pyRun:
PYCSW_CONFIG=pycsw.conf pdm run python -m pycsw.wsgidocker compose up --buildConfigure by changing PYCSW_URL in docker-compose.yml, as well as the published port, if needed.
Perform a GetRecords request.