@@ -29,7 +29,7 @@ def initUI(self):
2929 # SERIAL NUMBERS and cl/char files needed for full FRM case
3030 # NB: This is needed only for FRM regimes (class and full)
3131 ConfigFile .settings ['neededCalCharsFRM' ] = {}
32- if ConfigFile .settings ['SensorType' ].lower == 'trios' :
32+ if ConfigFile .settings ['SensorType' ].lower () == 'trios' :
3333 for k ,v in ConfigFile .settings ['CalibrationFiles' ].items ():
3434 # sensorType is frameType only for TriOS
3535 sensorType = v ['frameType' ]
@@ -110,20 +110,20 @@ def initUI(self):
110110
111111 # Class
112112 self .ClassCalRadioButton = QtWidgets .QRadioButton (
113- f"FRM Class-Specific characterisation coefficients (in /Data/Class_Based_Characterizations/{ ConfigFile .settings ['SensorType' ]} )\n "
114- " NB: Sensor-Specific calibrations with uncertainties in the FidRadDB format required" )
113+ f"FRM Class-Specific characterisations \n " # (in /Data/Class_Based_Characterizations/{ConfigFile.settings['SensorType']})\n"
114+ " Sensor-Specific cal/char files with uncertainties in FidRadDB format required" )
115115 self .ClassCalRadioButton .setAutoExclusive (False )
116116 self .ClassCalRadioButton .clicked .connect (self .ClassCalRadioButtonClicked )
117117
118118 # Full
119119 self .FullCalRadioButton = QtWidgets .QRadioButton (
120- "FRM Sensor-Specific characterisation coefficients (highest quality)\n "
121- " NB: Sensor-Specific calibrations with uncertainties and characterizations in the FidRadDB format required" )
120+ "FRM Sensor-Specific characterisations (highest quality)\n "
121+ " Sensor-Specific calibrations with uncertainties in FidRadDB format required" )
122122 self .FullCalRadioButton .setAutoExclusive (False )
123123 self .FullCalRadioButton .clicked .connect (self .FullCalRadioButtonClicked )
124124
125125 # Disable FRM regimes for DALEC for the moment.
126- if ConfigFile .settings ['SensorType' ] == 'Dalec ' :
126+ if ConfigFile .settings ['SensorType' ]. lower () == 'dalec ' :
127127 self .ClassCalRadioButton .setDisabled (True )
128128 self .FullCalRadioButton .setDisabled (True )
129129
@@ -136,14 +136,14 @@ def initUI(self):
136136 self .FullCalRadioButton .setChecked (True )
137137
138138 # Check completeness of calibration directory according to selected cal/char regime
139- CalLabel2 = QtWidgets .QLabel ("If FRM cal-char regime selected, then ..." , self )
139+ FidRadDB_link = '<a href="https://ocdb.eumetsat.int/docs/fidrad-database.html">FidRadDB-formatted</a>'
140+ CalLabel2 = QtWidgets .QLabel ("Checking for required {FidRadDB_link} cal/char files:" , self )
140141 CalLabel2_font = CalLabel2 .font ()
141142 CalLabel2_font .setPointSize (12 )
142143 CalLabel2_font .setBold (True )
143144 CalLabel2 .setFont (CalLabel2_font )
144145
145- FidRadDB_link = '<a href="https://ocdb.eumetsat.int/docs/fidrad-database.html">FidRadDB-formatted</a>'
146- CalLabel2a = QtWidgets .QLabel (f'Checking for required { FidRadDB_link } cal/char files in: <br> { self .path_FidRadDB } ' , self )
146+ # CalLabel2a = QtWidgets.QLabel(f'Checking for required {FidRadDB_link} cal/char files in: <br> {self.path_FidRadDB}', self)
147147 # CalLabel2a_font = CalLabel2a.font()
148148 # CalLabel2a_font.setPointSize(9)
149149 # CalLabel2a_font.setBold(False)
@@ -155,19 +155,19 @@ def initUI(self):
155155 # CalLabel2b_font.setBold(False)
156156 # CalLabel2b.setFont(CalLabel2b_font)
157157
158- CalLabel2cES = QtWidgets .QLabel ("Downwelling irradiance, ES " , self )
158+ CalLabel2cES = QtWidgets .QLabel (" Es: " , self )
159159 # CalLabel2cES_font = CalLabel2cES.font()
160160 # CalLabel2cES_font.setPointSize(9)
161161 # CalLabel2cES_font.setBold(False)
162162 # CalLabel2cES.setFont(CalLabel2cES_font)
163163
164- CalLabel2cLT = QtWidgets .QLabel ("Total water radiance, LT (water) " , self )
164+ CalLabel2cLT = QtWidgets .QLabel (" Lt: " , self )
165165 # CalLabel2cLT_font = CalLabel2cLT.font()
166166 # CalLabel2cLT_font.setPointSize(9)
167167 # CalLabel2cLT_font.setBold(False)
168168 # CalLabel2cLT.setFont(CalLabel2cLT_font)
169169
170- CalLabel2cLI = QtWidgets .QLabel ("Sky radiance, LI (sky) " , self )
170+ CalLabel2cLI = QtWidgets .QLabel (" Li: " , self )
171171 # CalLabel2cLI_font = CalLabel2cLI.font()
172172 # CalLabel2cLI_font.setPointSize(9)
173173 # CalLabel2cLI_font.setBold(False)
@@ -291,7 +291,7 @@ def initUI(self):
291291
292292 # UT/FidRadDB files location
293293 VBox .addWidget (CalLabel2 )
294- VBox .addWidget (CalLabel2a )
294+ # VBox.addWidget(CalLabel2a)
295295 # VBox.addWidget(CalLabel2b)
296296
297297 # Check cal/char files: Es
0 commit comments