5 | | |
6 | | == Chap.2 : File post_it.pro == |
7 | | |
8 | | === General description and a first example === |
9 | | |
10 | | 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 : [[BR]] |
11 | | {{{ |
12 | | cmdline = [ $ |
13 | | ; var on exp grid plt timeave date1 spec disp proj out |
14 | | 'sohtc300 1 2L24 T xy 100y 1860 - 1 1 v', $ |
15 | | |
16 | | 'lastline 0' ] |
17 | | }}} |
18 | | |
19 | | 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'. [[BR]] |
20 | | The result is the following picture (the quality is better in "ps" format than in "gif" format below).[[BR]] |
21 | | |
22 | | [[Image(2L24_HTC300_TROP_100y.gif, 90%)]] |
23 | | |
24 | | As a consequence, the names of the netcdf files are standardized and follow this pattern : [[BR]] |
25 | | 'Experiment'_'Frequency'_'Date1'_'Date2'_'Grid Type'.nc |
26 | | |
27 | | === More details about the variables defined in 'post_it.pro' === |
28 | | |
29 | | * 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_') |
30 | | {{{ |
31 | | spec_base_list = [ $ |
32 | | 'CMAP = local:/home2/mkdlod/database/CORREL/', $ |
33 | | ' '] |
34 | | }}} |
35 | | |
36 | | * 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'... |
37 | | {{{ |
38 | | data_base_list = [ $ |
39 | | 'ncdf_db = local:/home2/mkdlod/database/', $ |
40 | | 'MRI_db = local:/home2/mkdlod/ERIC-LSCE/database/IPCC/', $ |
41 | | ' '] |
42 | | }}} |
43 | | |