# HG changeset patch # User Iannis # Date 1504945542 -10800 # Node ID 6c06efef397c1dc5837dd1b955baa0a4bcfaa083 # Parent ee391407139fdaf82549ee65d8f80adf2f06ead0 Adam parameter files. diff -r ee391407139f -r 6c06efef397c atmospheric_lidar/adam2016_depol.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/atmospheric_lidar/adam2016_depol.py Sat Sep 09 11:25:42 2017 +0300 @@ -0,0 +1,5 @@ +from licel_depol import LicelCalibrationMeasurement +import adam2016_depolarization_parameters + +class ADAM2017CalibrationMeasurement(LicelCalibrationMeasurement): + extra_netcdf_parameters = adam2016_depolarization_parameters diff -r ee391407139f -r 6c06efef397c atmospheric_lidar/adam2016_depolarization_parameters.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/atmospheric_lidar/adam2016_depolarization_parameters.py Sat Sep 09 11:25:42 2017 +0300 @@ -0,0 +1,116 @@ +general_parameters = \ +{'System': '\'ADAM 2012-2017\'', + 'Call sign': 'is', + 'Laser_Pointing_Angle': 0, + 'Molecular_Calc': 0, + 'Latitude_degrees_north': 45.8, + 'Longitude_degrees_east': 8.6, + 'Altitude_meter_asl': 209.0} # This should be float + +# Change to channel_parameters to use all channels. For testing I define only photon counting channels below. +channel_parameters = \ +{'00532.p_ph_p45': {'channel_ID': 647, + 'Background_Low': 45000, + 'Background_High': 60000, + 'Laser_Shots': 1501, + 'LR_Input': 1, + 'DAQ_Range': 0, + 'Pol_Calib_Range_Min': 2000, + 'Pol_Calib_Range_Max': 3000}, + '00532.s_ph_p45': {'channel_ID': 649, + 'Background_Low': 45000, + 'Background_High': 60000, + 'Laser_Shots': 1501, + 'LR_Input': 1, + 'DAQ_Range': 0, + 'Pol_Calib_Range_Min': 2000, + 'Pol_Calib_Range_Max': 3000}, + '00532.p_ph_m45': {'channel_ID': 646, + 'Background_Low': 45000, + 'Background_High': 60000, + 'Laser_Shots': 1501, + 'LR_Input': 1, + 'DAQ_Range': 0, + 'Pol_Calib_Range_Min': 2000, + 'Pol_Calib_Range_Max': 3000}, + '00532.s_ph_m45': {'channel_ID': 648, + 'Background_Low': 45000, + 'Background_High': 60000, + 'Laser_Shots': 1501, + 'LR_Input': 1, + 'DAQ_Range': 0, + 'Pol_Calib_Range_Min': 2000, + 'Pol_Calib_Range_Max': 3000}, + } + +""" +{'00532.p_an_p45': {'channel_ID': 383, + 'Background_Low': 50000, + 'Background_High': 60000, + 'Laser_Shots': 3000, + 'LR_Input': 1, + 'DAQ_Range': 100.0, + 'Depolarization_Factor': 0, + 'Pol_Calib_Range_Min': 1000, + 'Pol_Calib_Range_Max': 3000}, + '00532.p_ph_p45': {'channel_ID': 378, + 'Background_Low': 50000, + 'Background_High': 60000, + 'Laser_Shots': 3000, + 'LR_Input': 1, + 'DAQ_Range': 0, + 'Depolarization_Factor': 0, + 'Pol_Calib_Range_Min': 1000, + 'Pol_Calib_Range_Max': 3000}, + '00532.s_an_p45': {'channel_ID': 385 , + 'Background_Low': 50000, + 'Background_High': 60000, + 'Laser_Shots': 3000, + 'LR_Input': 1, + 'DAQ_Range': 20.0, + 'Pol_Calib_Range_Min': 1000, + 'Pol_Calib_Range_Max': 3000}, + '00532.s_ph_p45': {'channel_ID': 380, + 'Background_Low': 50000, + 'Background_High': 60000, + 'Laser_Shots': 3000, + 'LR_Input': 1, + 'DAQ_Range': 0, + 'Pol_Calib_Range_Min': 1000, + 'Pol_Calib_Range_Max': 3000}, + '00532.p_an_m45': {'channel_ID': 384, + 'Background_Low': 50000, + 'Background_High': 60000, + 'Laser_Shots': 3000, + 'LR_Input': 1, + 'DAQ_Range': 100.0, + 'Depolarization_Factor': 0, + 'Pol_Calib_Range_Min': 1000, + 'Pol_Calib_Range_Max': 3000}, + '00532.p_ph_m45': {'channel_ID': 379, + 'Background_Low': 50000, + 'Background_High': 60000, + 'Laser_Shots': 3000, + 'LR_Input': 1, + 'DAQ_Range': 0, + 'Depolarization_Factor': 0, + 'Pol_Calib_Range_Min': 1000, + 'Pol_Calib_Range_Max': 3000}, + '00532.s_an_m45': {'channel_ID': 386, + 'Background_Low': 50000, + 'Background_High': 60000, + 'Laser_Shots': 3000, + 'LR_Input': 1, + 'DAQ_Range': 20.0, + 'Pol_Calib_Range_Min': 1000, + 'Pol_Calib_Range_Max': 3000}, + '00532.s_ph_m45': {'channel_ID': 382, + 'Background_Low': 50000, + 'Background_High': 60000, + 'Laser_Shots': 3000, + 'LR_Input': 1, + 'DAQ_Range': 0, + 'Pol_Calib_Range_Min': 1000, + 'Pol_Calib_Range_Max': 3000}, + } +""" diff -r ee391407139f -r 6c06efef397c atmospheric_lidar/adam2017.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/atmospheric_lidar/adam2017.py Sat Sep 09 11:25:42 2017 +0300 @@ -0,0 +1,16 @@ +from licel import LicelLidarMeasurement + +import adam2017_netcdf_parameters + +class ADAM2017LidarMeasurement(LicelLidarMeasurement): + extra_netcdf_parameters = adam2017_netcdf_parameters + + def _get_scc_mandatory_channel_variables(self): + channel_variables = \ + {'Background_Low': (('channels',), 'd'), + 'Background_High': (('channels',), 'd'), + 'LR_Input': (('channels',), 'i'), + 'DAQ_Range': (('channels',), 'd'), + 'First_Signal_Rangebin': (('channels',), 'i') + } + return channel_variables diff -r ee391407139f -r 6c06efef397c atmospheric_lidar/adam2017_depol.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/atmospheric_lidar/adam2017_depol.py Sat Sep 09 11:25:42 2017 +0300 @@ -0,0 +1,5 @@ +from licel_depol import LicelCalibrationMeasurement +import adam2017_depolarization_parameters + +class ADAM2017CalibrationMeasurement(LicelCalibrationMeasurement): + extra_netcdf_parameters = adam2017_depolarization_parameters diff -r ee391407139f -r 6c06efef397c atmospheric_lidar/adam2017_depolarization_parameters.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/atmospheric_lidar/adam2017_depolarization_parameters.py Sat Sep 09 11:25:42 2017 +0300 @@ -0,0 +1,116 @@ +general_parameters = \ +{'System': '\'ADAM May 2017\'', + 'Call sign': 'is', + 'Laser_Pointing_Angle': 0, + 'Molecular_Calc': 0, + 'Latitude_degrees_north': 45.8, + 'Longitude_degrees_east': 8.6, + 'Altitude_meter_asl': 209.0} # This should be float + +# Change to channel_parameters to use all channels. For testing I define only photon counting channels below. +channel_parameters = \ +{'00532.p_ph_p45': {'channel_ID': 929, + 'Background_Low': 45000, + 'Background_High': 60000, + 'Laser_Shots': 1201, + 'LR_Input': 1, + 'DAQ_Range': 0, + 'Pol_Calib_Range_Min': 2000, + 'Pol_Calib_Range_Max': 3000}, + '00532.s_ph_p45': {'channel_ID': 931, + 'Background_Low': 45000, + 'Background_High': 60000, + 'Laser_Shots': 1201, + 'LR_Input': 1, + 'DAQ_Range': 0, + 'Pol_Calib_Range_Min': 2000, + 'Pol_Calib_Range_Max': 3000}, + '00532.p_ph_m45': {'channel_ID': 928, + 'Background_Low': 45000, + 'Background_High': 60000, + 'Laser_Shots': 1201, + 'LR_Input': 1, + 'DAQ_Range': 0, + 'Pol_Calib_Range_Min': 2000, + 'Pol_Calib_Range_Max': 3000}, + '00532.s_ph_m45': {'channel_ID': 930, + 'Background_Low': 45000, + 'Background_High': 60000, + 'Laser_Shots': 1201, + 'LR_Input': 1, + 'DAQ_Range': 0, + 'Pol_Calib_Range_Min': 2000, + 'Pol_Calib_Range_Max': 3000}, + } + +""" +{'00532.p_an_p45': {'channel_ID': 383, + 'Background_Low': 50000, + 'Background_High': 60000, + 'Laser_Shots': 3000, + 'LR_Input': 1, + 'DAQ_Range': 100.0, + 'Depolarization_Factor': 0, + 'Pol_Calib_Range_Min': 1000, + 'Pol_Calib_Range_Max': 3000}, + '00532.p_ph_p45': {'channel_ID': 378, + 'Background_Low': 50000, + 'Background_High': 60000, + 'Laser_Shots': 3000, + 'LR_Input': 1, + 'DAQ_Range': 0, + 'Depolarization_Factor': 0, + 'Pol_Calib_Range_Min': 1000, + 'Pol_Calib_Range_Max': 3000}, + '00532.s_an_p45': {'channel_ID': 385 , + 'Background_Low': 50000, + 'Background_High': 60000, + 'Laser_Shots': 3000, + 'LR_Input': 1, + 'DAQ_Range': 20.0, + 'Pol_Calib_Range_Min': 1000, + 'Pol_Calib_Range_Max': 3000}, + '00532.s_ph_p45': {'channel_ID': 380, + 'Background_Low': 50000, + 'Background_High': 60000, + 'Laser_Shots': 3000, + 'LR_Input': 1, + 'DAQ_Range': 0, + 'Pol_Calib_Range_Min': 1000, + 'Pol_Calib_Range_Max': 3000}, + '00532.p_an_m45': {'channel_ID': 384, + 'Background_Low': 50000, + 'Background_High': 60000, + 'Laser_Shots': 3000, + 'LR_Input': 1, + 'DAQ_Range': 100.0, + 'Depolarization_Factor': 0, + 'Pol_Calib_Range_Min': 1000, + 'Pol_Calib_Range_Max': 3000}, + '00532.p_ph_m45': {'channel_ID': 379, + 'Background_Low': 50000, + 'Background_High': 60000, + 'Laser_Shots': 3000, + 'LR_Input': 1, + 'DAQ_Range': 0, + 'Depolarization_Factor': 0, + 'Pol_Calib_Range_Min': 1000, + 'Pol_Calib_Range_Max': 3000}, + '00532.s_an_m45': {'channel_ID': 386, + 'Background_Low': 50000, + 'Background_High': 60000, + 'Laser_Shots': 3000, + 'LR_Input': 1, + 'DAQ_Range': 20.0, + 'Pol_Calib_Range_Min': 1000, + 'Pol_Calib_Range_Max': 3000}, + '00532.s_ph_m45': {'channel_ID': 382, + 'Background_Low': 50000, + 'Background_High': 60000, + 'Laser_Shots': 3000, + 'LR_Input': 1, + 'DAQ_Range': 0, + 'Pol_Calib_Range_Min': 1000, + 'Pol_Calib_Range_Max': 3000}, + } +""" diff -r ee391407139f -r 6c06efef397c atmospheric_lidar/adam2017_netcdf_parameters.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/atmospheric_lidar/adam2017_netcdf_parameters.py Sat Sep 09 11:25:42 2017 +0300 @@ -0,0 +1,89 @@ +general_parameters = \ +{'System': '\'ADAM May 2017\'', + 'Call sign': 'is', + 'Laser_Pointing_Angle': 0, + 'Molecular_Calc': 0, + 'Latitude_degrees_north': 45.8, + 'Longitude_degrees_east': 8.6, + 'Altitude_meter_asl': 209.0} # This should be float + +channel_parameters = \ +{'01064.o_an': {'channel_ID': 917, + 'Background_Low': 50000, + 'Background_High': 60000, + 'Laser_Shots': 3001, + 'LR_Input': 1, + 'DAQ_Range': 500.0, + 'First_Signal_Rangebin': 9}, + '00532.p_an': {'channel_ID': 918, + 'Background_Low': 50000, + 'Background_High': 60000, + 'Laser_Shots': 3001, + 'LR_Input': 1, + 'DAQ_Range': 500.0, + 'First_Signal_Rangebin': 9}, +'00532.p_ph': {'channel_ID': 919, + 'Background_Low': 50000, + 'Background_High': 60000, + 'Laser_Shots': 3001, + 'LR_Input': 1, + 'DAQ_Range': 0, + 'First_Signal_Rangebin': 0}, + '00532.s_an': {'channel_ID': 920, + 'Background_Low': 50000, + 'Background_High': 60000, + 'Laser_Shots': 3001, + 'LR_Input': 1, + 'DAQ_Range': 500.0, + 'First_Signal_Rangebin': 9}, + '00532.s_ph': {'channel_ID': 921, + 'Background_Low': 50000, + 'Background_High': 60000, + 'Laser_Shots': 3001, + 'LR_Input': 1, + 'DAQ_Range': 0, + 'First_Signal_Rangebin': 0}, + '00607.o_an': {'channel_ID': 922, + 'Background_Low': 50000, + 'Background_High': 60000, + 'Laser_Shots': 3001, + 'LR_Input': 1, + 'DAQ_Range': 500.0, + 'First_Signal_Rangebin': 9}, + '00607.o_ph': {'channel_ID': 923, + 'Background_Low': 50000, + 'Background_High': 60000, + 'Laser_Shots': 3001, + 'LR_Input':1, + 'DAQ_Range':500.0, + 'First_Signal_Rangebin': 0}, + '00355.o_an': {'channel_ID': 924, + 'Background_Low': 50000, + 'Background_High': 60000, + 'Laser_Shots': 3001, + 'LR_Input': 1, + 'DAQ_Range': 500.0, + 'First_Signal_Rangebin': 8}, + '00355.o_ph': {'channel_ID': 925, + 'Background_Low': 50000, + 'Background_High': 60000, + 'Laser_Shots': 3001, + 'LR_Input': 1, + 'DAQ_Range': 0, + 'First_Signal_Rangebin': 0}, + '00387.o_an': {'channel_ID': 926, + 'Background_Low': 50000, + 'Background_High': 60000, + 'Laser_Shots': 3001, + 'LR_Input': 1, + 'DAQ_Range': 500.0, + 'First_Signal_Rangebin': 9}, + '00387.o_ph': {'channel_ID': 927, + 'Background_Low': 50000, + 'Background_High': 60000, + 'Laser_Shots': 3001, + 'LR_Input': 1, + 'DAQ_Range': 0, + 'First_Signal_Rangebin': 0}, +} +