Bug fix: wrong dicionary name.

Fri, 16 Feb 2018 08:43:23 +0200

author
Iannis <i.binietoglou@impworks.gr>
date
Fri, 16 Feb 2018 08:43:23 +0200
changeset 123
0c7d3ef1dd34
parent 122
1456119a46b5
child 124
a1788b77f33b

Bug fix: wrong dicionary name.

atmospheric_lidar/diva.py file | annotate | diff | comparison | revisions
--- a/atmospheric_lidar/diva.py	Fri Feb 09 13:23:06 2018 +0200
+++ b/atmospheric_lidar/diva.py	Fri Feb 16 08:43:23 2018 +0200
@@ -79,10 +79,10 @@
             altitude.units = 'm'
 
             # Assign top-level variables
-            latitude[:] = global_parameters['latitude']
-            longitude[:] = global_parameters['longitutde']
-            laser_angle[:] = global_parameters['laser_pointing_angle']
-            altitude[:] = global_parameters['system_altitude']
+            latitude[:] = global_variables['latitude']
+            longitude[:] = global_variables['longitude']
+            laser_angle[:] = global_variables['laser_pointing_angle']
+            altitude[:] = global_variables['system_altitude']
 
             # Optional ancillary group
             ancillary = f.createGroup('ancillary')

mercurial