Last change
on this file since 921 was
910,
checked in by aslmd, 12 years ago
|
PLANETOPLOT v2
- 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:
910 bytes
|
Line | |
---|
1 | ################################### |
---|
2 | ## set_area.txt |
---|
3 | ## name, wlat1, wlat2, wlon1, wlon2 |
---|
4 | ################################### |
---|
5 | Whole_No_High ; -60 ; 60 ; -180 ; 180 |
---|
6 | Tropics ; -30 ; 30 ; -180 ; 180 |
---|
7 | Europe ; 20 ; 80 ; -50 ; 50 |
---|
8 | Central_America ; -10 ; 40 ; 230 ; 300 |
---|
9 | Africa ; -20 ; 50 ; -50 ; 50 |
---|
10 | Southern_Hemisphere ; -90 ; 60 ; -180 ; 180 |
---|
11 | Northern_Hemisphere ; -60 ; 90 ; -180 ; 180 |
---|
12 | Tharsis_alt ; -30 ; 60 ; 190 ; 350 |
---|
13 | Tharsis ; -30 ; 60 ; -170 ; -10 |
---|
14 | Chryse ; -60 ; 60 ; -60 ; 60 |
---|
15 | North_Pole ; 50 ; 90 ; -180 ; 180 |
---|
16 | Close_North_Pole ; 75 ; 90 ; -180 ; 180 |
---|
17 | Far_South_Pole ; -90 ; -40 ; -180 ; 180 |
---|
18 | South_Pole ; -90 ; -50 ; -180 ; 180 |
---|
19 | Close_South_Pole ; -90 ; -75 ; -180 ; 180 |
---|
20 | Sirenum_Crater_large ; -46 ; -34 ; -166 ; -151 |
---|
21 | Sirenum_Crater_small ; -36 ; -26 ; -168 ; -156 |
---|
22 | Rupes ; 72 ; 90 ; -120 ; -20 |
---|
23 | Rupes2 ; 80 ; 85 ; -90 ; -60 |
---|
24 | Xanadu ; -40 ; 20 ; 40 ; 120 |
---|
25 | Hyperboreae ; 80 ; 87 ; -70 ; -10 |
---|
26 | VM_alt ; -15 ; 0 ; 270 ; 300 |
---|
Note: See
TracBrowser
for help on using the repository browser.