Sea state observational data retrieval
Project description
searvey
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)
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 usedpipx
for installingpoetry
, then you can inject it in the proper env withpipx 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:
- create and activate a virtual environment,
- install the full set of dependencies
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file searvey-0.3.11-py3-none-any.whl
.
File metadata
- Download URL: searvey-0.3.11-py3-none-any.whl
- Upload date:
- Size: 44.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccb2199fe70c8ba8d92d84db7fe452163c156f8967c5d3c7ab646549975ff48b |
|
MD5 | e4035b002ad7e4e45b90a3be3eec2473 |
|
BLAKE2b-256 | 418490bdaa3e72b2b104cae7ff164ff06c203c9c582edc058935b290451e98e1 |