Skip to main content

Sea state observational data retrieval

Project description

searvey

pre-commit.ci tests readthedocs Binder

Searvey aims to provide the following functionality:

  • Unified catalogue of observational data including near real time (WIP).

  • Real time data analysis/clean up to facilitate comparison with numerical models (WIP).

  • On demand data retrieval from multiple sources that currently include:

    • U.S. Center for Operational Oceanographic Products and Services (CO-OPS)
    • Flanders Marine Institute (VLIZ); Intergovernmental Oceanographic Commission (IOC)
    • U.S. Geological Survey (USGS)
    • National Data Buoy Center (NDBC)
    • Canadian Hydrographic Service (CHS)

Installation

The package can be installed with pip:

pip install searvey

and conda`:

conda install -c conda-forge searvey

Development

In order to develop searvey you will need:

  • Python 3.8+
  • GNU Make
  • poetry >= 1.2 (you can install it with pipx: pipx install poetry).
  • poetry-dynamic-versioning which is a poetry plugin. Take note that this needs to be installed in the same (virtual) environment as poetry, not in the searvey one! If you used pipx for installing poetry, then you can inject it in the proper env with pipx inject poetry poetry-dynamic-versioning.
  • pre-commit. You can also install this one with pipx: pipx install pre-commit

In order to setup the dev environment you can use:

python3 -mvenv .venv
source .venv/bin/activate
make init

which will:

  1. create and activate a virtual environment,
  2. install the full set of dependencies
  3. Setup the pre-commit hooks

After that you should run the tests with:

make test

If you execute make without arguments, you should see more subcommands. E.g.

make mypy
make lint
make docs
make deps

Check them out!

Jupyter

If you wish to use jupyterlab to test searvey, then, assuming you have an existing jupyterlab installation, you should be able to add a kernel to it with:

python -m ipykernel install --user --name searvey

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

searvey-0.3.17-py3-none-any.whl (61.6 kB view details)

Uploaded Python 3

File details

Details for the file searvey-0.3.17-py3-none-any.whl.

File metadata

  • Download URL: searvey-0.3.17-py3-none-any.whl
  • Upload date:
  • Size: 61.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for searvey-0.3.17-py3-none-any.whl
Algorithm Hash digest
SHA256 6ab06f6f3f717ac2644d03bdbb21278319084b909c6f39f110370ec1fb527dff
MD5 2f093950d2313b1b8d929fcfa1e52d03
BLAKE2b-256 404f0f09c3179d9bdf7815ed280938dae729c557a6e119f673c87b52a9855036

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page