-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into ace-airsea-update
- Loading branch information
Showing
10 changed files
with
64 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,13 +11,16 @@ Usage | |
.. code-block:: python | ||
import pyantarctica | ||
import pyantarctica.dataset as data | ||
import pyantarctica.modeling as mod | ||
import pyantarctica.visualizing as viz | ||
from pyantarctica import aiceairsea | ||
from pyantarctica import datafilter | ||
from pyantarctica import dataset | ||
from pyantarctica import visualizing | ||
from pyantarctica import windvectorcoordinates | ||
Every notebook in the ACE-DATA data science project repository provides relatively simple (hopefully) and straightforward examples and scripts to run steps in the ASAID project analysis pipeline. | ||
|
||
See e.g. data preparation scrips ``PROJ_XX_DataPreparation.ipynb`` where XX is the subproject number. | ||
See scripts released with publications | ||
|
||
Setup | ||
***** | ||
|
@@ -28,53 +31,42 @@ If you are using conda, first set up a conda environment: | |
|
||
.. code-block:: console | ||
$ conda create --name ace-data python=3 | ||
$ conda create --name ace-data python=3.6 | ||
$ conda activate ace-data | ||
To install the pyanctarctica package, run (base 0.1.0 is on PyPI) | ||
Install the pyanctarctica package | ||
********************************* | ||
|
||
|
||
From source: | ||
|
||
.. code-block:: console | ||
$ cd YOUR_PROJECT_FOLDER | ||
$ mkdir src && cd src | ||
$ git clone ./src | ||
$ pip install src | ||
From the gitlab repo `gitlab.datascience.ch/ACE-ASAID/pyanctarctica.git <https://gitlab.datascience.ch/ACE-ASAID/pyantarctica>`_: | ||
|
||
.. code-block:: console | ||
$ pip install -e [email protected]:ACE-ASAID/pyantarctica.git | ||
$ git clone [email protected]:Swiss-Polar-Institute/pyantarctica.git | ||
$ pip install ./pyantarctica | ||
From the PyPI repos: | ||
From the Swiss Polar Institute Github Repository https://github.com/Swiss-Polar-Institute/pyantarctica : | ||
|
||
.. code-block:: console | ||
$ pip install pyantarctica | ||
$ pip install -e [email protected]:Swiss-Polar-Institute/pyantarctica.git | ||
Documentation | ||
************* | ||
|
||
Read the documentation `here <./docs/build/index.html>`_! | ||
|
||
Release process | ||
*************** | ||
|
||
1. Update version in `setup.py`, commit and tag. | ||
2. Run `rm -rf dist && python setup.py sdist bdist_wheel && twine upload dist/*` | ||
3. Change the bump of the version to development (`X.Y.Z+1.devYYYYMMDD`) | ||
Can be built with `sphinx` | ||
|
||
Compatibility | ||
************** | ||
|
||
Python 3 preferred, but not required. | ||
Python 3.3 preferred, but not required. Only tested with python >= 3 | ||
|
||
License | ||
******* | ||
|
||
Copyright 2017-2018 - Swiss Data Science Center (SDSC) | ||
Copyright 2017-2018 - Swiss Data Science Center (SDSC) and ACE-DATA/ASAID Project consortium. | ||
|
||
A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and Eidgenössische Technische Hochschule Zürich (ETHZ). | ||
|
||
|
@@ -94,17 +86,4 @@ Authors | |
Requirements | ||
************ | ||
|
||
(Does not include sub-package dependencies) | ||
|
||
.. code-block:: console | ||
pyantarctica | ||
~~Cartopy==0.16.0~~ | ||
~~GPy==1.9.2~~ | ||
matplotlib==2.2.2 | ||
numpy==1.14.5 | ||
pandas==0.23.0 | ||
papermill==0.12.6 | ||
pickleshare==0.7.4 | ||
scikit-learn==0.19.1 | ||
scipy==1.1.0 | ||
see `setup.py` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# -*- coding: utf-8 -*- | ||
# | ||
# Copyright 2017-2018 - Swiss Data Science Center (SDSC) | ||
# Copyright 2017-2018 - Swiss Data Science Center (SDSC) and ACE-DATA/ASAID Project consortium. | ||
# A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and | ||
# Eidgenössische Technische Hochschule Zürich (ETHZ). | ||
# Eidgenössische Technische Hochschule Zürich (ETHZ). Written within the scope | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
|
@@ -23,27 +23,28 @@ | |
# 'Cartopy==0.16.0', | ||
|
||
install_requires = [] | ||
# 'matplotlib, | ||
# 'numpy', | ||
# 'pandas==0.23.0', | ||
# 'pickleshare', | ||
# 'scikit-learn', | ||
# 'holoviews', | ||
# 'geoviews', | ||
# 'bokeh' | ||
# ] | ||
'matplotlib, | ||
'numpy', | ||
'pandas==0.23.0', | ||
'holoviews', | ||
'cartopy', | ||
'geoviews', | ||
'bokeh', | ||
'airsea', | ||
'pathlib' | ||
] | ||
|
||
tests_require = [] | ||
|
||
extras_require = {} | ||
|
||
setup( | ||
name="pyantarctica", | ||
version="0.1.3.1", | ||
version="0.1.0", | ||
license="Apache License 2.0", | ||
url="", | ||
|
||
author="Michele Volpi, Swiss Data Science Center (SDSC)", | ||
author="Michele Volpi, Swiss Data Science Center (SDSC, ETHZ and EPFL); Sebastian Landwehr (Extreme Environments Research Laboratory, EPFL)", | ||
author_email="[email protected]", | ||
|
||
description="Umbrella package for ACE-DATA ASAID (sub-)project(s).", | ||
|