Skip to content

PIU PR #387 PIU/BaseInstrument.py #388

@oceancolorcoder

Description

@oceancolorcoder

@ARamsay17

First test on sample_pySAS, sensor-specific regime:

FRM Processing, ES
FRM Processing, LI
FRM Processing, LT
Traceback (most recent call last):
File "/Users/daurin/GitRepos/HyperCP/Main.py", line 641, in multi2Clicked
self.processMulti()
File "/Users/daurin/GitRepos/HyperCP/Main.py", line 634, in processMulti
Controller.processFilesMultiLevel(
File "/Users/daurin/GitRepos/HyperCP/Source/Controller.py", line 852, in processFilesMultiLevel
Controller.processSingleLevel(pathOut, fp, calibrationMap, 'L2')
File "/Users/daurin/GitRepos/HyperCP/Source/Controller.py", line 772, in processSingleLevel
root = Controller.processL2(root,outFilePath)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/daurin/GitRepos/HyperCP/Source/Controller.py", line 470, in processL2
node = ProcessL2.processL2(root,station)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/daurin/GitRepos/HyperCP/Source/ProcessL2.py", line 1876, in processL2
if not ProcessL2.stationsEnsemblesReflectance(node, root,station):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/daurin/GitRepos/HyperCP/Source/ProcessL2.py", line 1768, in stationsEnsemblesReflectance
if not ProcessL2.ensemblesReflectance(node, sasGroup, referenceGroup, ancGroup,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/daurin/GitRepos/HyperCP/Source/ProcessL2.py", line 1412, in ensemblesReflectance
x_unc = sensor.FRML2(rho_scalar, rho_vec, rho_unc, wavelengths, x_slice, x_breakdown_corr, x_breakdown_unc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/daurin/GitRepos/HyperCP/Source/PIU/BaseInstrument.py", line 466, in FRML2
PDS.coeff[s]["radcal_wvl"],
^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'coeff'

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