source: trunk/UTIL/PYTHON/planetoplot_v2/README.TXT @ 929

Last change on this file since 929 was 923, checked in by aslmd, 12 years ago

UTIL PYTHON planetoplot_v2

PPCLASS AND PPPLOT

  • added global plot settings in pp() objects
  • self is returned for each method to allow e.g. one-line get + attribution
  • added labeling of 1D plots
  • fine-tuning of plot appearance (e.g. vector key)
  • corrected a problem with plotin (same object can be referred to all along)
  • fixed meanarea for 1D requests

PP.PY

  • no more -f for pp.py (files are simply given as arguments!)
  • added missing options to pp.py
  • nice informative header

PP_RELOAD.PY

  • pp_reload.py can now change colorbars and 1D markers

EXAMPLES

  • general update of examples + few additions
  • added a nice example tide with mixed 2D+1D plots
File size: 2.9 KB
Line 
1----------------------------
2PLANETOPLOT v2
3----------------------------
4A. Spiga LMD/UPMC 24/03/2013
5----------------------------
6
7Contents
8--------
9--------
10core
11----
12- ppclass.py --> main class with pp() objects (need ppplot and ppcompute)
13- ppplot.py --> plot class (can be used independently, need ppcompute)
14- ppcompute.py --> computation class (can be used independently)
15scripts
16-------
17- pp.py --> command line utility to use ppclass [HELP with 'pp.py -h']
18- pp_reload.py --> command line utility to load saved plot objects *.ppobj
19- example/* --> example scripts using ppclass
20settings files
21--------------
22- set_area.txt --> setting file: predefined areas for plotting (can be omitted)
23- set_back.txt --> setting file: predefined backgrounds for plotting (can be omitted)
24- set_multiplot.txt --> setting file: predefined coefficients for multiplots (can be omitted)
25- set_ppclass.txt --> setting file: predefined variables for x,y,z,t (can be omitted)
26- set_var.txt --> setting file: predefined colorbars, format, labels, etc... for variables (can be omitted)
27documentation
28-------------
29- README.TXT --> this README file
30data
31----
32plot objects for a demonstration tour and customizing tests
33https://dl.dropbox.com/u/11078310/demo_data.tar.gz
34
35Requirements
36------------
37------------
38python + numpy + matplotlib + netCDF4
39- for mapping --> Basemap
40- for scientific computations --> scipy
41[recommended: Enthought Python Distribution (free for academics)]
42
43Installation
44------------
45------------
46- install required softwares and librairies in requirements
47- add planetoplot_v2 in your PYTHONPATH environment variable (and in your PATH to use pp.py)
48
49Take a demo tour
50----------------
51----------------
52pp_reload.py demo_data/*
53
54Improvements compared to v1
55---------------------------
56---------------------------
57* code readability and structuration for future improvements
58* modularity (class formulation)
59  + easy definition/addition of attributes
60* separation between data retrieval and plotting
61* versatility
62  + command line (pp.py)
63    --> for quick inspection
64  + interactive session (ipython)
65    --> for testing and exploring
66  + scripts
67    --> for powerful and fully customized results
68* performance (overall and on large files)
69  + memory consumption (only retrieve what is needed)
70* saving/loading plot objects in/from *.ppobj
71* plot aesthetics and customizing (see header in ppplot)
72* multiplot flexibility with .plotin attribute
73* easy definition of presets with set_*.txt files
74* function: one field vs. another one
75* emulation of + - / * ** operations on fields
76  (between two fields or between a field and a int/float)
77* computations of min/max in addition to mean
78* simple inspection of dimensions+variables in a file (pp.py -f file)
79* verbose / non verbose mode
80
81Acknowledgements
82----------------
83----------------
84Thanks to A. Colaitis, T. Navarro, J. Leconte
85for feedbacks and contributions on version 1
Note: See TracBrowser for help on using the repository browser.