Code Monkey home page Code Monkey logo

searvey's Introduction

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)

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

searvey's People

Contributors

brey avatar carolakaiser avatar pmav99 avatar pre-commit-ci[bot] avatar sorooshmani-noaa avatar zacharyburnett avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.