wiki:Doc/Chap2

Version 1 (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/',  $
    ' ']
    

Attachments (4)

Download all attachments as: .zip