Bug fix: wrong name of properties when saving netcdf file.

Sun, 18 Mar 2018 09:54:12 +0200

author
Iannis <i.binietoglou@impworks.gr>
date
Sun, 18 Mar 2018 09:54:12 +0200
changeset 137
0e7aa8e32d4f
parent 136
c26f917c3dc1
child 138
3d6ea0854232

Bug fix: wrong name of properties when saving netcdf file.

atmospheric_lidar/licel.py file | annotate | diff | comparison | revisions
--- a/atmospheric_lidar/licel.py	Wed Feb 28 13:08:49 2018 +0200
+++ b/atmospheric_lidar/licel.py	Sun Mar 18 09:54:12 2018 +0200
@@ -534,13 +534,13 @@
 
         params = [{
             "name": "Altitude_meter_asl",
-            "value": float(self.raw_info[self.files[0]]["Altitude"])
+            "value": float(self.raw_info[self.files[0]]["altitude"])
         }, {
             "name": "Latitude_degrees_north",
-            "value": float(self.raw_info[self.files[0]]["Latitude"])
+            "value": float(self.raw_info[self.files[0]]["latitude"])
         }, {
             "name": "Longitude_degrees_east",
-            "value": float(self.raw_info[self.files[0]]["Longtitude"])
+            "value": float(self.raw_info[self.files[0]]["longitude"])
         },
         ]
 

mercurial