# HG changeset patch # User ioannis # Date 1584263548 -7200 # Node ID a73d587fd84cb5667880116c0d1281bde2ebf12d # Parent 137ed800ee5d3092b33de0b8062029a91251f464 Activated internal compression in output netcdf files. diff -r 137ed800ee5d -r a73d587fd84c atmospheric_lidar/__init__.py --- a/atmospheric_lidar/__init__.py Sun Feb 23 16:07:44 2020 +0200 +++ b/atmospheric_lidar/__init__.py Sun Mar 15 11:12:28 2020 +0200 @@ -1,1 +1,1 @@ -__version__ = '0.4.3' \ No newline at end of file +__version__ = '0.4.4' \ No newline at end of file diff -r 137ed800ee5d -r a73d587fd84c atmospheric_lidar/generic.py --- a/atmospheric_lidar/generic.py Sun Feb 23 16:07:44 2020 +0200 +++ b/atmospheric_lidar/generic.py Sun Mar 15 11:12:28 2020 +0200 @@ -521,7 +521,7 @@ pass # Laser shots already in variables, so all good. # Raw lidar data - temp_v = f.createVariable('Raw_Lidar_Data', 'd', ('time', 'channels', 'points')) + temp_v = f.createVariable('Raw_Lidar_Data', 'd', ('time', 'channels', 'points'), zlib=True) for (channel, n) in zip(channel_names, list(range(len(channel_names)))): c = self.channels[channel] temp_v[:len(c.time), n, :c.points] = c.matrix @@ -606,7 +606,7 @@ f.createDimension('time_bck', max_number_of_profiles) # Save the dark measurement data - temp_v = f.createVariable('Background_Profile', 'd', ('time_bck', 'channels', 'points')) + temp_v = f.createVariable('Background_Profile', 'd', ('time_bck', 'channels', 'points'), zlib=True) for (channel, n) in zip(channels, list(range(len(channels)))): c = dark_measurement.channels[channel] temp_v[:len(c.time), n, :c.points] = c.matrix diff -r 137ed800ee5d -r a73d587fd84c atmospheric_lidar/licelv2.py --- a/atmospheric_lidar/licelv2.py Sun Feb 23 16:07:44 2020 +0200 +++ b/atmospheric_lidar/licelv2.py Sun Mar 15 11:12:28 2020 +0200 @@ -123,7 +123,7 @@ licel_file_header_format = ['filename', 'start_date start_time end_date end_time altitude longitude latitude zenith_angle azimuth_angle custom_field', - # Appart from Site that is read manually + # Apart from Site that is read manually 'LS1 rate_1 LS2 rate_2 number_of_datasets LS3 rate_3 0000000 0000 controller_timestamp' ] licel_file_channel_format = 'active analog_photon laser_used number_of_datapoints laser_polarization HV bin_width wavelength d2 d3 bin_shift bin_shift_decimal_places ADCbits number_of_shots discriminator ID' diff -r 137ed800ee5d -r a73d587fd84c changelog.rst --- a/changelog.rst Sun Feb 23 16:07:44 2020 +0200 +++ b/changelog.rst Sun Mar 15 11:12:28 2020 +0200 @@ -4,7 +4,27 @@ Unreleased ---------- -0.4.1 - 2018-11-29 +0.4.3 - 2020‑03‑15 +------------------ +Fixed +~~~~~ +- Activated netcdf4 compression for `Raw_Lidar_Data` and `Background_Profile` variables. + +0.4.3 - 2020‑02‑14 +------------------ +Fixed +~~~~~ +- Pcolormesh added as default plotting method +- Bug in using LicelLidarMeasurement fixed. + +0.4.2 - 2020‑02‑14 +------------------ +Added +~~~~~ +- Option to name licel channel by order in file. + + +0.4.1 - 2019-11-29 ------------------ Added ~~~~~