-
Notifications
You must be signed in to change notification settings - Fork 10
Description
@georgmueller and I identified two issues within the processing chain.
- The first issue concerns the Height generation in the subfile
pollyPreprocess.m. Specifically, this section of the code:
%% Height (first bin height correction) data.height = double((0:(size(data.signal, 2)-1)) * data.hRes * cos(data.zenithAng / 180 * pi) + config.firstBinHeight); % [m] data.alt = double(data.height + config.asl); % geopotential height data.distance0 = double(data.height ./ cos(data.zenithAng / 180 * pi)); % distance between range bin and system.
data.distance0 is used throughout the PPC, while data.height is stored in the generated nc files. It seems that the distance0 is calculated by dividing height by the zenith angle component, but we suspect a miscalculation occurs because the offset (config.firstBinHeight) is not considered. This leads to a general offset in the height bins, deviating from the expected 3.75m (like in pollyXT arielle).
We suggest updating the distance calculation to:
data.distance0 = double((0:(size(data.signal, 2)-1)) * data.hRes + config.firstBinHeight);
- The second issue involves the absolute zero constant used in the PPC. The constant is set to 273.17, but the physical value should be -273.15°C (source: [Wikipedia](https://en.wikipedia.org/wiki/Absolute_zero)). Is it possible that the triplet point of water, which is 273.16K, was intended instead?