Commit 3323f0b7 authored by luroth's avatar luroth
Browse files

.

parent 01e7b473
...@@ -453,11 +453,11 @@ def main(argv): ...@@ -453,11 +453,11 @@ def main(argv):
print("\nwrite pixel matrix to TIFF") print("\nwrite pixel matrix to TIFF")
gdalnumeric.SaveArray(np.fliplr(ground_pixel_coords_x_interpol.T), os.path.join(output_directory, PhotoID + '_metadata_coord_x.tif'), format='GTiff' ) gdalnumeric.SaveArray(np.array(np.fliplr(ground_pixel_coords_x_interpol.T), dtype=np.float32), os.path.join(output_directory, PhotoID + '_metadata_coord_x.tif'), format='GTiff', )
gdalnumeric.SaveArray(np.fliplr(ground_pixel_coords_y_interpol.T), os.path.join(output_directory, PhotoID + '_metadata_coord_y.tif'), format='GTiff' ) gdalnumeric.SaveArray(np.array(np.fliplr(ground_pixel_coords_y_interpol.T), dtype=np.float32), os.path.join(output_directory, PhotoID + '_metadata_coord_y.tif'), format='GTiff' )
gdalnumeric.SaveArray(np.fliplr(ground_pixel_coords_z_interpol.T), os.path.join(output_directory, PhotoID + '_metadata_coord_z.tif'), format='GTiff' ) gdalnumeric.SaveArray(np.array(np.fliplr(ground_pixel_coords_z_interpol.T), dtype=np.float32), os.path.join(output_directory, PhotoID + '_metadata_coord_z.tif'), format='GTiff' )
gdalnumeric.SaveArray(np.fliplr(ground_pixel_angle_xy_interpol.T), os.path.join(output_directory, PhotoID + '_metadata_angle_xy.tif'), format='GTiff' ) gdalnumeric.SaveArray(np.array(np.fliplr(ground_pixel_angle_xy_interpol.T), dtype=np.float32), os.path.join(output_directory, PhotoID + '_metadata_angle_xy.tif'), format='GTiff' )
gdalnumeric.SaveArray(np.fliplr(ground_pixel_angle_z_interpol.T), os.path.join(output_directory, PhotoID + '_metadata_angle_z.tif'), format='GTiff' ) gdalnumeric.SaveArray(np.array(np.fliplr(ground_pixel_angle_z_interpol.T), dtype=np.float32), os.path.join(output_directory, PhotoID + '_metadata_angle_z.tif'), format='GTiff' )
print("\nDONE\n") print("\nDONE\n")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment