Skip to content
Snippets Groups Projects
Verified Commit 07e8cde8 authored by David Hoese's avatar David Hoese
Browse files

Fix undefined variable used when handling unwritten variables

parent 529e3591
Branches
No related tags found
No related merge requests found
...@@ -379,7 +379,7 @@ def write_qc_for_unwritten(file_variables, unwritten_vars): ...@@ -379,7 +379,7 @@ def write_qc_for_unwritten(file_variables, unwritten_vars):
continue continue
# if a variable should be in file (database), but isn't in the # if a variable should be in file (database), but isn't in the
# input data then make sure the QC field lists it as all fills # input data then make sure the QC field lists it as all fills
file_variables['qc_' + varName][:] |= 0b1 file_variables['qc_' + unwritten_var][:] |= 0b1
written_vars.append('qc_' + varName) written_vars.append('qc_' + unwritten_var)
return written_vars return written_vars
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment