Changes between Version 76 and Version 77 of doc/app/maskedoutput


Ignore:
Timestamp:
Oct 26, 2018 8:03:09 PM (7 years ago)
Author:
gronemeier
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/app/maskedoutput

    v76 v77  
    66NetCDF4 file format is already available for masked data output.\\
    77Default quantities (instantaneous and time averaged) are declared with the parameter [../d3par#data_output_masks data_output_masks], user-defined quantities can be output with [../userpar#data_output_masks_user data_output_masks_user] (see also [[../userint/output|User-defined output quantities]]).\\\\
     8Since r3436, terrain-following masked output is implemented. This allows to output masked quantities at a specified height above the surface.
    89== Output steering ==
    910Different [../d3par runtime parameters] steer the output of the quantities assigned with [../d3par#data_output_masks data_output_masks] and/or [../userpar#data_output_masks_user data_output_masks_user]:[=#list]
     
    1516||[../d3par#mask_y_loop mask_y_loop] ||loop begin, end and stride for y-coordinates of mask locations for masks (in multiples of mask scale) ||
    1617||[../d3par#mask_z_loop mask_z_loop] ||loop begin, end and stride for z-coordinates of mask locations for masks (in multiples of mask scale) ||
     18||[../d3par#mask_k_over_surface mask_k_over_surface] ||vertical grid index above a surface to use for terrain-following masked output ||
    1719These parameters define the masks. Each mask can be steered with a separate set of x-, y- and z-parameters. By default all gridpoints along the respective direction are used.
    1820\\\\
     
    3638By default 50 different masks can be assigned. The amount of masks is steered with '''max_masks''' (=50 by default), which can only be changed in {{{modules.f90}}}. If more than 50 masks are desired, '''max_masks''' has to be changed to the corresponding value.
    3739\\\\
    38 == Further assignments ==
    39 Besides assigning the parameters listed [#list above], the required output files have to be commented out in the '''mrun'''-[../configexample configuration file]:
    40 {{{
    41 #----------------------------------------------------------------------------
    42 # List of output-files
    43 #----------------------------------------------------------------------------
    44 DATA_MASK_01_NETCDF       out:loc      ma#:maf         $base_data/$fname/OUTPUT      _m01     nc
    45 DATA_MASK_01_AV_NETCDF    out:loc      ma#:maf         $base_data/$fname/OUTPUT      _m01_av  nc
    46 DATA_MASK_02_NETCDF       out:loc      ma#:maf         $base_data/$fname/OUTPUT      _m02     nc
    47 DATA_MASK_02_AV_NETCDF    out:loc      ma#:maf         $base_data/$fname/OUTPUT      _m02_av  nc
    48 #DATA_MASK_03_NETCDF      out:loc      ma#:maf         $base_data/$fname/OUTPUT      _m03     nc
    49 #DATA_MASK_03_AV_NETCDF   out:loc      ma#:maf         $base_data/$fname/OUTPUT      _m03_av  nc
    50 ...
    51 }}}
    52 Here output of '''masks 1''' and '''2''' is done. '''Masks 3''' will not be output even if the parameters are assigned.\\\\\\
    53 Within the '''mrun''' call ''ma#'' has to be added to the '''mrun'''-option -r:
    54 {{{
    55 mrun -d example_cbl -h... -r "d3# ma#"
    56 }}}
    57 \\
    5840== Examples ==
    5941The following examples are given for the [../examples/cbl example_cbl run] with a model domain size of 2000m x 2000m x 2000m and a resolution of 50.0m.
     
    213195}}}
    214196Output starts from the beginning for '''mask 1''' and after 1h simulation time (see [../d3par#skip_time_domask skip_time_domask]) for '''mask 2, 3''' and '''4'''. It is done every 30 minutes for '''mask 1''' and at time intervals of [../d3par#dt_data_output dt_data_output] for '''mask 2, 3''' and '''4''' (see [../d3par#dt_domask dt_domask]).
     197=== 6. Output of terrain-following mask ===
     198'''Mask 1:''' xy cross section from x = 500m to x = 1000m and from y = 1000m to 2000m at the second, fith and tenth grid point above the surface. Output of instantaneous and time averaged data of the three wind components.\\
     199{{{
     200&initialization_parameters
     201
     202    nx = 39, ny = 39, nz = 40,
     203    dx = 50.0, dy = 50.0, dz = 50.0,
     204    .../
     205
     206&runtime_parameters
     207
     208    ...
     209    data_output_masks(1,:) = 'u','v','w','u_av','v_av','w_av',
     210   
     211    mask_x_loop(1,:) = 500.,1000.,50. ,
     212    mask_y_loop(1,:) = 1000.,2000.,50. ,
     213    mask_k_over_surface(1,:) = 2, 5, 10,
     214
     215    dt_domask = 600.,
     216    skip_time_domask = 3600.,/
     217}}}
     218Output starts after 1h simulation time (see [../d3par#skip_time_domask skip_time_domask]) for both masks and is done every 10 minutes for '''mask 1''' and every 30 minutes for '''mask 2''' (see [../d3par#dt_domask dt_domask]).