Git Product home page Git Product logo

plotter's Introduction

Plotter

Plots raster data with time (dimensions of time, x, y) using Cartopy/Matplotlib, and saves annimation

Install

Instead of official python, it is highly recommended to use Anaconda Python + conda-forge, as GIS related packages is a lot harder to install with regular python.

If you are completely new to Anaconda/Python, I recommend install "Miniconda". That should provide you either (1) dedicated way to start command line terminal with conda enabled, or (2) your default setting is changed to use with conda or (3) you have to always type conda activate before using conda based tools. In either way, command line prompt will be change to have (base) PS C:\Users\Yosuke> or (base) ~ $ something like that, having "(base)" included in the prompt. You are ready to install.

Grab code from git repo

git clone https://github.com/yosukefk/plotter.git

Go into main directory

cd plotter

Grab required pacages

conda install -c conda-forge --file requirements.txt

Install to your python path

pip install .

Now you should be able to import plotter to use the tool, from python environment (either python script, or python interactive session).

Usage

Working example, can take it as a starting point for your work

cd demo

python work_pretty_solo.py

python work_pretty_trio.py

Unittest, when things broke run this test if part of tool is broken. (i think it has been broken)

cd unittest

python tests.py

plotter's People

Contributors

yosukefk avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar Kostas Georgiou avatar

plotter's Issues

get "extent" straight

For contourf() and imshow(), extent means extend of data. But in plotter, seems like I meant it to be outer edge of plot region. it is bad idea for same word to mean two different thing. This need to be straighted, plotter should follow the meaning of matplotlib.

unittest all broken

Most of them testing if the code regenerates the same image, which is not really an unit test, but more of, like, overall test. Need to rewrite test to be more robust, single task test...

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.