Version 19 (modified by suehring, 5 years ago) (diff)

--

Virtual measurements

Since -r3707 a virtual-measurement module is available in PALM. The module enables an easy setup of virtual measurements in the model domain emulating 'real-world' observations. Virtual measurement locations are placed within the model domain according to the UTM coordinates of the 'real-world' observations. This way, not only point and profile measurements can be emulated in the model, but also complex trajectories such as spiral-shaped flight measurements or bicycle/pedestrian measurements. With masked data output this would be hardly possible. Please note, to correctly setup the virtual measurement locations the origin UTM coordinates of the lower-left edge of the model domain (origin_x, origin_y) within the static input file should be as accurate as possible since these are used to place the virtual site. Note, only sites that are located within the model domain will be setup, for sites outside your domain no NetCDF will be created.

For different measurement sites the variables which should be sampled can be prescribed individually for each site. Variables will be sampled at each model time step at all given coordinates and adjacent grid points. Virtually sampled data is output using parallel NetCDF.

In order to setup the measurement locations, a measurement setup file is required. This file contains all information about the measurement coordinates, the measured variables, the type of the measurement (timeseries-, profile-, or trajectory measurements), as well as further attributes such as site names, etc.. For a description of required attributes and variables, as well as an example input file, please see here. Since revision -r4400 PALM comes with a pre-processor script palm_cvd, which is a python3 script and setup the input file according to your prescribed observation locations. Please note, all sampled variables are defined at the grid center, i.e. velocity components and fluxes are interpolated online. The following list gives an overview about the quantities that can be sampled (naming convention follows the (UC)2 standard):

Quantity name Meaning Unit
theta potential temperatureK
thetas scaling parameter for temperature in surface layerK
ta air temperaturedegree C
hus specific humiditykg/kg
haa absolute atmospheric humiditykg/m3
haa relative humidity-
pwv water vapor partial pressurehPa
ssdu duration of sunshines
t_lw water temperaturedegree C
mcpm1 PM1 concentrationkg/m3
mcpm10 PM10 concentrationkg/m3
mcpm2p5 PM2.5 concentrationkg/m3
mcno NO concentrationppm
mcno2 NO2 concentrationppm
tro3 O3 concentrationppm
ps surface pressurehPa
lwp liquid water pathkg/m2
hfdg ground heatflux into soil W/m2
hfls surface latent heat flux W/m2
hfss surface sensible heat flux W/m2
rsds surface radiation flux (shortwave down) W/m2
rsus surface radiation flux (shortwave up) W/m2
rsd radiation flux (shortwave down) W/m2
rsddif radiation flux (diffuse shortwave down) W/m2
rsu radiation flux (shortwave up) W/m2
rnds surface net radiation flux W/m2
rld radiation flux (longwave down) W/m2
rlu radiation flux (longwave up) W/m2
rlus surface radiation flux (longwave up) W/m2
t_soil soil temperature degree C
m_soil soil moisture m3/m3
uv total horizontal momentum-flux m2/s2
vw total vertical momentum flux of v-component m2/s2
uw total vertical momentum flux of u-component m2/s2
us friction velocity m/s
u u-componentm/s
v v-componentm/s
w w-componentm/s
wspeed horizontal wind speedm/s
wdir wind directiondegree
utheta total flux of potential temperature in x-directionKm/s
vtheta total flux of potential temperature in y-directionKm/s
wtheta total flux of potential temperature in z-directionKm/s
uqv total flux of humidity in x-directionkg m/(kg s)
vqv total flux of humidity in y-directionkg m/(kg s)
wqv total flux of humidity in z-directionkg m/(kg s)


NAMELIST group name: virtual_measurement_parameters

Parameter Name FORTRAN
Type
Default
Value
Explanation

dt_virtual_measurement

R

0.01

Temporal interval at which virtual measurements shall be output (in s). Please note, this parameter must not be zero.

off_pr

I

1

Number of surrounding grid points (in each direction) around the original measurement location where variables shall be sampled (for profile measurements). Please note, the number must not be larger than the number of ghost points minus one.

off_tr

I

1

Number of surrounding grid points (in each direction) around the original measurement location where variables shall be sampled (for trajectory measurements). Please note, the number must not be larger than the number of ghost points minus one.

off_ts

I

1

Number of surrounding grid points (in each direction) around the original measurement location where variables shall be sampled (for stationary timeseries measurements). Please note, the number must not be larger than the number of ghost points minus one.

use_virtual_measurement

L

.F.

Control flag to enable virtual measurements.

vm_time_start

R

0.0

Start time of the virtual measurements.