Reformat in read_mat
This commit is contained in:
parent
65c8ac67cd
commit
c08933a472
2 changed files with 4 additions and 4 deletions
|
@ -11,5 +11,5 @@ mpi=8
|
|||
inp=inp_post/real_spec_interp_nb
|
||||
#compare=
|
||||
out=out_post/real_spec_interp_nb
|
||||
x0=-1250
|
||||
x0=-250
|
||||
t0=180
|
||||
|
|
|
@ -72,9 +72,9 @@ class ReadSwash:
|
|||
[
|
||||
raw[i0][0]
|
||||
for i0 in np.char.add(
|
||||
np.char.replace(f"{var_name}[]_", "[]", np.arange(*ra).astype("U1"))[
|
||||
None, :
|
||||
],
|
||||
np.char.replace(
|
||||
f"{var_name}[]_", "[]", np.arange(*ra).astype("U1")
|
||||
)[None, :],
|
||||
self._i[:, None],
|
||||
).reshape(-1)
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue