Python Harvesting Scripts
The Python Harvesting Scripts implement the WDM-specific processing steps. They are the technical workflow logic used to harvest, prepare, validate and pass on publication data. Prefect is used to orchestrate these scripts. The current public snapshot of the WDM harvesting scripts is available in the GitLab repository.
General documentation
- Title selection via configuration file
- Guide on New Publisher Module
- Security Scans/Pipelines
- Deployer
- Config and Flow Creation
Shared utilities and modules
- utils.py
- Common package
- Debug cache manager
- constants.py
- exceptions.py
- remove_dip Module
- remove_source_content Module
- storagebox_upload Module
- repo_scanner Module
- rclone_download Module
- dtd_scanner Module
- toolbox_crossref_upload Module
- undone_maker Module
Bookkeeping System
- Bookkeeping RDF data model
- Python architecture
- DataPackages and DataLocations
- Processing Interface
- Pipeline selection
- Missing functionality and idea collection
- Configuration structure and use
- Processing suspension
- How to register manual changes
- Cleaner
- Pipeline (journal) restart for testing purposes
- Batch reassignment of next module
- LoadManager
Module documentation
Typical workflow
The diagram shows a typical harvesting workflow consisting of publisher-specific harvesting scripts and generic modules that process the harvested data.
flowchart TD
crossref["crossrefcrawler"] --> metadata["validate_metadata"]
metadata --> choose_harvester{"Select source harvester"}
choose_harvester -->|"PLOS"| plos_filter["plos_journal_article_filter"]
plos_filter --> plos_harvesting["PLOS full-text harvesting"]
choose_harvester -->|"MDPI with images"| mdpi_images["mdpi_with_images"]
choose_harvester -->|"Copernicus"| copernicus["copernicus"]
choose_harvester -->|"Frontiers"| frontiers["frontiers"]
choose_harvester -->|"Springer Nature"| springer["springer_open"]
springer --> springer_pdf["springer_open_pdf"]
plos_harvesting --> harvested(["Publisher files harvested to local network storage"])
mdpi_images --> harvested
copernicus --> harvested
frontiers --> harvested
springer_pdf --> harvested
harvested --> license["check_license_information"]
license --> image_converter["image_format_converter"]
image_converter --> format_filter["archivematica_file_format_filter_module"]
format_filter --> relaxng["relaxng_scanner"]
relaxng --> toolbox_ids["toolbox_ids"]
toolbox_ids --> bags["create_bags"]
bags --> archivematica["archivematica_parallel_ingest"]
archivematica --> dip_export["archivematica_dip_export"]
dip_export --> cleanup_source["remove_source_content"]
cleanup_source --> dspace["dspace_article_ingest"]
dspace --> cleanup_dip["remove_dip"]
cleanup_dip --> toolbox_upload["metadata_toolbox_upload"]
toolbox_upload --> toolbox_conversion["toolbox_conversion"]
Module pages
Metadata and Full-Text Harvesting
- Crossrefcrawler
- MDPI
- MDPI with Images
- Copernicus
- Springer Open
- Springer Open PDF
- Frontiers
- Technology and Languages
Validation and Filtering
- Validate Metadata
- RelaxNG Scanner
- Check License Information
- Archivematica File Format Filter
- Plos Journal Article Filter
File Processing and Packaging
Toolbox
Archiving and Transfer to Target Systems
- Archivematica DIP export
- Archivematica Parallel Ingest
- DSpace Article Ingest
- Argumentext FTP file transfer