Skip to content

Commit

Permalink
fix location of FIELDNAM attribute in Dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-richard committed Jun 20, 2023
1 parent ece1688 commit 76679e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyrfu/mms/psd_moments.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def psd_moments(vdf, sc_pot, **kwargs):
vdf.data.data *= 1e12

# Check if data is fast or burst resolution
field_name = vdf.attrs["FIELDNAM"]
field_name = vdf.data.attrs["FIELDNAM"]

if "brst" in field_name:
is_brst_data = True
Expand Down

0 comments on commit 76679e5

Please sign in to comment.