SDPCHAIN
===========
Seismology Data Preparation Module
Routines and classes providing a consistent interface for Python programs using
the SDPCHAIN protocol, which includes:
- Create or append to a process-steps.json file at each step
- the process-steps file is read from the input directory and written
to the output directory. If both directories are the same the new step
is appended to the existing file
- command-line arguments:
- -d (base_dir)
- -i (in_dir), can be relative to base directory
- -o (out_dir), can be relative to base directory
- optional (input_file) or (input_files), will have input directory pre-pended
- optional -of (output_file) or -ofs (output_files), will have output dir pre-pended
- optional -f, forces writing of output file if it already exists
- For now, these parameters must have exactly the above names in the files that
use SDPCHAIN, so that setup_paths and ProcessStep process them correctly.
The new ArgParser subclass should eliminate this need, but pre-populating
the argparser with base_dir, in_dir and out_dir, as well as optionally
input_file or input_files, output_file or output_files, and/or -f
Classes
---------------------
`ProcessSteps` object to hold information for a process-steps file
Command-line Routines
---------------------
These routines perform common functions while following the
SDPCHAIN rules (process-steps file, -i, -o, -d)
`sdpstep`: run a standard command-line program
`sdpcat`: concatenate binary files
ToDo
----
Add `sdpcode`: change net and station codes?
Raw data
{
"_id": null,
"home_page": "https://github.com/WayneCrawford/sdpchainpy",
"name": "sdpchainpy",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "provencance, data, metadata",
"author": "Wayne Crawford",
"author_email": "crawford@ipgp.fr",
"download_url": "https://files.pythonhosted.org/packages/fa/b0/0b42d450cdb1ee237dc64e129230ae3381139cd81e3fd385f52672552c62/sdpchainpy-1.0.1.tar.gz",
"platform": null,
"description": "SDPCHAIN\n===========\n\nSeismology Data Preparation Module\n\nRoutines and classes providing a consistent interface for Python programs using\nthe SDPCHAIN protocol, which includes:\n\n- Create or append to a process-steps.json file at each step\n - the process-steps file is read from the input directory and written\n to the output directory. If both directories are the same the new step\n is appended to the existing file\n- command-line arguments:\n - -d (base_dir)\n - -i (in_dir), can be relative to base directory\n - -o (out_dir), can be relative to base directory\n - optional (input_file) or (input_files), will have input directory pre-pended\n - optional -of (output_file) or -ofs (output_files), will have output dir pre-pended\n - optional -f, forces writing of output file if it already exists\n\n- For now, these parameters must have exactly the above names in the files that\n use SDPCHAIN, so that setup_paths and ProcessStep process them correctly.\n The new ArgParser subclass should eliminate this need, but pre-populating\n the argparser with base_dir, in_dir and out_dir, as well as optionally \n input_file or input_files, output_file or output_files, and/or -f\n \nClasses\n---------------------\n\n`ProcessSteps` object to hold information for a process-steps file\n\nCommand-line Routines\n---------------------\n\nThese routines perform common functions while following the\nSDPCHAIN rules (process-steps file, -i, -o, -d)\n\n`sdpstep`: run a standard command-line program \n\n`sdpcat`: concatenate binary files\n\nToDo\n----\nAdd `sdpcode`: change net and station codes?\n",
"bugtrack_url": null,
"license": null,
"summary": "SDPCHAIN provenance system",
"version": "1.0.1",
"project_urls": {
"Homepage": "https://github.com/WayneCrawford/sdpchainpy"
},
"split_keywords": [
"provencance",
" data",
" metadata"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "eaba0f1ecc36b324e274916986fcd0afc55a99ae0996d1f97485125577e15a04",
"md5": "90f7c1a6cac70de1b7e19a547295eb07",
"sha256": "29f7ed87fdeb1e5121a38687478b385f1f3f505fdcecf95692bbe4e63fc65a51"
},
"downloads": -1,
"filename": "sdpchainpy-1.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "90f7c1a6cac70de1b7e19a547295eb07",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 23825,
"upload_time": "2024-09-12T10:13:14",
"upload_time_iso_8601": "2024-09-12T10:13:14.919474Z",
"url": "https://files.pythonhosted.org/packages/ea/ba/0f1ecc36b324e274916986fcd0afc55a99ae0996d1f97485125577e15a04/sdpchainpy-1.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "fab00b42d450cdb1ee237dc64e129230ae3381139cd81e3fd385f52672552c62",
"md5": "bf6b3b1ef93de19f8b41735c206b5eca",
"sha256": "a172fc1ff9e1dac0adcb214e47ed5a237d474a9c359da4747d082e0371bb107b"
},
"downloads": -1,
"filename": "sdpchainpy-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "bf6b3b1ef93de19f8b41735c206b5eca",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 22251,
"upload_time": "2024-09-12T10:13:16",
"upload_time_iso_8601": "2024-09-12T10:13:16.556814Z",
"url": "https://files.pythonhosted.org/packages/fa/b0/0b42d450cdb1ee237dc64e129230ae3381139cd81e3fd385f52672552c62/sdpchainpy-1.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-12 10:13:16",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "WayneCrawford",
"github_project": "sdpchainpy",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "sdpchainpy"
}