Last change
on this file since 910 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:
1.6 KB
|
Rev | Line | |
---|
[910] | 1 | ####################### |
---|
| 2 | ## set_back.txt |
---|
| 3 | ## name, link, colorvec |
---|
| 4 | ####################### |
---|
| 5 | thermalday ; http://www.lmd.jussieu.fr/~aslmd/maps/thermalday.jpg |
---|
| 6 | thermalnight ; http://www.lmd.jussieu.fr/~aslmd/maps/thermalnight.jpg |
---|
| 7 | tesalbedo ; http://www.lmd.jussieu.fr/~aslmd/maps/tesalbedo.jpg |
---|
| 8 | vis ; http://www.lmd.jussieu.fr/~aslmd/maps/mar0kuu2.jpg |
---|
| 9 | vishires ; http://www.lmd.jussieu.fr/~aslmd/maps/MarsMap_2500x1250.jpg |
---|
| 10 | geolocal ; http://www.lmd.jussieu.fr/~aslmd/maps/geolocal.jpg |
---|
| 11 | mola ; http://www.lmd.jussieu.fr/~aslmd/maps/mars-mola-2k.jpg |
---|
| 12 | molabw ; http://www.lmd.jussieu.fr/~aslmd/maps/MarsElevation_2500x1250.jpg |
---|
| 13 | bw ; http://www.lmd.jussieu.fr/~aslmd/maps/EarthElevation_2500x1250.jpg |
---|
| 14 | contrast ; http://www.lmd.jussieu.fr/~aslmd/maps/EarthMapAtmos_2500x1250.jpg |
---|
| 15 | nice ; http://www.lmd.jussieu.fr/~aslmd/maps/earthmap1k.jpg |
---|
| 16 | clouds ; http://www.johnstonsarchive.net/spaceart/marswcloudmap.jpg |
---|
| 17 | jupiter ; http://www.mmedia.is/~bjj/data/jupiter_css/jupiter_css.jpg |
---|
| 18 | jupiter_voy ; http://www.mmedia.is/~bjj/data/jupiter/jupiter_vgr2.jpg |
---|
| 19 | blue ; http://eoimages.gsfc.nasa.gov/ve/2430/land_ocean_ice_2048.jpg |
---|
| 20 | blueclouds ; http://eoimages.gsfc.nasa.gov/ve/2431/land_ocean_ice_cloud_2048.jpg |
---|
| 21 | justclouds ; http://eoimages.gsfc.nasa.gov/ve/2432/cloud_combined_2048.jpg |
---|
| 22 | pluto ; http://www.boulder.swri.edu/~buie/pluto/pluto_all.png |
---|
| 23 | triton ; http://laps.noaa.gov/albers/sos/neptune/triton/triton_rgb_cyl_www.jpg |
---|
| 24 | titan ; http://laps.noaa.gov/albers/sos/saturn/titan/titan_rgb_cyl_www.jpg |
---|
| 25 | titanuni ; http://maps.jpl.nasa.gov/pix/sat6fss1.jpg |
---|
| 26 | venus ; http://laps.noaa.gov/albers/sos/venus/venus4/venus4_rgb_cyl_www.jpg |
---|
| 27 | cosmic ; http://laps.noaa.gov/albers/sos/universe/wmap/wmap_rgb_cyl_www.jpg |
---|
Note: See
TracBrowser
for help on using the repository browser.