Display layered results; fix read_swash for layered vectors
This commit is contained in:
parent
6d553da093
commit
ce3de3f932
3 changed files with 86 additions and 10 deletions
|
@ -41,7 +41,7 @@ class ReadSwash:
|
|||
return self.read_nohead(path).reshape((self._n_t, -1, self._n_x))
|
||||
|
||||
def read_vector_lay(self, path):
|
||||
return self.read_nohead(path).reshape((self._n_t, 2, -1, self._n_x))
|
||||
return self.read_nohead(path).reshape((self._n_t, -1, 2, self._n_x))
|
||||
|
||||
@property
|
||||
def t(self):
|
||||
|
|
Reference in a new issue