New raymetrics file

Thu, 06 Sep 2018 16:51:13 +0300

author
Iannis <i.binietoglou@impworks.gr>
date
Thu, 06 Sep 2018 16:51:13 +0300
changeset 152
3e4e6472b88b
parent 151
0ec29d360d15
child 158
5d99df1c7e81

New raymetrics file

atmospheric_lidar/raymetrics.py file | annotate | diff | comparison | revisions
--- a/atmospheric_lidar/raymetrics.py	Tue Aug 28 15:34:53 2018 +0300
+++ b/atmospheric_lidar/raymetrics.py	Thu Sep 06 16:51:13 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