segy


Namesegy JSON
Version 0.0.16 PyPI version JSON
download
home_pagehttps://github.com/TGSAI/segy
SummaryThe Ultimate Python SEG-Y I/O with Cloud Support and Schemas
upload_time2024-05-07 18:33:28
maintainerAltay Sansal
docs_urlNone
authorTGS
requires_python<3.13,>=3.9
licenseApache-2.0
keywords segy seismic data geophysics
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![PyPI](https://img.shields.io/pypi/v/segy.svg)][install_pip]
[![Conda](https://img.shields.io/conda/vn/conda-forge/segy)][install_conda]
[![Python Version](https://img.shields.io/pypi/pyversions/multidimio)][python version]
[![Status](https://img.shields.io/pypi/status/segy.svg)][status]
[![License](https://img.shields.io/pypi/l/segy)][apache 2.0 license]

[![Tests](https://github.com/TGSAI/segy/actions/workflows/tests.yaml/badge.svg?branch=main)][tests]
[![Codecov](https://codecov.io/gh/TGSAI/segy/branch/main/graph/badge.svg)][codecov]
[![Read the documentation at https://segy.readthedocs.io/](https://img.shields.io/readthedocs/segy/stable.svg?label=Read%20the%20Docs)][read the docs]

[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)][pre-commit]
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)][ruff]

[![PyPI Downloads](https://static.pepy.tech/personalized-badge/segy?period=total&units=international_system&left_color=grey&right_color=blue&left_text=PyPI%20downloads)][pypi_]
[![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/segy?label=Conda%20downloads&style=flat)][conda-forge_]

[pypi_]: https://pypi.org/project/segy/
[conda-forge_]: https://anaconda.org/conda-forge/segy
[status]: https://pypi.org/project/segy/
[python version]: https://pypi.org/project/segy
[read the docs]: https://segy.readthedocs.io/
[tests]: https://github.com/TGSAI/segy/actions/workflows/tests.yaml
[codecov]: https://app.codecov.io/gh/TGSAI/segy
[pre-commit]: https://github.com/pre-commit/pre-commit
[ruff]: https://github.com/astral-sh/ruff
[install_pip]: https://segy.readthedocs.io/en/stable/installation.html#using-pip-and-virtualenv
[install_conda]: https://segy.readthedocs.io/en/stable/installation.html#using-conda

# SEG-Y

> 🚧👷🏻 This project is under active development, expect breaking changes
> the to API 👷🏻🚧
> _\- March, 2024_

This is an efficient and comprehensive SEG-Y parsing library.

See the [documentation][read the docs] for more information.

This is not an official TGS product.

## Features

The library utilizes `numpy` and `fsspec`, includes the reading from various local
and remote resources at a high speed. It also allows the users to build their own
SEG-Y specifications.

## Installing `segy`

Clone the repo and install it using pip:

Simplest way to install `segy` is via [pip] from [PyPI]:

```shell
$ pip install segy
```

or install `segy` via [conda] from [conda-forge]:

```shell
$ conda install -c conda-forge segy
```

> Extras must be installed separately on `Conda` environments.

For details, please see the [installation instructions]
in the documentation.

## Using `segy`

Please see the [Command-line Usage] for details.

For Python API please see the [API Reference] for details.

### Reading Capabilities

It supports reading from local and cloud files (object store). It can read:

- Sequential traces (fastest)
- Disjoint sequential regions (fast)
- Random traces (slow)

### High Performance

The performance is high and to be proven with upcoming benchmarks. The initial
subjective benchmarks is very acceptable.

### Flexibility

The library provides a fully flexible, schematized SEG-Y structure, including
data models and JSON schema parsing and validation.

### Predefined SEG-Y Standards

It supports predefined SEG-Y "standards" for various versions. However,
some versions are still in progress:

- [x] Rev 0 (1975)
- [x] Rev 1 (2002)
- [ ] Rev 2 (2017)
- [ ] Rev 2.1 (2023)

### Custom SEG-Y Standards

You can build your own SEG-Y "standard" with composition of specs for:

- Text header (file + extended)
- Binary header
- Traces (header + extended header + samples)

## Contributing to `segy`

Contributions are very welcome.
To learn more, see the [Contributor Guide].

## Licensing

Distributed under the terms of the [Apache 2.0 license].
`segy` is free and open source software.

## Issues

If you encounter any problems,
please [file an issue] along with a detailed description.

## Credits

This project was established at [TGS](https://www.tgs.com/). Current
maintainer is [Altay Sansal](https://github.com/tasansal) with the support
of many more great colleagues.

The CI/CD tooling is loosely based on [Hypermodern Python Cookiecutter]
with more modern tooling applied elsewhere.

[hypermodern python cookiecutter]: https://github.com/cjolowicz/cookiecutter-hypermodern-python
[pypi]: https://pypi.org/
[conda-forge]: https://conda-forge.org/
[file an issue]: https://github.com/TGSAI/segy/issues
[pip]: https://pip.pypa.io/
[conda]: https://docs.conda.io/

<!-- github-only -->

[apache 2.0 license]: https://github.com/TGSAI/segy/blob/main/LICENSE
[contributor guide]: https://github.com/TGSAI/segy/blob/main/CONTRIBUTING.md
[command-line usage]: https://segy.readthedocs.io/en/stable/cli_usage.html
[api reference]: https://segy.readthedocs.io/en/stable/api_reference.html
[installation instructions]: https://segy.readthedocs.io/en/stable/installation.html


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/TGSAI/segy",
    "name": "segy",
    "maintainer": "Altay Sansal",
    "docs_url": null,
    "requires_python": "<3.13,>=3.9",
    "maintainer_email": "altay.sansal@tgs.com",
    "keywords": "segy, seismic, data, geophysics",
    "author": "TGS",
    "author_email": "sys-opensource@tgs.com",
    "download_url": "https://files.pythonhosted.org/packages/3d/35/4d4610ef0019f6f4dd0a18687102d65fddc3da5620816ed8d33a1007c3cb/segy-0.0.16.tar.gz",
    "platform": null,
    "description": "[![PyPI](https://img.shields.io/pypi/v/segy.svg)][install_pip]\n[![Conda](https://img.shields.io/conda/vn/conda-forge/segy)][install_conda]\n[![Python Version](https://img.shields.io/pypi/pyversions/multidimio)][python version]\n[![Status](https://img.shields.io/pypi/status/segy.svg)][status]\n[![License](https://img.shields.io/pypi/l/segy)][apache 2.0 license]\n\n[![Tests](https://github.com/TGSAI/segy/actions/workflows/tests.yaml/badge.svg?branch=main)][tests]\n[![Codecov](https://codecov.io/gh/TGSAI/segy/branch/main/graph/badge.svg)][codecov]\n[![Read the documentation at https://segy.readthedocs.io/](https://img.shields.io/readthedocs/segy/stable.svg?label=Read%20the%20Docs)][read the docs]\n\n[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)][pre-commit]\n[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)][ruff]\n\n[![PyPI Downloads](https://static.pepy.tech/personalized-badge/segy?period=total&units=international_system&left_color=grey&right_color=blue&left_text=PyPI%20downloads)][pypi_]\n[![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/segy?label=Conda%20downloads&style=flat)][conda-forge_]\n\n[pypi_]: https://pypi.org/project/segy/\n[conda-forge_]: https://anaconda.org/conda-forge/segy\n[status]: https://pypi.org/project/segy/\n[python version]: https://pypi.org/project/segy\n[read the docs]: https://segy.readthedocs.io/\n[tests]: https://github.com/TGSAI/segy/actions/workflows/tests.yaml\n[codecov]: https://app.codecov.io/gh/TGSAI/segy\n[pre-commit]: https://github.com/pre-commit/pre-commit\n[ruff]: https://github.com/astral-sh/ruff\n[install_pip]: https://segy.readthedocs.io/en/stable/installation.html#using-pip-and-virtualenv\n[install_conda]: https://segy.readthedocs.io/en/stable/installation.html#using-conda\n\n# SEG-Y\n\n> \ud83d\udea7\ud83d\udc77\ud83c\udffb This project is under active development, expect breaking changes\n> the to API \ud83d\udc77\ud83c\udffb\ud83d\udea7\n> _\\- March, 2024_\n\nThis is an efficient and comprehensive SEG-Y parsing library.\n\nSee the [documentation][read the docs] for more information.\n\nThis is not an official TGS product.\n\n## Features\n\nThe library utilizes `numpy` and `fsspec`, includes the reading from various local\nand remote resources at a high speed. It also allows the users to build their own\nSEG-Y specifications.\n\n## Installing `segy`\n\nClone the repo and install it using pip:\n\nSimplest way to install `segy` is via [pip] from [PyPI]:\n\n```shell\n$ pip install segy\n```\n\nor install `segy` via [conda] from [conda-forge]:\n\n```shell\n$ conda install -c conda-forge segy\n```\n\n> Extras must be installed separately on `Conda` environments.\n\nFor details, please see the [installation instructions]\nin the documentation.\n\n## Using `segy`\n\nPlease see the [Command-line Usage] for details.\n\nFor Python API please see the [API Reference] for details.\n\n### Reading Capabilities\n\nIt supports reading from local and cloud files (object store). It can read:\n\n- Sequential traces (fastest)\n- Disjoint sequential regions (fast)\n- Random traces (slow)\n\n### High Performance\n\nThe performance is high and to be proven with upcoming benchmarks. The initial\nsubjective benchmarks is very acceptable.\n\n### Flexibility\n\nThe library provides a fully flexible, schematized SEG-Y structure, including\ndata models and JSON schema parsing and validation.\n\n### Predefined SEG-Y Standards\n\nIt supports predefined SEG-Y \"standards\" for various versions. However,\nsome versions are still in progress:\n\n- [x] Rev 0 (1975)\n- [x] Rev 1 (2002)\n- [ ] Rev 2 (2017)\n- [ ] Rev 2.1 (2023)\n\n### Custom SEG-Y Standards\n\nYou can build your own SEG-Y \"standard\" with composition of specs for:\n\n- Text header (file + extended)\n- Binary header\n- Traces (header + extended header + samples)\n\n## Contributing to `segy`\n\nContributions are very welcome.\nTo learn more, see the [Contributor Guide].\n\n## Licensing\n\nDistributed under the terms of the [Apache 2.0 license].\n`segy` is free and open source software.\n\n## Issues\n\nIf you encounter any problems,\nplease [file an issue] along with a detailed description.\n\n## Credits\n\nThis project was established at [TGS](https://www.tgs.com/). Current\nmaintainer is [Altay Sansal](https://github.com/tasansal) with the support\nof many more great colleagues.\n\nThe CI/CD tooling is loosely based on [Hypermodern Python Cookiecutter]\nwith more modern tooling applied elsewhere.\n\n[hypermodern python cookiecutter]: https://github.com/cjolowicz/cookiecutter-hypermodern-python\n[pypi]: https://pypi.org/\n[conda-forge]: https://conda-forge.org/\n[file an issue]: https://github.com/TGSAI/segy/issues\n[pip]: https://pip.pypa.io/\n[conda]: https://docs.conda.io/\n\n<!-- github-only -->\n\n[apache 2.0 license]: https://github.com/TGSAI/segy/blob/main/LICENSE\n[contributor guide]: https://github.com/TGSAI/segy/blob/main/CONTRIBUTING.md\n[command-line usage]: https://segy.readthedocs.io/en/stable/cli_usage.html\n[api reference]: https://segy.readthedocs.io/en/stable/api_reference.html\n[installation instructions]: https://segy.readthedocs.io/en/stable/installation.html\n\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "The Ultimate Python SEG-Y I/O with Cloud Support and Schemas",
    "version": "0.0.16",
    "project_urls": {
        "Documentation": "https://segy.readthedocs.io",
        "Homepage": "https://github.com/TGSAI/segy",
        "Repository": "https://github.com/TGSAI/segy"
    },
    "split_keywords": [
        "segy",
        " seismic",
        " data",
        " geophysics"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4d4059c2ab49c7e7468ed32f8be8db28babd6ac64f0939c21b4e4021df0ce67f",
                "md5": "48775ee14f25883ae7ce172e0b530355",
                "sha256": "faef8484d38bd4406c463092d8c09ba869777cf08e4bd5481968bf768b712c4a"
            },
            "downloads": -1,
            "filename": "segy-0.0.16-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "48775ee14f25883ae7ce172e0b530355",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.13,>=3.9",
            "size": 40199,
            "upload_time": "2024-05-07T18:33:26",
            "upload_time_iso_8601": "2024-05-07T18:33:26.604370Z",
            "url": "https://files.pythonhosted.org/packages/4d/40/59c2ab49c7e7468ed32f8be8db28babd6ac64f0939c21b4e4021df0ce67f/segy-0.0.16-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3d354d4610ef0019f6f4dd0a18687102d65fddc3da5620816ed8d33a1007c3cb",
                "md5": "2ba730fc90b48d70b5810bfe9f972e16",
                "sha256": "296fc144242c9d356c76fc009595529fa0fd44b8b23726bbde3b70d864750279"
            },
            "downloads": -1,
            "filename": "segy-0.0.16.tar.gz",
            "has_sig": false,
            "md5_digest": "2ba730fc90b48d70b5810bfe9f972e16",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.13,>=3.9",
            "size": 33826,
            "upload_time": "2024-05-07T18:33:28",
            "upload_time_iso_8601": "2024-05-07T18:33:28.232558Z",
            "url": "https://files.pythonhosted.org/packages/3d/35/4d4610ef0019f6f4dd0a18687102d65fddc3da5620816ed8d33a1007c3cb/segy-0.0.16.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-07 18:33:28",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "TGSAI",
    "github_project": "segy",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "segy"
}
        
TGS
Elapsed time: 0.27811s