Xargofloat
No description available
Install / Use
/learn @jbusecke/XargofloatREADME
:warning: This package is deprecated in favor of argopy. Please see their documentation on interpolating argo floats
xargofloat
Tools to work with argo float data in xarray
Install on jupyter.rc
- Open a fresh notebook and paste and execute the following into a new cell:
! pip install git+https://github.com/jbusecke/xargofloat.git
! pip install git+https://github.com/astropy/astropy.git
! pip install git+https://github.com/jbusecke/xarrayutils.git
This has to be done at the beginning of each session (not every time you restart your notebook)
- In another notebook (make sure to restart if it was running) you can now import the functions as usual
Using the functions
Check out the demo_notebook for examples.
<p><small>Project based on the <a target="_blank" href="https://github.com/jbusecke/cookiecutter-science-project">cookiecutter science project template</a>.</small></p>Contributing to 'xargofloats' (assumes installed versions of git and conda)
- Fork the repository on github.
- Clone your fork to your local machine with
git clone ... - Navigate to your local
xargofloatfolder and install the test environment withconda env create -f envrionment.yml - Activate the environment with
conda activate xargofloat - Run the local tests with
py.test -v - Create a new git branch with `git checkout -b <branchname>
- Add tests/modify code
- Run tests to confirm that all tests pass locally
- Push the branch back to your fork with
git push -u origin <branchname> - Start a pull request on github.
