mskyttner / clb-docker

GBIF taxonomy tools dockerized
GNU Affero General Public License v3.0
3 stars 3 forks source link

How to load a local DwCA, using file:///dwca.zip #5

Open mskyttner opened 7 years ago

mskyttner commented 7 years ago

Document how to load a locally stored Darwin Core archive such as archive.zip located on disk somewhere and not pulled from the Internet.

mdoering commented 7 years ago

That is currently not supported. The only way currently to load a local dataset is to place it manually into the archiveRepository with the proper name matching its datasetKey with the suffix .dwca. That is currently configured here in the project: https://github.com/mskyttner/clb-docker/blob/master/cli/config/normalizer.yaml#L20

So the file for the dataset {UUID} would be in this case: /usr/local/clb/data/dwca/{UUID}.dwca

Then you need to trigger a normalizer message for that UUID, sth that can be done with clb-admin.sh NORMALIZE --key {UUID}