diff --git a/dhitools/dfs.py b/dhitools/dfs.py index 80ba57c..f014f90 100644 --- a/dhitools/dfs.py +++ b/dhitools/dfs.py @@ -78,7 +78,7 @@ def summary(self): """ print("Input file: {}".format(self.filename)) print("Time start = {}".format(dt.datetime.strftime(self.start_datetime, - "%d/%m/%Y %H:%M:%S"))) + "%Y/%m/%d %H:%M:%S"))) print("Number of timesteps = {}".format(self.number_tstep)) print("Timestep = {}".format(self.timestep)) print("Number of items = {}".format(self.num_items)) @@ -97,6 +97,7 @@ def summary(self): print("(del_X, del_Y) = ({}, {})".format(self.del_x, self.del_y)) print("(X_min, Y_min) = ({}, {})".format(self.x_min, self.y_min)) print("(X_max, Y_max) = ({}, {})".format(self.x_max, self.y_max)) + print("Angle to North = {} ".format(self.orientation)) print("") print("Items:") @@ -333,6 +334,7 @@ def _read_dfs2(self, dfs2_object, close=True): self.del_y = sa.Dy self.y_count = sa.YCount self.y_max = self.y_min + (self.del_y * self.y_count) + self.orientation = fi.Projection.Orientation self.gridshape = (self.y_count, self.x_count) self.X, self.Y = np.meshgrid(np.arange(self.x_min, self.x_max, self.del_x),