Skip to content

Commit

Permalink
Don't include extra meta cols
Browse files Browse the repository at this point in the history
  • Loading branch information
zmoon committed Sep 24, 2024
1 parent cd52a71 commit a351a42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions melodies_monet/_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1161,6 +1161,7 @@ def get_aqs(
ds = (
df[cols]
.drop(columns=[vn for vn in site_vns if vn != "siteid"])
.drop(columns=[col for col in df.columns if col.endswith("_meta")])
.drop_duplicates(["time", "siteid"], keep="first")
.set_index(["time", "siteid"])
.to_xarray()
Expand Down

0 comments on commit a351a42

Please sign in to comment.