bathyreq


Namebathyreq JSON
Version 1.0.1 PyPI version JSON
download
home_pageNone
SummaryBathyReq: A Python package for querying public bathymetric data sources.
upload_time2024-03-23 00:22:20
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseMIT License Copyright (c) 2023 William Jenkins Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords bathymetry oceanography data query download
VCS
bugtrack_url
requirements affine attrs certifi charset-normalizer click click-plugins cligj idna numpy pyparsing python-dotenv rasterio requests scipy snuggs urllib3
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # BathyReq

[![DOI](https://zenodo.org/badge/679471492.svg)](https://zenodo.org/badge/latestdoi/679471492)

<div align="center"> <img src="docs/docs/assets/banner.png"> </div>

A Python package for querying public bathymetric data sources.
Currently only digital elevation model (DEM) data from the [NOAA National Centers for Environmental Information (NCEI)](https://www.ncei.noaa.gov/) database is supported.
Future development will focus on implementing other sources, such as the [General Bathymetric Chart of the Oceans (GEBCO)](https://www.gebco.net) and NOAA's new [Blue Topo](https://nauticalcharts.noaa.gov/data/bluetopo.html) project.

## Installation
```bash
pip install bathyreq
```

## Usage

Download bathymetric data for a given area:
```python
import bathyreq

req = bathyreq.BathyReq()
data, lonvec, latvec = req.get_area(
    longitude=[-117.43, -117.23], latitude=[32.55, 32.75]
)
```

Download bathymetric data for a given set of longitude/latitude pairs:
```python
import bathyreq

req = bathyreq.BathyReq()
data = req.get_points(
    longitude=[-117.43, -117.23], latitude=[32.55, 32.75]
)
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "bathyreq",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "bathymetry, oceanography, data, query, download",
    "author": null,
    "author_email": "William Jenkins <wjenkins@ucsd.edu>",
    "download_url": "https://files.pythonhosted.org/packages/8b/86/1cb65ba211f2d51887eafe976f55c2eda2c5bdb57b2be92a4085c9e36979/bathyreq-1.0.1.tar.gz",
    "platform": null,
    "description": "# BathyReq\n\n[![DOI](https://zenodo.org/badge/679471492.svg)](https://zenodo.org/badge/latestdoi/679471492)\n\n<div align=\"center\"> <img src=\"docs/docs/assets/banner.png\"> </div>\n\nA Python package for querying public bathymetric data sources.\nCurrently only digital elevation model (DEM) data from the [NOAA National Centers for Environmental Information (NCEI)](https://www.ncei.noaa.gov/) database is supported.\nFuture development will focus on implementing other sources, such as the [General Bathymetric Chart of the Oceans (GEBCO)](https://www.gebco.net) and NOAA's new [Blue Topo](https://nauticalcharts.noaa.gov/data/bluetopo.html) project.\n\n## Installation\n```bash\npip install bathyreq\n```\n\n## Usage\n\nDownload bathymetric data for a given area:\n```python\nimport bathyreq\n\nreq = bathyreq.BathyReq()\ndata, lonvec, latvec = req.get_area(\n    longitude=[-117.43, -117.23], latitude=[32.55, 32.75]\n)\n```\n\nDownload bathymetric data for a given set of longitude/latitude pairs:\n```python\nimport bathyreq\n\nreq = bathyreq.BathyReq()\ndata = req.get_points(\n    longitude=[-117.43, -117.23], latitude=[32.55, 32.75]\n)\n```\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2023 William Jenkins  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "BathyReq: A Python package for querying public bathymetric data sources.",
    "version": "1.0.1",
    "project_urls": {
        "Homepage": "https://neptuneprojects.github.io/BathyReq/",
        "Repository": "https://github.com/NeptuneProjects/BathyReq"
    },
    "split_keywords": [
        "bathymetry",
        " oceanography",
        " data",
        " query",
        " download"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0c821e597f41f09eb7ee1a4787f6dfae9a1dcc47432f9e6fa45b7552f38f50cb",
                "md5": "ae117826418eeb6ff3457c0698d1cf57",
                "sha256": "285423d32a0e5097f7c80f1a597683da73b9c2c36c79fca74fbeda8a4b70756b"
            },
            "downloads": -1,
            "filename": "bathyreq-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ae117826418eeb6ff3457c0698d1cf57",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 13339,
            "upload_time": "2024-03-23T00:22:19",
            "upload_time_iso_8601": "2024-03-23T00:22:19.419108Z",
            "url": "https://files.pythonhosted.org/packages/0c/82/1e597f41f09eb7ee1a4787f6dfae9a1dcc47432f9e6fa45b7552f38f50cb/bathyreq-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8b861cb65ba211f2d51887eafe976f55c2eda2c5bdb57b2be92a4085c9e36979",
                "md5": "cb16293c96f24a1caf8f09fefa7577d3",
                "sha256": "c11923d30714c9a215e3643774224121e38c5a854e055ecb6fcf41fa796375c3"
            },
            "downloads": -1,
            "filename": "bathyreq-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "cb16293c96f24a1caf8f09fefa7577d3",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 8512,
            "upload_time": "2024-03-23T00:22:20",
            "upload_time_iso_8601": "2024-03-23T00:22:20.523202Z",
            "url": "https://files.pythonhosted.org/packages/8b/86/1cb65ba211f2d51887eafe976f55c2eda2c5bdb57b2be92a4085c9e36979/bathyreq-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-23 00:22:20",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "NeptuneProjects",
    "github_project": "BathyReq",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "affine",
            "specs": [
                [
                    "==",
                    "2.4.0"
                ]
            ]
        },
        {
            "name": "attrs",
            "specs": [
                [
                    "==",
                    "23.1.0"
                ]
            ]
        },
        {
            "name": "certifi",
            "specs": [
                [
                    "==",
                    "2023.7.22"
                ]
            ]
        },
        {
            "name": "charset-normalizer",
            "specs": [
                [
                    "==",
                    "3.2.0"
                ]
            ]
        },
        {
            "name": "click",
            "specs": [
                [
                    "==",
                    "8.1.6"
                ]
            ]
        },
        {
            "name": "click-plugins",
            "specs": [
                [
                    "==",
                    "1.1.1"
                ]
            ]
        },
        {
            "name": "cligj",
            "specs": [
                [
                    "==",
                    "0.7.2"
                ]
            ]
        },
        {
            "name": "idna",
            "specs": [
                [
                    "==",
                    "3.4"
                ]
            ]
        },
        {
            "name": "numpy",
            "specs": [
                [
                    "==",
                    "1.25.2"
                ]
            ]
        },
        {
            "name": "pyparsing",
            "specs": [
                [
                    "==",
                    "3.1.1"
                ]
            ]
        },
        {
            "name": "python-dotenv",
            "specs": [
                [
                    "==",
                    "1.0.0"
                ]
            ]
        },
        {
            "name": "rasterio",
            "specs": [
                [
                    "==",
                    "1.3.8"
                ]
            ]
        },
        {
            "name": "requests",
            "specs": [
                [
                    "==",
                    "2.31.0"
                ]
            ]
        },
        {
            "name": "scipy",
            "specs": [
                [
                    "==",
                    "1.11.1"
                ]
            ]
        },
        {
            "name": "snuggs",
            "specs": [
                [
                    "==",
                    "1.4.7"
                ]
            ]
        },
        {
            "name": "urllib3",
            "specs": [
                [
                    "==",
                    "2.0.4"
                ]
            ]
        }
    ],
    "lcname": "bathyreq"
}
        
Elapsed time: 0.31349s