Skip to content

Commit

Permalink
fix attributes for fast data
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-richard committed May 9, 2023
1 parent 389d15b commit 1df390e
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion pyrfu/pyrf/dist_append.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,18 @@ def dist_append(inp0, inp1):
else:
energy = np.vstack([inp0.energy.data, inp1.energy.data])

out = ts_skymap(time, data, energy, phi, theta)
out = ts_skymap(
time,
data,
energy,
phi,
theta,
energy0=inp0.energy0,
energy1=inp0.energy1,
esteptable=np.ones(energy.shape[0]),
attrs=data_attrs,
coords_attrs=coords_attrs,
glob_attrs=glob_attrs,
)

return out

0 comments on commit 1df390e

Please sign in to comment.