pearl.py

changeset 27
74f7617f5356
parent 0
9d2b98ecf23d
equal deleted inserted replaced
25:563705a26f85 27:74f7617f5356
2 import os 2 import os
3 import glob 3 import glob
4 4
5 import numpy as np 5 import numpy as np
6 6
7 from generic import BaseLidarMeasurement, Lidar_channel 7 from generic import BaseLidarMeasurement, LidarChannel
8 from ciao import CiaoMixin 8 from ciao import CiaoMixin
9 9
10 import pearl_netcdf_parameters 10 import pearl_netcdf_parameters
11 from report_file import Report_file 11 from report_file import Report_file
12 12
37 tm = start_time + datetime.timedelta(seconds = 30) 37 tm = start_time + datetime.timedelta(seconds = 30)
38 else: 38 else:
39 name = channel_info['name'] 39 name = channel_info['name']
40 tm = start_time 40 tm = start_time
41 if name not in self.channels: 41 if name not in self.channels:
42 self.channels[name] = Lidar_channel(channel_info) 42 self.channels[name] = LidarChannel(channel_info)
43 self.channels[name].data[tm] = channel_info['data'] 43 self.channels[name].data[tm] = channel_info['data']
44 self.files.append(filename) 44 self.files.append(filename)
45 45
46 def read_pearl_data(self, filename): 46 def read_pearl_data(self, filename):
47 ''' 47 '''

mercurial