Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion flopy/export/netcdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ def initialize_geometry(self):

self.log("building grid crs using proj4 string: {}".format(proj4_str))
try:
self.grid_crs = Proj(proj4_str, preserve_units=True, errcheck=True)
self.grid_crs = Proj(proj4_str, preserve_units=True)

except Exception as e:
self.log("error building grid crs:\n{0}".format(str(e)))
Expand Down
4 changes: 1 addition & 3 deletions flopy/utils/reference.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,7 @@ def _parse_units_from_proj4(self):
if "EPSG" in self.proj4_str.upper():
import pyproj

crs = pyproj.Proj(self.proj4_str,
preserve_units=True,
errcheck=True)
crs = pyproj.Proj(self.proj4_str, preserve_units=True)
proj_str = crs.srs
else:
proj_str = self.proj4_str
Expand Down