[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 | ; |
---|
[1310] | 15 | ; Copyright 1997-2014 Leibniz Universitaet Hannover |
---|
[1067] | 16 | ;------------------------------------------------------------------------------! |
---|
| 17 | ; |
---|
| 18 | ; Current revisions: |
---|
| 19 | ; ----------------- |
---|
[1328] | 20 | ; |
---|
| 21 | ; |
---|
[1067] | 22 | ; Former revisions: |
---|
| 23 | ; ----------------- |
---|
| 24 | ; $Id: nc2vdf.config 1328 2014-03-21 11:00:33Z witha $ |
---|
| 25 | ; |
---|
[1328] | 26 | ; 1310 2014-03-14 08:01:56Z raasch |
---|
| 27 | ; adapted for use on desktop machines |
---|
| 28 | ; |
---|
[1110] | 29 | ; 1067 2012-11-26 10:13:14Z marong |
---|
[1068] | 30 | ; Initial revision |
---|
[1067] | 31 | ; |
---|
| 32 | ; Description: |
---|
| 33 | ; ------------ |
---|
| 34 | ; Configuration file for nc2vdf. |
---|
| 35 | ;------------------------------------------------------------------------------! |
---|
[1110] | 36 | ; This configuration file uses NCL syntax. |
---|
| 37 | ;------------------------------------------------------------------------------! |
---|
| 38 | ; Define name of output file: |
---|
| 39 | outputfile = "vaporoutput" +".vdf" |
---|
[1067] | 40 | |
---|
| 41 | ; Insert number and names of input files |
---|
| 42 | numberoffiles = 2 |
---|
| 43 | files = new( (/numberoffiles/), string) |
---|
[1110] | 44 | files(0) = "palm/current_version/JOBS/building/OUTPUT/building_3d.nc" |
---|
| 45 | files(1) = "palm/current_version/JOBS/building/OUTPUT/building_3d.nc" |
---|
[1310] | 46 | ;files(2) = ᅵ ; path from where nc2vdf is called |
---|
[1067] | 47 | |
---|
[1110] | 48 | ; Insert names of variables to be taken from files specified above |
---|
[1067] | 49 | alt_varnames = False |
---|
[1110] | 50 | ; for using the alternative method (alt_varnames = True) |
---|
| 51 | ; e.g. for varnames containing double quotes, get numbers from ncdump: |
---|
| 52 | |
---|
[1078] | 53 | ;vars = new( (/numberoffiles,1/), integer) |
---|
| 54 | ;vars(0,0) = 10 |
---|
| 55 | ;vars(1,0) = 9 |
---|
| 56 | |
---|
[1110] | 57 | nvars = 2 ; number of variables (per file) |
---|
[1078] | 58 | |
---|
[1110] | 59 | ; normal method: |
---|
[1067] | 60 | varString = new( (/numberoffiles,1/), string) |
---|
| 61 | varString(0,0) = "u" |
---|
| 62 | varString(1,0) = "w" |
---|
[1078] | 63 | |
---|
[1110] | 64 | ; Specify index of start and end time step, 'False' will include all time steps |
---|
[1067] | 65 | spec_ts = True |
---|
| 66 | t_start = 0 |
---|
[1110] | 67 | t_end = 3 |
---|
[1078] | 68 | |
---|
[1067] | 69 | ; Specify a maximum refinement level? 'False' will set the default value. |
---|
[1078] | 70 | spec_reflevel = False |
---|
[1067] | 71 | reflevel = 1 |
---|
[1078] | 72 | |
---|
[1067] | 73 | ; LES used periodic lateral boundaries? |
---|
| 74 | periodic = True |
---|
[1078] | 75 | |
---|
[1067] | 76 | ; LES used grid stretching? |
---|
| 77 | grid_stretch = False |
---|
[1078] | 78 | stretch_level = 999 |
---|
[1067] | 79 | |
---|
[1110] | 80 | ;------------------------------------------------------------------------------! |
---|
| 81 | ; Configuration for workstations (none IMUK/HLRN systems) |
---|
| 82 | check_workstation = False |
---|
| 83 | ; Set check True to run script on none IMUK/HLRN systems. |
---|
[1067] | 84 | |
---|
[1110] | 85 | ;WS_init = False |
---|
| 86 | ;init_script = /muksoft/packages/vapor/2.2.0/bin/vapor-setup.sh |
---|
| 87 | ; Note: These lines alway stay comments for NCL |
---|
| 88 | ; as they are read by the shell script only. |
---|
[1078] | 89 | |
---|
[1110] | 90 | ; Set init True if VAPORs initialization script |
---|
| 91 | ; needs to run on the workstation (most linux systems). |
---|
| 92 | ; Provide path to script (without quotes; . /path/init.sh). |
---|
| 93 | |
---|
| 94 | ;WS_load = False |
---|
| 95 | ;WS_load_command = module load vapor ncl |
---|
| 96 | ; pass any command to the shell |
---|
| 97 | |
---|
| 98 | install_path = "/Applications/VAPOR.app/Contents/MacOS/" |
---|
| 99 | ; customize VAPOR installation path |
---|
| 100 | ; when running this script on a (Mac OS) workstation |
---|
| 101 | ; * will be ignored on HLRN or IMUK systems * |
---|
| 102 | |
---|
| 103 | ;------------------------------------------------------------------------------! |
---|
| 104 | |
---|