Skip to content

L1A->L1AQC error message #344

@jaanus123

Description

@jaanus123

Running into this error on some stations at L1A -> L1AQC step. This is for TriOS instruments, Full FRM Characterization has been used.
Error message:
Traceback (most recent call last):
File "C:\Users\ianandre\Desktop\Hypercp\main.py", line 571, in multi2Clicked
self.processMulti()
File "C:\Users\ianandre\Desktop\Hypercp\main.py", line 564, in processMulti
Controller.processFilesMultiLevel(
File "C:\Users\ianandre\Desktop\Hypercp\Source\Controller.py", line 852, in processFilesMultiLevel
if Controller.processSingleLevel(pathOut, fp, calibrationMap, 'L1AQC'):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ianandre\Desktop\Hypercp\Source\Controller.py", line 637, in processSingleLevel
root = Controller.processL1aqc(inFilePath, outFilePath, calibrationMap, ancillaryData)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ianandre\Desktop\Hypercp\Source\Controller.py", line 342, in processL1aqc
root = ProcessL1aqc.processL1aqc(root, calibrationMap, ancillaryData)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ianandre\Desktop\Hypercp\Source\ProcessL1aqc.py", line 308, in processL1aqc
sunAzimuthAnc.append(get_azimuth(latAnc[i],lonAnc[i],dt_utc,0))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ianandre\AppData\Local\anaconda3\envs\hypercp\Lib\site-packages\pysolar\tzinfo_check.py", line 93, in func_with_check
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ianandre\AppData\Local\anaconda3\envs\hypercp\Lib\site-packages\pysolar\solar.py", line 157, in get_azimuth
get_topocentric_position(latitude_deg, longitude_deg, when, elevation)
File "C:\Users\ianandre\AppData\Local\anaconda3\envs\hypercp\Lib\site-packages\pysolar\tzinfo_check.py", line 93, in func_with_check
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ianandre\AppData\Local\anaconda3\envs\hypercp\Lib\site-packages\pysolar\solar.py", line 60, in get_topocentric_position
projected_radial_distance = get_projected_radial_distance(elevation, latitude_deg)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ianandre\AppData\Local\anaconda3\envs\hypercp\Lib\site-packages\pysolar\solar.py", line 313, in get_projected_radial_distance
flattened_latitude_rad = math.radians(get_flattened_latitude(latitude))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ianandre\AppData\Local\anaconda3\envs\hypercp\Lib\site-packages\pysolar\solar.py", line 209, in get_flattened_latitude
latitude_rad = math.radians(latitude)
^^^^^^^^^^^^^^^^^^^^^^
TypeError: ufunc 'radians' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''

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