Skip to content

Commit

Permalink
add alt_source to l3
Browse files Browse the repository at this point in the history
  • Loading branch information
hgloeckner committed Feb 7, 2025
1 parent 794ccb8 commit 644ed93
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pydropsonde/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1593,7 +1593,7 @@ def add_qc_to_interim_l3(self, keep=None):
keep = (
[f"{var}_qc" for var in list(self.qc.qc_by_var.keys())]
+ list(self.qc.qc_details.keys())
+ ["alt_near_gpsalt"]
+ ["alt_near_gpsalt", "altitude_source"]
)
for variable in self.qc.qc_vars:
ds = self.qc.add_variable_flags_to_ds(ds, variable, details=True)
Expand All @@ -1609,6 +1609,7 @@ def add_qc_to_interim_l3(self, keep=None):
ds = self.qc.add_variable_flags_to_ds(
ds, "ta", add_to="theta", details=True
)
ds = self.qc.add_non_var_qc_to_ds(ds)
elif keep == "var_flags":
keep = [f"{var}_qc" for var in list(self.qc.qc_by_var.keys())] + [
"sonde_qc"
Expand Down

0 comments on commit 644ed93

Please sign in to comment.