Display layered results; fix read_swash for layered vectors

This commit is contained in:
Edgar P. Burkhart 2022-03-15 13:34:15 +01:00
parent 6d553da093
commit ce3de3f932
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
3 changed files with 86 additions and 10 deletions

View file

@ -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):