Skip to content

Commit

Permalink
Use documented attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
magnusuMET authored and lewisblake committed Nov 8, 2024
1 parent c0314a1 commit 234f859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyaerocom/io/pyaro/read_pyaro.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def _convert_to_ungriddeddata(self, pyaro_data: dict[str, Data]) -> UngriddedDat
var_size = {var: len(pyaro_data[var]) for var in pyaro_data}
vars = list(pyaro_data.keys())
total_size = sum(list(var_size.values()))
units = {var: {"units": pyaro_data[var]._units} for var in pyaro_data}
units = {var: {"units": pyaro_data[var].units} for var in pyaro_data}

# Object necessary for ungriddeddata
var_idx = {var: i for i, var in enumerate(vars)}
Expand Down

0 comments on commit 234f859

Please sign in to comment.