add comment, remove extra import

pull/1795/head
Stephen Mather 2024-08-16 11:24:42 -04:00
rodzic 90e7b5c3d6
commit 8c8ad3316d
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -1,6 +1,5 @@
import glob
import os
import numpy as np
from opendm import log
from opendm import location
from pyproj import CRS
@ -20,8 +19,8 @@ class GCPFile:
# Strip eventual BOM characters
contents = contents.replace('\ufeff', '')
# Replace NaN with 0
contents = contents.replace('NaN', '0')
lines = list(map(str.strip, contents.split('\n')))
if lines:
self.raw_srs = lines[0] # SRS