# HG changeset patch # User Iannis # Date 1571991010 -10800 # Node ID 1084928bccd3f0ef54bf7fe32d54429075b55798 # Parent a0bf7d88b1dc33aa7f655a443f631c016556fa70 Correct handling of azimuth angle in FixedPoint measurement files. diff -r a0bf7d88b1dc -r 1084928bccd3 atmospheric_lidar/raymetrics.py --- a/atmospheric_lidar/raymetrics.py Fri Oct 25 10:18:53 2019 +0300 +++ b/atmospheric_lidar/raymetrics.py Fri Oct 25 11:10:10 2019 +0300 @@ -720,9 +720,12 @@ def _assign_properties(self): """ Assign scanning-specific parameters found in the header as object properties.""" super(FixedPointingFile, self)._assign_properties() - self.azimuth_angle = float(self.raw_info['azimuth_angle']) + self.temperature = float(self.raw_info['temperature']) self.pressure = float(self.raw_info['pressure']) + self.azimuth_angle_raw = float(self.raw_info['azimuth_angle']) + self.azimuth_offset = float(self.raw_info['azimuth_offset']) + self.azimuth_angle = (self.azimuth_angle_raw + self.azimuth_offset) % 360 class FixedPointingChannel(LicelChannel):