Giter Club home page Giter Club logo

mpim-icelab's Introduction

MPIM Ice-Lab Routines

build License MIT license

A collection of routines for various tasks related to the sea-ice laboratory of the Max-Planck-Institute for Meteorology in Hamburg

Installation

Simple

The simplest way to install the package is via pip:

pip install git+https://github.com/markusritschel/mpim-icelab.git

For any future updates simply rerun the command again.

For the more advanced

However, one can also install from the sources (with the option to update via a simple git pull):
Therefore, clone this repo via

git clone https://github.com/markusritschel/mpim-icelab

Then, in the new directory (cd mpim-icelab/) install the package via:

python setup.py install

If you intend to perform changes on the source code, then an installation by using one of the following commands is suggested:

python setup.py develop
pip install -e .

This reflects any changes in the source code directly in the installed instance without the need of updating the installation.

Usage

For some examples of usage, have a look at the Jupyter notebooks in the notebooks directory. They explain some of the package's functionalities.

Testing

To test the code, run make test in the source directory. This will execute both the unit tests and docstring examples (using pytest).

Run make coverage to generate a test coverage report and make lint to check code style consistency.

TODO

  • Add examples in Jupyter Notebook for TSTICKS

Maintainer

Contact & Issues

For any questions or issues, please contact me via [email protected] or open an issue.


© Markus Ritschel 2020

mpim-icelab's People

Contributors

markusritschel avatar

Watchers

James Cloos avatar  avatar

mpim-icelab's Issues

Salinity harps: choice of Z_0 for freezing onset

Compare old approaches for choosing the Z_0 value for determining the freezing onset.
One approach is to use the first resistance value > 1.03 R(T_freeze). R(T_freeze) is the Resistance at freezing temperature for the respective salinity value.

T-Sticks: Set maximum timespan for common data

When merging measurements of multiple T-Sticks under one common timestamp, currently, a block is said to be complete when an entry in the last column is detected.
However, if, for any reason, the entry for the last column is not written (e.g. the Arduino undergoes a reset) or if one of the sticks fails temporarily, then we would get a block with a common timestamp despite some measurements actually belong to a different block.
This could be solved by setting a threshold for the timespan that is allowed for a block of common data.

Add Sphinx documentation

We should make a Sphinx-generated documentation for the routines and publish it on Github pages.

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.