Skip to content

Commit

Permalink
#411 remove para. in domain.py
Browse files Browse the repository at this point in the history
  • Loading branch information
azamifard committed Mar 10, 2021
1 parent bb3d8d8 commit a370093
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nansat/domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def __repr__(self):
"""
corners_temp = '\t (%6.2f, %6.2f) (%6.2f, %6.2f)\n'
wkt, src = self.vrt.get_projection()
out_str = 'Domain:[%d x %d]\n' % self.shape()[::-1]
out_str = 'Domain:[%d x %d]\n' % self.shape[::-1]
out_str += self.OUTPUT_SEPARATOR
corners = self.get_corners()
out_str += 'Projection(%s):\n' % src
Expand Down Expand Up @@ -553,7 +553,7 @@ def get_border(self, n_points=10, fix_lon=True, **kwargs):
vectors with lon/lat values for each point at the border
"""
x_size, y_size = self.shape()[::-1]
x_size, y_size = self.shape[::-1]
x_rc_vec = Domain._get_row_col_vector(x_size, n_points)
y_rc_vec = Domain._get_row_col_vector(y_size, n_points)
col_vec, row_vec = Domain._compound_row_col_vectors(x_size, y_size, x_rc_vec, y_rc_vec)
Expand Down

0 comments on commit a370093

Please sign in to comment.