Version 2 (modified by kolasinski, 16 years ago) (diff) |
---|
Chap.2 : File post_it.pro
General description and a first example
post_it.pro is the file in which you will work. It defines the in line commands which will be read by post_it so as to get the plot you want. For instance :
cmdline = [ $ ; var on exp grid plt timeave date1 spec disp proj out 'sohtc300 1 2L24 T xy 100y 1860 - 1 1 v', $ 'lastline 0' ]
This means that you want the sohtc300 variable to be visualised from a netcdf file called '2L24_100y_1860_*_grid_T.nc' on a 2D plot 'xy'.
The result is the following picture (the quality is better in "ps" format than in "gif" format below).
As a consequence, the names of the netcdf files are standardized and follow this pattern :
'Experiment'_'Frequency'_'Date1'_'Date2'_'Grid Type'.nc
More details about the variables defined in 'post_it.pro'
- Variable 'spec_base_list' defines where to find a specific database of files. It should begins with the name of the experiment (here all files beginning with 'CMAP_')
spec_base_list = [ $ 'CMAP = local:/home2/mkdlod/database/CORREL/', $ ' ']
- Variable 'data_base_list' defines also where to find by default all the databases ('ncdf_db'). Il also allows to define generic databases. For instance, 'MRI_db' defines all files beginning with 'MRI' : it can be 'MRI_', 'MRIoCTL', 'MRIo2X'...
data_base_list = [ $ 'ncdf_db = local:/home2/mkdlod/database/', $ 'MRI_db = local:/home2/mkdlod/ERIC-LSCE/database/IPCC/', $ ' ']
- Variable 'out_ps' defines where to find the postscripts files generated and puts them in the 'iodir' directory.
out_ps = homedir+'/Post_out/'
- Variables 'prt_BW', 'prt_col', 'prt_tra' define the unix print command you want to use for printing postscripts files. This does not work at the moment in my case !!!!!!
prt_BW = 'lpl' prt_col = 'x4' prt_tra = 'lprdgt'
- Variable 'lp_opt'
lp_opt = ''
- Variable 'ghost'
ghost = 'lpg'
- Variable 'out_all' : if you want to override all the local 'out' options (each in line command has a specific 'out' option). For instance, you visualised 10 plots already and you want to print them all. Instead of setting all the individual in line 'out' options, you set 'out_all' to 'ps' once and for all. By default, it shoud be set to '-' to avoid to override local 'out' options.
out_all = '-'
Attachments (4)
- 2L24_HTC300_TROP_100y.gif (88.3 KB) - added by kolasinski 16 years ago.
- 2L24_PRECIP_OLR_XT_PACEQ_1mm_100y.gif (84.5 KB) - added by kolasinski 16 years ago.
- NCEP_PRECIP_TROP_58y.gif (51.3 KB) - added by kolasinski 16 years ago.
- 2L24_SST-SPECTRUM_T_NINO_3_1m@t412_100y.gif (21.2 KB) - added by kolasinski 16 years ago.
Download all attachments as: .zip