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

Last change on this file since 914 was 910, checked in by aslmd, 12 years ago

PLANETOPLOT v2


  1. Spiga LMD/UPMC 24/03/2013

Contents


core


  • ppclass.py --> main class with pp() objects (need ppplot and ppcompute)
  • ppplot.py --> plot class (can be used independently, need ppcompute)
  • ppcompute.py --> computation class (can be used independently)

scripts


  • pp.py --> command line utility to use ppclass
  • pp_reload.py --> command line utility to load saved plot objects *.ppobj
  • example/* --> example scripts using ppclass

settings files


  • set_area.txt --> setting file: predefined areas for plotting (can be omitted)
  • set_back.txt --> setting file: predefined backgrounds for plotting (can be omitted)
  • set_multiplot.txt --> setting file: predefined coefficients for multiplots (can be omitted)
  • set_ppclass.txt --> setting file: predefined variables for x,y,z,t (can be omitted)
  • set_var.txt --> setting file: predefined colorbars, format, labels, etc... for variables (can be omitted)

documentation


  • README.TXT --> this README file

data


  • demo_data/* --> plot objects for a demonstration tour and customizing tests

Requirements


python + numpy + matplotlib + netCDF4

  • for mapping --> Basemap
  • for scientific computations --> scipy

[recommended: Enthought Python Distribution (free for academics)]

Installation


  • install required softwares and librairies in requirements
  • add planetoplot_v2 in your PYTHONPATH environment variable (and in your PATH to use pp.py)

Take a demo tour


pp_reload.py demo_data/*

Improvements compared to v1


  • code readability and structuration for future improvements
  • modularity (class formulation) + easy definition/addition of attributes
  • separation between data retrieval and plotting
  • versatility + command line (pp.py)

--> for quick inspection

+ interactive session (ipython)

--> for testing and exploring

+ scripts

--> for powerful and fully customized results

  • performance (overall and on large files) + memory consumption (only retrieve what is needed)
  • saving/loading plot objects in/from *.ppobj
  • plot aesthetics and customizing (see header in ppplot)
  • multiplot flexibility with .plotin attribute
  • easy definition of presets with set_*.txt files
  • function: one field vs. another one
  • emulation of + - / * operations on fields (between two fields or between a field and a int/float)
  • computations of min/max in addition to mean
  • simple inspection of dimensions+variables in a file (pp.py -f file)
  • verbose / non verbose mode

Acknowledgements


Thanks to A. Colaitis, T. Navarro, J. Leconte
for feedbacks and contributions on version 1

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