acisops / acis_thermal_check

0 stars 4 forks source link

Warning in testing for Ska3 Speedy (python 3.11) #69

Open javierggt opened 8 months ago

javierggt commented 8 months ago

We have started testing for the 2024 version of Ska3-flight, code-named Speedy.

The tests failed, but at this time it might be I just need a later version of acis_thermal_check. I will update later.

For now, the following is a warning that might be relevant:

  /export/jgonzale/github-workflows/miniconda3/envs/ska3-flight-2024.0rc7/lib/python3.11/site-packages/acis_thermal_check/acis_obs.py:136: D\
eprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single ele\
ment from your array before performing this operation. (Deprecated NumPy 1.25.)
    app_exp[i] += np.float64(tab_seq["APP_EXP"][j]).sum()

tests/acisfp/test_acisfp_acis.py::test_prediction[MAR0617A]
jeanconn commented 6 months ago

Also noting this other warning here.

tests/acisfp/test_acisfp_viols.py::test_JUN1421A_viols
  /proj/sot/ska3/flight/lib/python3.11/site-packages/numpy/ma/core.py:467: RuntimeWarning: invalid value encountered in cast
    fill_value = np.array(fill_value, copy=False, dtype=ndtype)