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": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "provencance,data,metadata",
"author": "Wayne Crawford",
"author_email": "crawford@ipgp.fr",
"download_url": "https://files.pythonhosted.org/packages/d3/5b/f81490ecfbae26d76c41eb63660da570eacee8445c5722fba58df7e2e2ed/sdpchainpy-1.0b2.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": "",
"summary": "SDPCHAIN provenance system",
"version": "1.0b2",
"project_urls": {
"Homepage": "https://github.com/WayneCrawford/sdpchainpy"
},
"split_keywords": [
"provencance",
"data",
"metadata"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c1838473fd6b2385b6879677aabef7239861c25d954a908eca9ba60a29bf3b6e",
"md5": "a67c756ab22956095e38c8630ffb7bcf",
"sha256": "c0ad5253777c272f2d864ac3022033f082ef6d98a9e73bb15d71cbe5047f3774"
},
"downloads": -1,
"filename": "sdpchainpy-1.0b2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a67c756ab22956095e38c8630ffb7bcf",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 23819,
"upload_time": "2024-02-12T10:44:49",
"upload_time_iso_8601": "2024-02-12T10:44:49.271523Z",
"url": "https://files.pythonhosted.org/packages/c1/83/8473fd6b2385b6879677aabef7239861c25d954a908eca9ba60a29bf3b6e/sdpchainpy-1.0b2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d35bf81490ecfbae26d76c41eb63660da570eacee8445c5722fba58df7e2e2ed",
"md5": "ee2c4c1eff1ace5dfe45f56f9f72f92b",
"sha256": "41b4377b8a721016fadcc6824f2998d8395d1172b892a76495c3ae9063897c1a"
},
"downloads": -1,
"filename": "sdpchainpy-1.0b2.tar.gz",
"has_sig": false,
"md5_digest": "ee2c4c1eff1ace5dfe45f56f9f72f92b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 22188,
"upload_time": "2024-02-12T10:44:51",
"upload_time_iso_8601": "2024-02-12T10:44:51.242552Z",
"url": "https://files.pythonhosted.org/packages/d3/5b/f81490ecfbae26d76c41eb63660da570eacee8445c5722fba58df7e2e2ed/sdpchainpy-1.0b2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-12 10:44:51",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "WayneCrawford",
"github_project": "sdpchainpy",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "sdpchainpy"
}