# HG changeset patch # User ulalume3 # Date 1349774022 -7200 # Node ID 7f9450f40b1e25a6d2c4b8abf121c408a7ef1023 # Parent 42dbb0451ebdbf8de30d2f4c15b230b1e45673a3# Parent b11082bfcb4a116101e8ba6097db92b8d4ae2a77 Merge from 3:a52ac06e9fc4 diff -r b11082bfcb4a -r 7f9450f40b1e cf_netcdf_parameters.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cf_netcdf_parameters.py Tue Oct 09 11:13:42 2012 +0200 @@ -0,0 +1,55 @@ +general_parameters = \ +{'System': '\'LAMP Lidar\'', + 'Laser_Pointing_Angle': 0, + 'Molecular_Calc': 0, + 'Latitude_degrees_north': 45.601039, + 'Longitude_degrees_east': 03.723771, + 'Altitude_meter_asl': 420} + +channel_parameters = \ +{'00387.o_ph': {'channel_ID': 316, + 'Background_Low': 15000, + 'Background_High': 20000, + 'Laser_Shots': 600, + 'LR_Input':1, + 'DAQ_Range':0, + 'Depolarization_Factor': 0,}, + '00355.p_ph': {'channel_ID': 315, + 'Background_Low': 15000, + 'Background_High': 20000, + 'Laser_Shots': 600, + 'LR_Input':1, + 'DAQ_Range':0, + 'Depolarization_Factor': 0,}, + '00355.s_an': {'channel_ID': 312, + 'Background_Low': 15000, + 'Background_High': 20000, + 'Laser_Shots': 600, + 'LR_Input':1, + 'DAQ_Range':500.0, + 'Depolarization_Factor': 0.17,}, + '00355.p_an': {'channel_ID': 314, + 'Background_Low': 15000, + 'Background_High': 20000, + 'Laser_Shots': 600, + 'LR_Input':1, + 'DAQ_Range':500.0, + 'Depolarization_Factor': 0,}, + '00355.s_ph': {'channel_ID': 313, + 'Background_Low': 15000, + 'Background_High': 20000, + 'Laser_Shots': 600, + 'LR_Input':1, + 'DAQ_Range':0, + 'Depolarization_Factor': 0.17,}, + } + +#For testing. To be read from milos files. +''' +measurement_parameters = \ +{'Pressure_at_Lidar_Station': 930, + 'Temperature_at_Lidar_Station': 15, + 'Measurement_ID': '12345'} +''' + + diff -r b11082bfcb4a -r 7f9450f40b1e cf_raymetrics.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cf_raymetrics.py Tue Oct 09 11:13:42 2012 +0200 @@ -0,0 +1,7 @@ +from licel import LicelLidarMeasurement + +import cf_netcdf_parameters + +class CfLidarMeasurement(LicelLidarMeasurement): + + extra_netcdf_parameters = cf_netcdf_parameters