Skip to content

L1BQC → L2 Key Error Message #371

@NikolasHeinz

Description

@NikolasHeinz

Hello everyone,

I am currently attempting to reprocess a last year dataset, however, I consistently encounter an error during the Level 2 (L2) processing step, appears to be specifically related to the Zhang uncertainties.

The error is associated with the temperature uncertainties of the Es sensor. This issue did not occur in previous processing attempts using the same dataset.

I am working with a Seabird HyperSAS instrument, configured with a Non-FMR calibration/characterization type and using the internal thermistor as the source for the working temperature.

The error encountered is shown below:


Traceback (most recent call last):
File "C:\Users\CORES\hypercp\Main.py", line 577, in singleL2Clicked
self.processSingle("L2")
File "C:\Users\CORES\hypercp\Main.py", line 546, in processSingle
Controller.processFilesSingleLevel(
File "C:\Users\CORES\hypercp\Source\Controller.py", line 881, in processFilesSingleLevel
Controller.processSingleLevel(pathOut, fp, calibrationMap, level)
File "C:\Users\CORES\hypercp\Source\Controller.py", line 750, in processSingleLevel
root = Controller.processL2(root,outFilePath)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\CORES\hypercp\Source\Controller.py", line 463, in processL2
node = ProcessL2.processL2(root,station)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\CORES\hypercp\Source\ProcessL2.py", line 2063, in processL2
if not ProcessL2.stationsEnsemblesReflectance(node, root,station):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\CORES\hypercp\Source\ProcessL2.py", line 1962, in stationsEnsemblesReflectance
if not ProcessL2.ensemblesReflectance(node, sasGroup, referenceGroup, ancGroup,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\CORES\hypercp\Source\ProcessL2.py", line 1471, in ensemblesReflectance
L1B_UNC = instrument.ClassBased(node, uncGroup, stats)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\CORES\hypercp\Source\ProcessInstrumentUncertainties.py", line 268, in ClassBased
ind_rad_wvl, nan_mask = self.read_uncertainties(
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\CORES\hypercp\Source\ProcessInstrumentUncertainties.py", line 227, in read_uncertainties
cT[s] = self.extract_unc_from_grp(grp=uncGrp,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\CORES\hypercp\Source\ProcessInstrumentUncertainties.py", line 721, in extract_unc_from_grp
return np.asarray(list(ds.columns[col_name]))
~~~~~~~~~~^^^^^^^^^^
KeyError: 'ES_TEMPERATURE_UNCERTAINTIES'


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions