njcuk9999 / lbl

Line by line code for radial velocity
MIT License
15 stars 3 forks source link

[LBL] Problem with apero_lbl_compile recipe: zero-size array to reduction operation minimum which has no identity #53

Open fgenest1 opened 1 week ago

fgenest1 commented 1 week ago

Same issue that was brought up before (apero-drs issue #752) for the apero_lbl_compile_nirps_ha recipe and reported as fixed. On the day of first noticing this error again (2024-06-26), there were 4 instances of the error. Here is an example of the error message:

class apero.core.core.drs_exceptions.LogExit : LBL Compile Exception [GL666B_GL666B] class lbl.core.base_classes.LblException : Unexpected lbl_compile.py error: class ValueError : zero-size array to reduction operation minimum which has no identity LBL Compile Exception [GL666B_GL514] class lbl.core.base_classes.LblException : Unexpected lbl_compile.py error: class ValueError : zero-size array to reduction operation minimum which has no identity ||

Here is a longer version of the error messages taken from the log file:

01:20:27.718-**|LBLCOMPILE_SCI[00179]|7 DTEMP files found.
01:20:27.727-**|LBLCOMPILE_SCI[00179]|Running LBL compile for GL666B_GL666B
01:20:34.378-**|LBLCOMPILE_SCI[00179]|Running LBL compile for GL666B_GL514
01:20:37.277-**|LBLCOMPILE_SCI[00179]|I[40-005-10001]: QUALITY CONTROL SUCCESSFUL - Well Done -
01:20:37.349-!!|LBLCOMPILE_SCI[00179]|LBL Compile Exception [GL666B_GL666B] <class 'lbl.core.base_classes.LblException'>: Unexpected lbl_compile.py error: <class 'ValueError'>: zero-size array to reduction operation minimum which has no identity
01:20:37.350-!!|LBLCOMPILE_SCI[00179]|
01:20:37.351-!!|LBLCOMPILE_SCI[00179]|LBL Compile Exception [GL666B_GL514] <class 'lbl.core.base_classes.LblException'>: Unexpected lbl_compile.py error: <class 'ValueError'>: zero-size array to reduction operation minimum which has no identity
01:20:37.361-!!|LBLCOMPILE_SCI[00179]|Traceback (most recent call last):
01:20:37.362-!!|LBLCOMPILE_SCI[00179]|  File "/cosmos99/nirps/git-bin/apero-drs-online/apero/core/utils/drs_startup.py", line 433, in run
01:20:37.363-!!|LBLCOMPILE_SCI[00179]|    llmain = func(recipe, params)
01:20:37.364-!!|LBLCOMPILE_SCI[00179]|  File "/cosmos99/nirps/git-bin/apero-drs-online/apero/recipes/nirps_ha/apero_lbl_compile_nirps_ha.py", line 231, in __main__
01:20:37.365-!!|LBLCOMPILE_SCI[00179]|    WLOG(params, 'error', '\n\n'.join(errors))
01:20:37.366-!!|LBLCOMPILE_SCI[00179]|  File "/cosmos99/nirps/git-bin/apero-drs-online/apero/core/core/drs_log.py", line 428, in __call__
01:20:37.367-!!|LBLCOMPILE_SCI[00179]|    raise drs_exceptions.LogExit(errorstring)
01:20:37.368-!!|LBLCOMPILE_SCI[00179]|apero.core.core.drs_exceptions.LogExit: LBL Compile Exception [GL666B_GL666B] <class 'lbl.core.base_classes.LblException'>: Unexpected lbl_compile.py error: <class 'ValueError'>: zero-size array to reduction operation minimum which has no identity
01:20:37.368-!!|LBLCOMPILE_SCI[00179]|
01:20:37.369-!!|LBLCOMPILE_SCI[00179]|LBL Compile Exception [GL666B_GL514] <class 'lbl.core.base_classes.LblException'>: Unexpected lbl_compile.py error: <class 'ValueError'>: zero-size array to reduction operation minimum which has no identity
01:20:37.370-!!|LBLCOMPILE_SCI[00179]|
01:20:37.371-!!|LBLCOMPILE_SCI[00179]|
01:20:37.384-**|LBLCOMPILE_SCI[00179]| ***************************************************************************
01:20:37.393-@!|LBLCOMPILE_SCI[00179]|W[40-003-00005]: Recipe apero_lbl_compile_nirps_ha has NOT been successfully completed
01:20:37.402-**|LBLCOMPILE_SCI[00179]| ***************************************************************************