GithubHelp home page GithubHelp logo

python-maproom-tuto's Introduction

python-maproom-tuto

Python Maprooms that are also a Tutorial to learn how to make them.

We are building Maproom Applications with Dash and with Dash-Leaflet for the mapping components.

We are performing data analysis with Xarray, NumPy and pandas

The Tutorial reviews the following Lessons. To get started, after having installed conda, create the tutorial environment by running:

conda create -n mr-tuto --file conda-osx-64.lock

(substituting osx or win for linux as appropriate)

and then activate it. Discover Lesson 1 by running the application with:

CONFIG=config-sample.yaml python maproom.py

  • Lesson 1 : Titles and text

  • Lesson 2 : Topo background map

  • Lesson 3 : Add Street background map

  • Lesson 4 : Set a Variable Dropdown menu

  • Lesson 5 : Add a data layer to the map

  • Lesson 6 : Automatically center map on data

  • Lesson 7 : Prevent dragging far from data

  • Lesson 8: Add the colorscale

  • Lesson 9: Tick colorscale every 10

  • Lesson 10 : Configure data source

  • Lesson 11 : Use other data

  • Lesson 12: Add another variable: temperature

  • Lesson 13 : Adjust temperature colorscale

  • Lesson 14 : Map Climatology for a given month

  • Lesson 15 : Callback for Map Title

  • Lesson 16 : Location Selection

  • Lesson 17 : Plot Local Climatology

python-maproom-tuto's People

Contributors

remicousin avatar aaron-kaplan avatar

Watchers

Jeff Turmelle avatar  avatar

Forkers

lmzyece

python-maproom-tuto's Issues

Lesson 5 need be broken up in many sub-lessons

e.g.:

  • Read data
  • rename dimensions
  • select one point in time
  • add callback in maproom (can we make the tile without a callback?)
  • add data in callback
  • add prefix in config and maproom
  • add overlay in layout

I lost almost all participants on Lesson 5 :(

Have Lesson 15 before Lesson 5

In order to introduce callbacks in a simple manner. Here is Lesson 5 it was a killer. Unless the tiled data map can be added without callback.

Caluclations need be explicit lessons as well

Can't just say: compute climatology because likely won't know Xarray, and not even Python. Also need to give instructions on how to creating a dummy .py file to run code and print stuff to check on calculations. Would be nice to point them to the documentation of functions you'd want them to use to realize a given calculation, even if in the Zambia case, it would not have helped since they had no internet access, thus no access to documentation. But maybe we can assume this is a very specific case...

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.