# HG changeset patch # User Iannis # Date 1536241873 -10800 # Node ID 3e4e6472b88befa0ba7f8b1a605651e2391397f0 # Parent 0ec29d360d157d0dc16564fa6fc890138369fe7b New raymetrics file diff -r 0ec29d360d15 -r 3e4e6472b88b atmospheric_lidar/raymetrics.py --- 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