{"id":20132327,"url":"https://github.com/mysiar/seismic-fold-calculation-cli","last_synced_at":"2026-05-30T20:31:46.186Z","repository":{"id":54834843,"uuid":"332009989","full_name":"mysiar/seismic-fold-calculation-cli","owner":"mysiar","description":"scripts to calculate seismic fold from SPS data","archived":false,"fork":false,"pushed_at":"2021-01-26T12:42:08.000Z","size":47,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-13T09:09:40.198Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mysiar.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-22T17:02:45.000Z","updated_at":"2021-01-24T15:41:51.000Z","dependencies_parsed_at":"2022-08-14T04:20:09.029Z","dependency_job_id":null,"html_url":"https://github.com/mysiar/seismic-fold-calculation-cli","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysiar%2Fseismic-fold-calculation-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysiar%2Fseismic-fold-calculation-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysiar%2Fseismic-fold-calculation-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysiar%2Fseismic-fold-calculation-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mysiar","download_url":"https://codeload.github.com/mysiar/seismic-fold-calculation-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241577094,"owners_count":19984941,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T20:53:15.401Z","updated_at":"2026-05-30T20:31:46.178Z","avatar_url":"https://github.com/mysiar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Seismic fold calculation - cli scripts\n\n## Install\n* clone repository `git clone https://github.com/mysiar/seismic-fold-calculation-cli.git`\n* `cd seismic-fold-calculation-cli`\n* `sh install.sh`\n\n## Project file definition\n```json\n{\n  \"db_url\": \"postgresql://user:password@db_host/db_fold\",\n  \"grid_file\": \"grid.json\",\n  \"sps_file\": \"your SPS source file\",\n  \"rps_file\": \"your SPS receiver file\",\n  \"xps_file\": \"your SPS relation file\",\n  \"verbose\": 1,\n  \"db_verbose\": 1,\n}\n```\n* _verbose_ - to display information during different operations\n* _db_verbose_ - SQLAlchemy echo\n\n## Commands\n* `sfc-create-db-table` - creates *bins* table in database\n* `sfc-delete-db-table` - deletes *bins* table in database\n* `sfc-calculate-fold` - calculates fold and writes it to CSV file\n* `sfc-db-fold-load` - load fold from CSV file to db\n* `sfc-db-fold-update` - update fold from CSV file to db\n\n## How to use it\n\n### Scenario 1 - single SPS data set\n* create Spatial DB (PostgreSQL or SQLite)\n* create bins table `sfc-create-db-table` \n* create project\n* calculate fold `sfc-calculate-fold`\n* load fold to db `sfc-db-fold-load`\n\n### Scenario 2 - multiple SPS data set\n* TODO\n\n\n### Tests\n* to run `tests/test.sh` you need to create spatial SQLite db using `spatialite tests/data/fold.sqlite`\n\n## More info\n\n* [Seismic Fold](https://github.com/mysiar/seismic-fold-python-package)\n* [Seismic Fold Db GIS](https://github.com/mysiar/seismic-fold_db_gis-python-package)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmysiar%2Fseismic-fold-calculation-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmysiar%2Fseismic-fold-calculation-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmysiar%2Fseismic-fold-calculation-cli/lists"}