Added vertical lidar measurement class.

Tue, 25 Sep 2018 13:30:45 +0300

author
Ioannis <ioannis@inoe.ro>
date
Tue, 25 Sep 2018 13:30:45 +0300
changeset 158
5d99df1c7e81
parent 157
03b470b0a05f (current diff)
parent 152
3e4e6472b88b (diff)
child 159
c31f5388b482

Added vertical lidar measurement class.

--- a/atmospheric_lidar/raymetrics.py	Tue Sep 25 12:43:14 2018 +0300
+++ b/atmospheric_lidar/raymetrics.py	Tue Sep 25 13:30:45 2018 +0300
@@ -150,3 +150,24 @@
     file_class = ScanningFile
     channel_class = ScanningChannel
     photodiode_class = PhotodiodeChannel
+
+
+class VerticalFile(LicelFile):
+    """ Raymetrics is using a custom version of licel file format to store
+    vertical lidar measurements.
+
+    `temperature`
+        Ambient temperature (degrees C)
+
+    `pressure`
+        Ambient pressure (hPa)
+    """
+    # Specifications of the header lines.
+    licel_file_header_format = ['filename',
+                                'start_date start_time end_date end_time altitude longitude latitude zenith_angle azimuth_angle temperature pressure',
+                                # Appart from Site that is read manually
+                                'LS1 rate_1 LS2 rate_2 number_of_datasets', ]
+
+
+class VerticalLidarMeasurement(LicelLidarMeasurement):
+    file_class = VerticalFile

mercurial