EcoPotential in-situ metadata catalogue
provides an implementation an OGC CSW catalogue using the Python library PyCSW with some modifications to meet the EcoPotential requirements.
Use the file docker-compose.yml to start the container.
git clone https://github.com/starlab-bcn/ecopotential-insitu-metadata-catalogue
cd ecopotential-insitu-metadata-catalogue
sh scripts/docker-start.sh
Install the library PyCSW and copy the content of the folder src
into the PyCSW installation folder (It will overwrite some files).
The following features have been implemented in the core of the PyCSW library. In addition, a set of shell scripts have been created to perform different tasks:
- Harvest from a remote catalogue. This script can be used to create a crontab and harvest data periodically:
sh scripts/harvest_source.sh <url_of_CSW_endpoint>
- Create database table
New functionalities are welcome. To begin developing:
git clone https://github.com/starlab-bcn/ecopotential-insitu-metadata-catalogue
git checkout -b my-dev-branch
...where you should give your branch a more descriptive name than "my-dev-branch"
Once you've made your changes (and tests,...), make that pull request.
Developed for the ECOPOTENTIAL project.