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
|
inp=inp_post/real_spec_interp_nb
|
||||||
#compare=
|
#compare=
|
||||||
out=out_post/real_spec_interp_nb
|
out=out_post/real_spec_interp_nb
|
||||||
x0=-1250
|
x0=-250
|
||||||
t0=180
|
t0=180
|
||||||
|
|
|
@ -72,9 +72,9 @@ class ReadSwash:
|
||||||
[
|
[
|
||||||
raw[i0][0]
|
raw[i0][0]
|
||||||
for i0 in np.char.add(
|
for i0 in np.char.add(
|
||||||
np.char.replace(f"{var_name}[]_", "[]", np.arange(*ra).astype("U1"))[
|
np.char.replace(
|
||||||
None, :
|
f"{var_name}[]_", "[]", np.arange(*ra).astype("U1")
|
||||||
],
|
)[None, :],
|
||||||
self._i[:, None],
|
self._i[:, None],
|
||||||
).reshape(-1)
|
).reshape(-1)
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue