Skip to content
Snippets Groups Projects
Commit 4a769579 authored by David Hoese's avatar David Hoese
Browse files

Merge branch 'bugfix-frame-creation' into 'master'

Fix undefined variable used when handling unwritten variables

See merge request metobs/MetObsCommon!5
parents 5a31031c 07e8cde8
No related branches found
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 to comment