
14-06-2026 11:28 UTC

This error also happened last night:

I tried to restart the ./process.py -c configuration.ini -d /export/obs/20260613_0/204653/ -m 480 and would give the following output/error.

Now it also occurred with the command ./process.py -c configuration.ini -d /export/obs/20260613_0/204653/ -C 2 -r

Looking at the obs directory, there is a file test.fits, when I rmeove the file I can restart process.py

I have also added the last two files that where being processed when the error happened.

----

Computing astrometric calibration for /export/obs/20260613_0/204653/2026-06-13T2
3-09-54.213.fits
Computing astrometric calibration for /export/obs/20260613_0/204653/2026-06-14T0
1-04-04.447.fits
Calibration succeeded!
Processing with 2 threads
multiprocessing.pool.RemoteTraceback: 
"""
Traceback (most recent call last):
  File "/usr/lib/python3.13/multiprocessing/pool.py", line 125, in worker
    result = (True, func(*args, **kwds))
                    ~~~~^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/multiprocessing/pool.py", line 48, in mapstar
    return list(map(*args))
  File "/home/optical/stvid/./process.py", line 76, in process_loop
    w, rmsx, rmsy, nused, is_calibrated = calibration.calibrate(fname, cfg, acat
, scat, wref, tref)
                                          ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^
  File "/home/optical/stvid/stvid/calibration.py", line 252, in calibrate
    "CD1_1": w.wcs.cd[0, 0], "CD1_2": w.wcs.cd[0, 1],
             ^^^^^^^^
AttributeError: No cd is present.
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/optical/stvid/./process.py", line 389, in <module>
    for result in p.map(process_loop, work):
                  ~~~~~^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/multiprocessing/pool.py", line 367, in map
    return self._map_async(func, iterable, mapstar, chunksize).get()
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/multiprocessing/pool.py", line 774, in get
    raise self._value
AttributeError: No cd is present.

