Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Independent of eggshell #317

Merged
merged 12 commits into from
Mar 16, 2020
Merged

Independent of eggshell #317

merged 12 commits into from
Mar 16, 2020

Conversation

nilshempelmann
Copy link
Member

Overview

This PR fixes [316] and [302]

Changes:

functions from eggshell moved back to flyingpigeon.
add a tutorial based on:
https://github.com/bird-house/notebooks/blob/master/flyingpigeon_birdy_subset.ipynb

@nilshempelmann nilshempelmann added this to the 1.6 milestone Mar 16, 2020
@nilshempelmann nilshempelmann self-assigned this Mar 16, 2020
@@ -0,0 +1,167 @@
.. tutorial

Tutorials
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest converting this into a notebook (for example docs/source/notebooks/subset.ipynb).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@huard
to centralise notebooks they are a notebook repository:
https://github.com/bird-house/notebooks

Perfer to have the docs in rst format to avoid unecessary downloads.
I included the link to the original notebook to open optionally.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do you make sure that the rst file is in sync with the code ? Ie that it does not become outdated ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@huard
Will answer here: bird-house/notebooks#2

environment.yml Outdated
@@ -30,6 +30,6 @@ dependencies:
##############
# pip install
- pip:
- -e git+https://github.com/bird-house/eggshell.git#egg=eggshell
# - -e git+https://github.com/bird-house/eggshell.git#egg=eggshell
- -e git+https://github.com/NCPP/ocgis#egg=owslib
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pypi release should be fine.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of

ocgis#egg=owslib

use

ocgis#egg=ocgis

but using released package resolves this.

@@ -0,0 +1,290 @@
from flyingpigeon.nc_utils import get_values, get_coordinates, get_index_lat, get_variable
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

calculation.py is not very specific.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it included fieldmean, climate change signal calculation, would be the place for robustness, bias, trend substractions etc ...
may be values_statistic is better or nc_statistic?

environment.yml Outdated
@@ -30,6 +30,6 @@ dependencies:
##############
# pip install
- pip:
- -e git+https://github.com/bird-house/eggshell.git#egg=eggshell
# - -e git+https://github.com/bird-house/eggshell.git#egg=eggshell
- -e git+https://github.com/NCPP/ocgis#egg=owslib
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of

ocgis#egg=owslib

use

ocgis#egg=ocgis

but using released package resolves this.

@nilshempelmann nilshempelmann merged commit ff03a9e into master Mar 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants