Skip to content

Commit

Permalink
Add more doc pages (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmaussion committed Nov 17, 2018
1 parent 23dfe53 commit e20dc2c
Show file tree
Hide file tree
Showing 15 changed files with 255 additions and 2,059 deletions.
1,764 changes: 0 additions & 1,764 deletions data/glaciers-explorer.csv

This file was deleted.

Binary file added docs/_static/explorer.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 52 additions & 0 deletions docs/explorer.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
.. _explorer:

World Glaciers Explorer
=======================

.. figure:: _static/explorer.png
:width: 100%

The world glacier explorer is an interactive application allowing to explore
the location of the glaciers and their climate.


You can open it by clicking on this link: |badgelink|_

.. |badgelink| image:: https://img.shields.io/badge/launch-binder%20app-579ACA.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFkAAABZCAMAAABi1XidAAAB8lBMVEX///9XmsrmZYH1olJXmsr1olJXmsrmZYH1olJXmsr1olJXmsrmZYH1olL1olJXmsr1olJXmsrmZYH1olL1olJXmsrmZYH1olJXmsr1olL1olJXmsrmZYH1olL1olJXmsrmZYH1olL1olL0nFf1olJXmsrmZYH1olJXmsq8dZb1olJXmsrmZYH1olJXmspXmspXmsr1olL1olJXmsrmZYH1olJXmsr1olL1olJXmsrmZYH1olL1olLeaIVXmsrmZYH1olL1olL1olJXmsrmZYH1olLna31Xmsr1olJXmsr1olJXmsrmZYH1olLqoVr1olJXmsr1olJXmsrmZYH1olL1olKkfaPobXvviGabgadXmsqThKuofKHmZ4Dobnr1olJXmsr1olJXmspXmsr1olJXmsrfZ4TuhWn1olL1olJXmsqBi7X1olJXmspZmslbmMhbmsdemsVfl8ZgmsNim8Jpk8F0m7R4m7F5nLB6jbh7jbiDirOEibOGnKaMhq+PnaCVg6qWg6qegKaff6WhnpKofKGtnomxeZy3noG6dZi+n3vCcpPDcpPGn3bLb4/Mb47UbIrVa4rY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PyCAs7RFRhn47JnlcB9RM5T97ASuZXIcVNuUDIndpDbdsfrqsOppeXl5Y+XVKdjFCTh+zGaVuj0d9zy05PPK3QzBamxdwtTCrzyg/2Rvf2EstUjordGwa/kx9mSJLr8mLLtCW8HHGJc2R5hS219IiF6PnTusOqcMl57gm0Z8kanKMAQg0qSyuZfn7zItsbGyO9QlnxY0eCuD1XL2ys/MsrQhltE7Ug0uFOzufJFE2PxBo/YAx8XPPdDwWN0MrDRYIZF0mSMKCNHgaIVFoBbNoLJ7tEQDKxGF0kcLQimojCZopv0OkNOyWCCg9XMVAi7ARJzQdM2QUh0gmBozjc3Skg6dSBRqDGYSUOu66Zg+I2fNZs/M3/f/Grl/XnyF1Gw3VKCez0PN5IUfFLqvgUN4C0qNqYs5YhPL+aVZYDE4IpUk57oSFnJm4FyCqqOE0jhY2SMyLFoo56zyo6becOS5UVDdj7Vih0zp+tcMhwRpBeLyqtIjlJKAIZSbI8SGSF3k0pA3mR5tHuwPFoa7N7reoq2bqCsAk1HqCu5uvI1n6JuRXI+S1Mco54YmYTwcn6Aeic+kssXi8XpXC4V3t7/ADuTNKaQJdScAAAAAElFTkSuQmCC
.. _badgelink: https://mybinder.org/v2/gh/panel-demos/glaciers/master?urlpath=/proxy/5006/app

The app contains five elements:

- the **header text** indicates how many glaciers are currently selected
(active), and how much of the total area they represent.
- the **top left panel** is a map of the glacier locations and their area. Moving
the mouse over a glacier pixel gives you its glaciated area
- the **top right panel** displays the elevation of the glaciers with respect to
their latitude
- the **bottom left panel** shows the histogram of the glaciers' mean temperature
(at the glacier's mean elevation).
- the **bottom right panel** shows the histogram of the glaciers' mean annual
precipitation (liquid and solid).

When selecting data in each of these panels, the other panels are actualized
automatically, allowing to ask questions such as:

- where are the wettest glaciers located? And the driests?
- is there a relationship between temperature and precipitation?
- how much glacier area is found on Greenland? In the European Alps?
- what is the relationship between latitude and glacier elevation?
- ...


Data sources
------------

Possible improvements
---------------------

- By using other data sources (e.g. ERA-Interim), it would be possible to plot
the Antarctic glaciers as well.
- With a selection by category, it would be possible to differenciate glaciers
from ice-caps or marine terminating glaciers from land-terminating ones.
- By using the data from the global ITMIX experiment, it is possible to convert a
selection into sea-level rise equivalent.
26 changes: 18 additions & 8 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,28 @@ Welcome to OGGM-Edu!

This platform will become an educational website about glaciers.

It is currently in construction, please come back soon!
It is currently in construction, but you can still try a couple of cool things:

Contents:
Interactive apps
^^^^^^^^^^^^^^^^

* :doc:`explorer`

.. toctree::
:maxdepth: 2
:maxdepth: 1
:hidden:
:caption: Interactive apps

explorer.rst

Interactive Notebooks
^^^^^^^^^^^^^^^^^^^^^

* :doc:`notebooks_howto`

Indices and tables
==================
.. toctree::
:maxdepth: 1
:hidden:
:caption: Interactive Notebooks

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
notebooks_howto.rst
4 changes: 4 additions & 0 deletions docs/notebooks_howto.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.. _notebooks_howto:

Notebooks: introduction
=======================
1 change: 0 additions & 1 deletion download_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@

from oggm.utils import download_oggm_files
download_oggm_files()

6 changes: 0 additions & 6 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
name: oggm-env
channels:
- pyviz/label/dev
- oggm
- conda-forge
dependencies:
- oggm-deps
- numpy>=1.15.1
- appmode
- param=1.8.1
- panel=0.1.2
- holoviews=1.11.0a8
- geoviews=1.5.4a13
- pip:
- git+https://github.com/OGGM/oggm.git
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
277 changes: 0 additions & 277 deletions glaciers-explorer-panel.ipynb

This file was deleted.

1 change: 1 addition & 0 deletions oggm_edu/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = '0.0.1'

0 comments on commit e20dc2c

Please sign in to comment.