Hello, we are running HyperCP for a HyperSAS with Solar Tracker from Heidi Dierssen's lab at UConn. We are persistently getting the following error message ending with "xi is out of bounds in dimension 0" during processing to L2. Please let us know how to correct for this, or what the underlying problem might be with the file(s) that are giving us this error during processing. Thank you!
Contacts:
Jessie Turner (jturners@odu.edu)
Eva Scrivner (mel24004@uconn.edu)
“
Traceback (most recent call last):
File "D:\WAP2024\HyperCP\Main.py", line 575, in multi2Clicked
self.processMulti()
File "D:\WAP2024\HyperCP\Main.py", line 568, in processMulti
Controller.processFilesMultiLevel(
File "D:\WAP2024\HyperCP\Source\Controller.py", line 865, in processFilesMultiLevel
Controller.processSingleLevel(pathOut, fp, calibrationMap, 'L2')
File "D:\WAP2024\HyperCP\Source\Controller.py", line 778, in processSingleLevel
root = Controller.processL2(root,outFilePath)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\WAP2024\HyperCP\Source\Controller.py", line 457, in processL2
node = ProcessL2.processL2(root,station)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\WAP2024\HyperCP\Source\ProcessL2.py", line 2363, in processL2
if not ProcessL2.stationsEnsemblesReflectance(node, root,station):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\WAP2024\HyperCP\Source\ProcessL2.py", line 2252, in stationsEnsemblesReflectance
if not ProcessL2.ensemblesReflectance(node, sasGroup, referenceGroup, ancGroup,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\WAP2024\HyperCP\Source\ProcessL2.py", line 1721, in ensemblesReflectance
rhoScalar, rhoUNC = RhoCorrections.M99Corr(WINDSPEEDXSlice, SZAXSlice, RelAzXSlice,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\WAP2024\HyperCP\Source\RhoCorrections.py", line 78, in M99Corr
zhang, _ = RhoCorrections.ZhangCorr(windSpeedMean, AOD, cloud, SZAMean, wTemp, sal, relAzMean, newWaveBands)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\WAP2024\HyperCP\Source\RhoCorrections.py", line 171, in ZhangCorr
rhoVector = ZhangRho.get_sky_sun_rho(env, sensor, round4cache=True)['rho']
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\WAP2024\HyperCP\Source\ZhangRho.py", line 472, in get_sky_sun_rho
skyrad = interpn_chunked((db['zen_sun'], db['od'], db_idx, db['wv']), skyrad0,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\WAP2024\HyperCP\Source\ZhangRho.py", line 406, in interpn_chunked
cyi[:, :, s:e, :] = interpn(cx, cy, cxi.reshape(-1, ndim)).reshape(cxi.shape[:-1]).T
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\charl\anaconda3\envs\hypercp\Lib\site-packages\scipy\interpolate_rgi.py", line 651, in interpn
raise ValueError("One of the requested xi is out of bounds "
ValueError: One of the requested xi is out of bounds in dimension 0
“
Hello, we are running HyperCP for a HyperSAS with Solar Tracker from Heidi Dierssen's lab at UConn. We are persistently getting the following error message ending with "xi is out of bounds in dimension 0" during processing to L2. Please let us know how to correct for this, or what the underlying problem might be with the file(s) that are giving us this error during processing. Thank you!
Contacts:
Jessie Turner (jturners@odu.edu)
Eva Scrivner (mel24004@uconn.edu)
“
Traceback (most recent call last):
File "D:\WAP2024\HyperCP\Main.py", line 575, in multi2Clicked
self.processMulti()
File "D:\WAP2024\HyperCP\Main.py", line 568, in processMulti
Controller.processFilesMultiLevel(
File "D:\WAP2024\HyperCP\Source\Controller.py", line 865, in processFilesMultiLevel
Controller.processSingleLevel(pathOut, fp, calibrationMap, 'L2')
File "D:\WAP2024\HyperCP\Source\Controller.py", line 778, in processSingleLevel
root = Controller.processL2(root,outFilePath)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\WAP2024\HyperCP\Source\Controller.py", line 457, in processL2
node = ProcessL2.processL2(root,station)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\WAP2024\HyperCP\Source\ProcessL2.py", line 2363, in processL2
if not ProcessL2.stationsEnsemblesReflectance(node, root,station):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\WAP2024\HyperCP\Source\ProcessL2.py", line 2252, in stationsEnsemblesReflectance
if not ProcessL2.ensemblesReflectance(node, sasGroup, referenceGroup, ancGroup,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\WAP2024\HyperCP\Source\ProcessL2.py", line 1721, in ensemblesReflectance
rhoScalar, rhoUNC = RhoCorrections.M99Corr(WINDSPEEDXSlice, SZAXSlice, RelAzXSlice,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\WAP2024\HyperCP\Source\RhoCorrections.py", line 78, in M99Corr
zhang, _ = RhoCorrections.ZhangCorr(windSpeedMean, AOD, cloud, SZAMean, wTemp, sal, relAzMean, newWaveBands)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\WAP2024\HyperCP\Source\RhoCorrections.py", line 171, in ZhangCorr
rhoVector = ZhangRho.get_sky_sun_rho(env, sensor, round4cache=True)['rho']
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\WAP2024\HyperCP\Source\ZhangRho.py", line 472, in get_sky_sun_rho
skyrad = interpn_chunked((db['zen_sun'], db['od'], db_idx, db['wv']), skyrad0,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\WAP2024\HyperCP\Source\ZhangRho.py", line 406, in interpn_chunked
cyi[:, :, s:e, :] = interpn(cx, cy, cxi.reshape(-1, ndim)).reshape(cxi.shape[:-1]).T
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\charl\anaconda3\envs\hypercp\Lib\site-packages\scipy\interpolate_rgi.py", line 651, in interpn
raise ValueError("One of the requested xi is out of bounds "
ValueError: One of the requested xi is out of bounds in dimension 0
“