Version 12 (modified by weinreis, 14 years ago) (diff)

--

Masked data output

General

From release 3.7a (r483) output of masked data is implemented in PALM. This feature allows to output quantities at different mask locations and can already use netCDF4 file format.
Default quantities (instantaneous and time averaged) are available and can be declared with the parameter data_output_masks, user-defined quantities can be output with data_output_masks_user.

Different runtime parameters defines the masks and steers the output:

dt_domask
mask_scale_x
mask_scale_y
mask_scale_z
mask_x
mask_y
mask_z
mask_x_loop
mask_y_loop
mask_z_loop
skip_time_domask

So far 20 different masks can be defined. Each mask is output to one local file.

Instantaneous data of mask 1 are output to file DATA_MASK_01_NETCDF, time-averaged data to file DATA_MASK_01_AV_NETCDF.
Instantaneous data of mask 2 are output to file DATA_MASK_02_NETCDF, time-averaged data to file DATA_MASK_02_AV_NETCDF.
Instantaneous data of mask 3 are output to file DATA_MASK_03_NETCDF, time-averaged data to file DATA_MASK_03_AV_NETCDF.

Besides assigning the parameters listed above, declarations have to be made in the mrun-configuration file?:

#----------------------------------------------------------------------------
# List of output-files
#----------------------------------------------------------------------------
DATA_MASK_01_NETCDF       out:loc      ma#:maf         $output_data      _m01     nc
DATA_MASK_01_AV_NETCDF    out:loc      ma#:maf         $output_data      _m01_av  nc
DATA_MASK_02_NETCDF       out:loc      ma#:maf         $output_data      _m02     nc
DATA_MASK_02_AV_NETCDF    out:loc      ma#:maf         $output_data      _m02_av  nc
DATA_MASK_03_NETCDF       out:loc      ma#:maf         $output_data      _m03     nc
DATA_MASK_03_AV_NETCDF    out:loc      ma#:maf         $output_data      _m03_av  nc
DATA_MASK_04_NETCDF       out:loc      ma#:maf         $output_data      _m04     nc
DATA_MASK_04_AV_NETCDF    out:loc      ma#:maf         $output_data      _m04_av  nc
DATA_MASK_05_NETCDF       out:loc      ma#:maf         $output_data      _m05     nc
DATA_MASK_05_AV_NETCDF    out:loc      ma#:maf         $output_data      _m05_av  nc
DATA_MASK_06_NETCDF       out:loc      ma#:maf         $output_data      _m06     nc
DATA_MASK_06_AV_NETCDF    out:loc      ma#:maf         $output_data      _m06_av  nc
DATA_MASK_07_NETCDF       out:loc      ma#:maf         $output_data      _m07     nc
DATA_MASK_07_AV_NETCDF    out:loc      ma#:maf         $output_data      _m07_av  nc
DATA_MASK_08_NETCDF       out:loc      ma#:maf         $output_data      _m08     nc
DATA_MASK_08_AV_NETCDF    out:loc      ma#:maf         $output_data      _m08_av  nc
DATA_MASK_09_NETCDF       out:loc      ma#:maf         $output_data      _m09     nc
DATA_MASK_09_AV_NETCDF    out:loc      ma#:maf         $output_data      _m09_av  nc
DATA_MASK_10_NETCDF       out:loc      ma#:maf         $output_data      _m10     nc
DATA_MASK_10_AV_NETCDF    out:loc      ma#:maf         $output_data      _m10_av  nc
DATA_MASK_11_NETCDF       out:loc      ma#:maf         $output_data      _m11     nc
DATA_MASK_11_AV_NETCDF    out:loc      ma#:maf         $output_data      _m11_av  nc
DATA_MASK_12_NETCDF       out:loc      ma#:maf         $output_data      _m12     nc
DATA_MASK_12_AV_NETCDF    out:loc      ma#:maf         $output_data      _m12_av  nc
DATA_MASK_13_NETCDF       out:loc      ma#:maf         $output_data      _m13     nc
DATA_MASK_13_AV_NETCDF    out:loc      ma#:maf         $output_data      _m13_av  nc
DATA_MASK_14_NETCDF       out:loc      ma#:maf         $output_data      _m14     nc
DATA_MASK_14_AV_NETCDF    out:loc      ma#:maf         $output_data      _m14_av  nc
DATA_MASK_15_NETCDF       out:loc      ma#:maf         $output_data      _m15     nc
DATA_MASK_15_AV_NETCDF    out:loc      ma#:maf         $output_data      _m15_av  nc
DATA_MASK_16_NETCDF       out:loc      ma#:maf         $output_data      _m16     nc
DATA_MASK_16_AV_NETCDF    out:loc      ma#:maf         $output_data      _m16_av  nc
DATA_MASK_17_NETCDF       out:loc      ma#:maf         $output_data      _m17     nc
DATA_MASK_17_AV_NETCDF    out:loc      ma#:maf         $output_data      _m17_av  nc
DATA_MASK_18_NETCDF       out:loc      ma#:maf         $output_data      _m18     nc
DATA_MASK_18_AV_NETCDF    out:loc      ma#:maf         $output_data      _m18_av  nc
DATA_MASK_19_NETCDF       out:loc      ma#:maf         $output_data      _m19     nc
DATA_MASK_19_AV_NETCDF    out:loc      ma#:maf         $output_data      _m19_av  nc
DATA_MASK_20_NETCDF       out:loc      ma#:maf         $output_data      _m20     nc
DATA_MASK_20_AV_NETCDF    out:loc      ma#:maf         $output_data      _m20_av  nc

Examples