Activated internal compression in output netcdf files.

Sun, 15 Mar 2020 11:12:28 +0200

author
ioannis <ioannis@ioannis-VirtualBox>
date
Sun, 15 Mar 2020 11:12:28 +0200
changeset 192
a73d587fd84c
parent 191
137ed800ee5d
child 193
bea35be85f99

Activated internal compression in output netcdf files.

atmospheric_lidar/__init__.py file | annotate | diff | comparison | revisions
atmospheric_lidar/generic.py file | annotate | diff | comparison | revisions
atmospheric_lidar/licelv2.py file | annotate | diff | comparison | revisions
changelog.rst file | annotate | diff | comparison | revisions
--- 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
--- 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
--- 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'
 
--- 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
 ~~~~~

mercurial