example_scripts/convert_ipral.py

changeset 168
9fed2446a59f
parent 92
6d26002aaeed
--- a/example_scripts/convert_ipral.py	Fri Nov 02 16:24:47 2018 +0200
+++ b/example_scripts/convert_ipral.py	Wed Nov 28 22:27:28 2018 +0200
@@ -62,13 +62,13 @@
 
     if files:
         # Read the files
-        print "Reading {0} files from {1}".format(len(files), args.directory)
+        print("Reading {0} files from {1}".format(len(files), args.directory))
         measurement = ipral.IpralLidarMeasurement(files)
 
         #Save the netcdf
-        print "Saving netcdf."
+        print("Saving netcdf.")
         measurement.set_measurement_id(args.measurement_id, args.measurement_number)
         measurement.save_as_SCC_netcdf()
-        print "Created file ", measurement.scc_filename
+        print("Created file ", measurement.scc_filename)
     else:
-        print "No files found when searching for ", search_str
\ No newline at end of file
+        print("No files found when searching for ", search_str)
\ No newline at end of file

mercurial