Skip to content

Commit

Permalink
FIX: Remove warning by using drop_vars instead. (#672)
Browse files Browse the repository at this point in the history
  • Loading branch information
zssherman authored May 12, 2023
1 parent 83ee1e3 commit 8abab8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion act/io/sodar.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def read_mfas_sodar(filepath):

# Drop z as its already a coordinate and give coordinate the same attributes.
ds.height.attrs = ds['z'].attrs
ds = ds.drop('z')
ds = ds.drop_vars('z')

return ds

Expand Down

0 comments on commit 8abab8f

Please sign in to comment.