Skip to content

Commit

Permalink
add comment, remove extra import
Browse files Browse the repository at this point in the history
  • Loading branch information
smathermather committed Aug 16, 2024
1 parent 90e7b5c commit 8c8ad33
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions opendm/gcp.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import glob
import os
import numpy as np
from opendm import log
from opendm import location
from pyproj import CRS
Expand All @@ -20,8 +19,8 @@ def read(self):

# 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
Expand Down

0 comments on commit 8c8ad33

Please sign in to comment.