Ignore:
Timestamp:
Mar 7, 2013 11:42:45 AM (9 years ago)
Author:
maronga
Message:

updates in nc2vdf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/nc2vdf.config

    r1079 r1110  
    1818; Current revisions:
    1919; -----------------
    20 ;
     20; adapted for use on desktop machines
    2121;
    2222; Former revisions:
     
    2424; $Id$
    2525;
    26 ; 1078 2012-12-11 10:44:49Z maronga
    27 ; Minor changes
    28 ;
    29 ; 1067 2012-11-26 10:13:14Z maronga
     26; 1067 2012-11-26 10:13:14Z marong
    3027; Initial revision
    3128;
     
    3431; Configuration file for nc2vdf.
    3532;------------------------------------------------------------------------------!
     33; This configuration file uses NCL syntax.
     34;------------------------------------------------------------------------------!
     35; Define name of output file:
     36    outputfile      = "vaporoutput" +".vdf"
    3637
    3738; Insert number and names of input files
    3839    numberoffiles   = 2
    3940    files           = new( (/numberoffiles/), string)
    40     files(0)        = "../OUTPUT/example_3d.nc"
    41     files(1)        = "../OUTPUT/example_3d.1.nc"
     41    files(0)        = "palm/current_version/JOBS/building/OUTPUT/building_3d.nc"
     42    files(1)        = "palm/current_version/JOBS/building/OUTPUT/building_3d.nc"
     43    ;files(2)        =
     44 ; path from where nc2vdf is called
    4245
    43 ; Insert names of variables to be taken from files specifyed above
     46; Insert names of variables to be taken from files specified above
    4447    alt_varnames = False
    45     ;for using the alternative method (alt_varnames = True):
     48    ; for using the alternative method (alt_varnames = True)
     49    ; e.g. for varnames containing double quotes, get numbers from ncdump:
     50
    4651    ;vars = new( (/numberoffiles,1/), integer)
    4752    ;vars(0,0) = 10
    4853    ;vars(1,0) = 9
    4954
    50     nvars = 2 ;number of variables (per file)
     55    nvars = 2 ; number of variables (per file)
    5156
    52     ;normal method (alt_varnames = False):
     57    ; normal method:
    5358    varString = new( (/numberoffiles,1/), string)
    5459    varString(0,0) = "u"
    5560    varString(1,0) = "w"
    5661
    57 ; specify index of start and end time step? 'False' will include all time steps
     62; Specify index of start and end time step, 'False' will include all time steps
    5863    spec_ts = True
    5964    t_start = 0
    60     t_end   = 10
     65    t_end   = 3
    6166
    6267; Specify a maximum refinement level? 'False' will set the default value.
     
    7176    stretch_level = 999
    7277
     78;------------------------------------------------------------------------------!
     79; Configuration for workstations (none IMUK/HLRN systems)
     80    check_workstation = False
     81                       ; Set check True to run script on none IMUK/HLRN systems.
    7382
    74 ; define name of output file
    75    outputfile = "vaporoutput" +".vdf"
     83    ;WS_init          = False
     84    ;init_script      = /muksoft/packages/vapor/2.2.0/bin/vapor-setup.sh
     85                       ; Note: These lines alway stay comments for NCL
     86                       ; as they are read by the shell script only.
    7687
     88                       ; Set init True if VAPORs initialization script
     89                       ; needs to run on the workstation (most linux systems).
     90                       ; Provide path to script (without quotes; . /path/init.sh).
     91
     92    ;WS_load          = False
     93    ;WS_load_command  = module load vapor ncl
     94                       ; pass any command to the shell
     95
     96    install_path      = "/Applications/VAPOR.app/Contents/MacOS/"
     97                       ; customize VAPOR installation path
     98                       ; when running this script on a (Mac OS) workstation
     99                       ; * will be ignored on HLRN or IMUK systems *
     100
     101;------------------------------------------------------------------------------!
     102
Note: See TracChangeset for help on using the changeset viewer.