[1067] | 1 | ;--------------------------------------------------------------------------------! |
---|
| 2 | ; This file is part of PALM. |
---|
| 3 | ; |
---|
| 4 | ; PALM is free software: you can redistribute it and/or modify it under the terms |
---|
| 5 | ; of the GNU General Public License as published by the Free Software Foundation, |
---|
| 6 | ; either version 3 of the License, or (at your option) any later version. |
---|
| 7 | ; |
---|
| 8 | ; PALM is distributed in the hope that it will be useful, but WITHOUT ANY |
---|
| 9 | ; WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR |
---|
| 10 | ; A PARTICULAR PURPOSE. See the GNU General Public License for more details. |
---|
| 11 | ; |
---|
| 12 | ; You should have received a copy of the GNU General Public License along with |
---|
| 13 | ; PALM. If not, see <http://www.gnu.org/licenses/>. |
---|
| 14 | ; |
---|
| 15 | ; Copyright 1997-2012 Leibniz University Hannover |
---|
| 16 | ;------------------------------------------------------------------------------! |
---|
| 17 | ; |
---|
| 18 | ; Current revisions: |
---|
| 19 | ; ----------------- |
---|
[1110] | 20 | ; adapted for use on desktop machines |
---|
[1067] | 21 | ; |
---|
| 22 | ; Former revisions: |
---|
| 23 | ; ----------------- |
---|
| 24 | ; $Id: nc2vdf.config 1110 2013-03-07 11:42:45Z heinze $ |
---|
| 25 | ; |
---|
[1110] | 26 | ; 1067 2012-11-26 10:13:14Z marong |
---|
[1068] | 27 | ; Initial revision |
---|
[1067] | 28 | ; |
---|
| 29 | ; Description: |
---|
| 30 | ; ------------ |
---|
| 31 | ; Configuration file for nc2vdf. |
---|
| 32 | ;------------------------------------------------------------------------------! |
---|
[1110] | 33 | ; This configuration file uses NCL syntax. |
---|
| 34 | ;------------------------------------------------------------------------------! |
---|
| 35 | ; Define name of output file: |
---|
| 36 | outputfile = "vaporoutput" +".vdf" |
---|
[1067] | 37 | |
---|
| 38 | ; Insert number and names of input files |
---|
| 39 | numberoffiles = 2 |
---|
| 40 | files = new( (/numberoffiles/), string) |
---|
[1110] | 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) =
; path from where nc2vdf is called |
---|
[1067] | 44 | |
---|
[1110] | 45 | ; Insert names of variables to be taken from files specified above |
---|
[1067] | 46 | alt_varnames = False |
---|
[1110] | 47 | ; for using the alternative method (alt_varnames = True) |
---|
| 48 | ; e.g. for varnames containing double quotes, get numbers from ncdump: |
---|
| 49 | |
---|
[1078] | 50 | ;vars = new( (/numberoffiles,1/), integer) |
---|
| 51 | ;vars(0,0) = 10 |
---|
| 52 | ;vars(1,0) = 9 |
---|
| 53 | |
---|
[1110] | 54 | nvars = 2 ; number of variables (per file) |
---|
[1078] | 55 | |
---|
[1110] | 56 | ; normal method: |
---|
[1067] | 57 | varString = new( (/numberoffiles,1/), string) |
---|
| 58 | varString(0,0) = "u" |
---|
| 59 | varString(1,0) = "w" |
---|
[1078] | 60 | |
---|
[1110] | 61 | ; Specify index of start and end time step, 'False' will include all time steps |
---|
[1067] | 62 | spec_ts = True |
---|
| 63 | t_start = 0 |
---|
[1110] | 64 | t_end = 3 |
---|
[1078] | 65 | |
---|
[1067] | 66 | ; Specify a maximum refinement level? 'False' will set the default value. |
---|
[1078] | 67 | spec_reflevel = False |
---|
[1067] | 68 | reflevel = 1 |
---|
[1078] | 69 | |
---|
[1067] | 70 | ; LES used periodic lateral boundaries? |
---|
| 71 | periodic = True |
---|
[1078] | 72 | |
---|
[1067] | 73 | ; LES used grid stretching? |
---|
| 74 | grid_stretch = False |
---|
[1078] | 75 | stretch_level = 999 |
---|
[1067] | 76 | |
---|
[1110] | 77 | ;------------------------------------------------------------------------------! |
---|
| 78 | ; Configuration for workstations (none IMUK/HLRN systems) |
---|
| 79 | check_workstation = False |
---|
| 80 | ; Set check True to run script on none IMUK/HLRN systems. |
---|
[1067] | 81 | |
---|
[1110] | 82 | ;WS_init = False |
---|
| 83 | ;init_script = /muksoft/packages/vapor/2.2.0/bin/vapor-setup.sh |
---|
| 84 | ; Note: These lines alway stay comments for NCL |
---|
| 85 | ; as they are read by the shell script only. |
---|
[1078] | 86 | |
---|
[1110] | 87 | ; Set init True if VAPORs initialization script |
---|
| 88 | ; needs to run on the workstation (most linux systems). |
---|
| 89 | ; Provide path to script (without quotes; . /path/init.sh). |
---|
| 90 | |
---|
| 91 | ;WS_load = False |
---|
| 92 | ;WS_load_command = module load vapor ncl |
---|
| 93 | ; pass any command to the shell |
---|
| 94 | |
---|
| 95 | install_path = "/Applications/VAPOR.app/Contents/MacOS/" |
---|
| 96 | ; customize VAPOR installation path |
---|
| 97 | ; when running this script on a (Mac OS) workstation |
---|
| 98 | ; * will be ignored on HLRN or IMUK systems * |
---|
| 99 | |
---|
| 100 | ;------------------------------------------------------------------------------! |
---|
| 101 | |
---|