Skip to content

Commit

Permalink
Merge pull request nasa#108 from AlexisDeru/dev
Browse files Browse the repository at this point in the history
fix trios unit
  • Loading branch information
oceancolorcoder authored Oct 27, 2023
2 parents b81a26d + f656727 commit 37ab56d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Source/ProcessInstrumentUncertainties.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,10 @@ def Default(self, uncGrp: HDFGroup, stats: dict) -> dict[str, np.array]:
stab.datasetToColumns()
cStab[sensor] = np.asarray(list(stab.columns['1']))

Coeff[sensor] = np.asarray(list(radcal.columns['2']))
if ConfigFile.settings['SensorType'].lower() == "trios":
Coeff[sensor] = np.asarray(list(radcal.columns['2']))/10
elif ConfigFile.settings['SensorType'].lower() == "seabird":
Coeff[sensor] = np.asarray(list(radcal.columns['2']))
Cal[sensor] = np.asarray(list(radcal.columns['3']))

# TODO: temporary fix angular for ES is written as ES_POL
Expand Down Expand Up @@ -294,7 +297,7 @@ def Default(self, uncGrp: HDFGroup, stats: dict) -> dict[str, np.array]:
ones, ones, ones,
ones, ones, ones,
ones, ones, ones]

uncertainty = [stats['ES']['std_Light'], esstdDark,
stats['LI']['std_Light'], listdDark,
stats['LT']['std_Light'], ltstdDark,
Expand Down

0 comments on commit 37ab56d

Please sign in to comment.