pyobs-core 2.28.2__tar.gz → 2.29.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/PKG-INFO +1 -1
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/application.py +32 -4
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/cli/pyobs.py +14 -1
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/cli/pyobsd.py +215 -33
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/mixins/coolingramp.py +49 -3
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/constraints/__init__.py +2 -0
- pyobs_core-2.29.0/pyobs/robotic/scheduler/constraints/timeofdayconstraint.py +66 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/merits/__init__.py +0 -2
- pyobs_core-2.29.0/pyobs/utils/shutdown.py +191 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyproject.toml +1 -1
- pyobs_core-2.28.2/pyobs/robotic/scheduler/merits/timeofday.py +0 -54
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/.gitignore +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/LICENSE +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/README.md +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/background_task.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/cli/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/cli/_cli.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/cli/pyobsw.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/comm/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/comm/comm.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/comm/commlogging.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/comm/dummy/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/comm/dummy/dummycomm.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/comm/local/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/comm/local/localcomm.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/comm/local/localnetwork.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/comm/proxy.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/comm/xmpp/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/comm/xmpp/rpc.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/comm/xmpp/serializer.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/comm/xmpp/xep_0009/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/comm/xmpp/xep_0009/rpc.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/comm/xmpp/xep_0009_timeout/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/comm/xmpp/xep_0009_timeout/rpc.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/comm/xmpp/xep_0009_timeout/stanza/RPC.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/comm/xmpp/xep_0009_timeout/stanza/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/comm/xmpp/xmppclient.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/comm/xmpp/xmppcomm.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/events/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/events/badweather.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/events/event.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/events/exposurestatuschanged.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/events/filewritten.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/events/filterchanged.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/events/focusfound.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/events/goodweather.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/events/log.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/events/modechanged.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/events/moduleclosed.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/events/moduleopened.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/events/motionstatuschanged.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/events/move.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/events/newdata.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/events/newimage.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/events/newspectrum.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/events/offsets.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/events/roofclosing.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/events/roofopened.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/events/taskfailed.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/events/taskfinished.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/events/taskskipped.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/events/taskstarted.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/events/testevent.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/image.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/meta/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/meta/altazoffsets.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/meta/datapipeline.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/meta/exptime.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/meta/genericoffset.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/meta/onskydistance.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/meta/pixeloffsets.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/meta/radecoffsets.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/meta/skyoffsets.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processor.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/_daobackgroundremover.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/annotation/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/annotation/_pillow.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/annotation/circle.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/annotation/crosshair.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/annotation/text.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/astrometry/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/astrometry/_dotnet_request.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/astrometry/_dotnet_request_builder.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/astrometry/_dotnet_request_logger.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/astrometry/_dotnet_response_saver.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/astrometry/astrometry.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/astrometry/dotnet.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/calibration/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/calibration/_calibration_cache.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/calibration/_ccddata_calibrator.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/calibration/calibration.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/detection/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/detection/_pysep_stats_calculator.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/detection/_source_catalog.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/detection/daophot.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/detection/pysep.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/detection/simpledisk.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/detection/sourcedetection.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/exptime/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/exptime/exptime.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/exptime/star.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/image/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/image/addfitsheaders.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/image/download.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/image/flip.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/image/grayscale.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/image/httpserver.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/image/normalize.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/image/save.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/image/saveimage.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/image/smooth.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/image/softbin.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/misc/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/misc/addmask.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/misc/catalogcircularmask.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/misc/circularmask.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/misc/createfilename.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/misc/imagesourcefilter.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/misc/removebackground.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/modules/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/modules/getfitsheaders.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/offsets/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/offsets/astrometry.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/offsets/brighteststar.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/offsets/brighteststar_guiding.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/offsets/dummyoffsets.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/offsets/dummyskyoffsets.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/offsets/fitsheader.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/offsets/offsets.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/offsets/pixeloffsets.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/offsets/projected.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/offsets/spilled_light.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/photometry/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/photometry/_photometry_calculator.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/photometry/_photutil_aperture_photometry.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/photometry/_sep_aperture_photometry.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/photometry/aperture_photometry.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/photometry/photometry.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/photometry/photutil.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/photometry/pysep.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/stack/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/stack/combinestack.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/stack/mean.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/stack/median.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/stack/sigmaclip.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/stack/sum.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/wcs/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/images/processors/wcs/solarhelioprojective.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IAbortable.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IAcquisition.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IAutoFocus.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IAutoGuiding.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IAutonomous.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IBinning.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/ICalibrate.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/ICamera.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IConfig.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/ICooling.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IData.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IDataPipeline.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IDataSequence.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IDataStack.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IDome.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IExposure.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IExposureTime.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IFilters.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IFitsHeaderAfter.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IFitsHeaderBefore.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IFlatField.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IFocusModel.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IFocuser.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IGain.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IImageFormat.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IImageType.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IMode.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IModule.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IMotion.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IMultiFiber.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IOffsetsAltAz.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IOffsetsRaDec.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IPointingAltAz.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IPointingBody.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IPointingHeliocentricPolar.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IPointingHeliographicStonyhurst.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IPointingHelioprojective.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IPointingOrbitalElements.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IPointingRaDec.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IPointingSeries.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IPushNotifications.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IReady.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IResettable.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IRobotic.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IRoboticScheduler.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IRoof.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IRotation.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IRunnable.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IRunning.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IScriptRunner.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/ISpectrograph.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IStartStop.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IStructuredConfig.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/ISyncTarget.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/ITelescope.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/ITemperatures.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/ITrackingMode.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/ITrackingRate.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IVideo.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IWeather.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/IWindow.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/interfaces/interface.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/mixins/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/mixins/camerasettings.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/mixins/datapipeline.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/mixins/datasequence.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/mixins/fitsheader.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/mixins/fitsnamespace.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/mixins/follow.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/mixins/motionstatus.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/mixins/pipeline.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/mixins/waitformotion.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/mixins/weatheraware.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/camera/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/camera/adaptive.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/camera/basecamera.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/camera/basedata.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/camera/basespectrograph.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/camera/basevideo.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/camera/dummycamera.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/camera/dummyspectrograph.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/camera/dummyvideo.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/camera/pipelinecamera.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/camera/videoframes.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/flatfield/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/flatfield/flatfield.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/flatfield/pointing.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/flatfield/scheduler.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/focus/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/focus/dummyautofocus.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/focus/focusmodel.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/focus/focusseries.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/image/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/image/imagewatcher.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/image/imagewriter.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/image/pipeline.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/image/seeing.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/module.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/pointing/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/pointing/_base.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/pointing/_baseguiding.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/pointing/acquisition.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/pointing/autoguiding.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/pointing/dummyacquisition.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/pointing/dummyguiding.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/pointing/guidingsource.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/pointing/guidingstatistics/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/pointing/guidingstatistics/guidingstatistics.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/pointing/guidingstatistics/pixeloffset.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/pointing/guidingstatistics/skyoffsets.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/pointing/guidingstatistics/uptime.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/pointing/scienceframeguiding.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/robotic/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/robotic/dummymastermind.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/robotic/dummyscheduler.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/robotic/mastermind.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/robotic/pointing.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/robotic/scheduler.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/robotic/scriptrunner.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/roof/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/roof/basedome.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/roof/baseroof.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/roof/dummyroof.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/telescope/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/telescope/_dummytelescopebase.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/telescope/basetelescope.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/telescope/dummyaltaztelescope.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/telescope/dummyradectelescope.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/telescope/dummysolartelescope.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/test/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/test/standalone.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/utils/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/utils/dummymode.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/utils/dummystructuredconfig.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/utils/fluentlogger.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/utils/httpfilecache.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/utils/kiosk.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/utils/matrix.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/utils/pushnotifier.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/utils/stellarium.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/utils/telegram.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/utils/trigger.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/weather/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/weather/mockweather.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/weather/weather.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/weather/weather_api.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/modules/weather/weather_state.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/object.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/py.typed +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/instruments.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/observation.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/_executor.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/astroplanscheduler.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/constraints/airmassconstraint.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/constraints/constraint.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/constraints/moonilluminationconstraint.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/constraints/moonseparationconstraint.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/constraints/solarelevationconstraint.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/constraints/timeconstraint.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/dataprovider.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/merits/aftertime.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/merits/beforetime.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/merits/constant.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/merits/follow.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/merits/interval.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/merits/merit.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/merits/pernight.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/merits/random.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/merits/timewindow.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/merits/transit.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/observationarchiveevolution.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/observingperiod.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/ondemandscheduler.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/targets/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/targets/dynamictarget.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/targets/heliocentricpolartarget.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/targets/helioprojectivetarget.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/targets/picker/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/targets/picker/csvpicker.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/targets/picker/picker.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/targets/siderealtarget.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/targets/target.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scheduler/taskscheduler.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scripts/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scripts/calibration/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scripts/calibration/darkbias.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scripts/calibration/pointing.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scripts/calibration/skyflats.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scripts/control/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scripts/control/cases.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scripts/control/conditional.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scripts/control/parallel.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scripts/control/selector.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scripts/control/sequential.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scripts/exceptions.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scripts/imaging/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scripts/imaging/autofocus.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scripts/imaging/imaging.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scripts/imaging/transitimaging.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scripts/script.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scripts/utils/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scripts/utils/callmodule.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scripts/utils/debugtrigger.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/scripts/utils/log.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/storage/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/storage/filesystem/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/storage/filesystem/observationarchive.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/storage/filesystem/taskarchive.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/storage/lco/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/storage/lco/_portal.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/storage/lco/_schedulereader.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/storage/lco/_schedulewriter.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/storage/lco/configdb.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/storage/lco/mockobservationarchive.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/storage/lco/observationarchive.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/storage/lco/scripts/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/storage/lco/scripts/autofocus.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/storage/lco/scripts/default.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/storage/lco/scripts/script.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/storage/lco/task.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/storage/lco/taskarchive.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/storage/lco/taskrunner.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/storage/memory/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/storage/memory/observationarchive.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/storage/memory/taskarchive.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/storage/observationarchive.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/storage/portal/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/storage/portal/observationarchive.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/storage/portal/taskarchive.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/storage/taskarchive.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/task.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/taskrunner.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/utils/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/utils/archive/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/utils/archive/archive.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/utils/archive/local_archive.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/utils/archive/pyobs_archive.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/utils/calibration.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/utils/exptime/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/utils/exptime/exptime.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/utils/exptime/stellarexptime.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/utils/skyflats/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/utils/skyflats/exptimeeval.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/utils/skyflats/flatfielder.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/utils/skyflats/pointing/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/utils/skyflats/pointing/base.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/utils/skyflats/pointing/static.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/utils/skyflats/priorities/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/utils/skyflats/priorities/archive.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/utils/skyflats/priorities/base.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/utils/skyflats/priorities/const.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/robotic/utils/skyflats/scheduler.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/average.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/cache.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/config.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/config_schema.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/coolingramp.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/coordinates.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/curvefit.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/enums.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/exceptions.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/exptime_grouping.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/fits.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/focusseries/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/focusseries/base.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/focusseries/photometry.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/focusseries/projection.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/frameheader.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/grids/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/grids/filters.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/grids/grid.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/grids/gridnode.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/grids/pipeline.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/gui/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/gui/camera/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/gui/camera/binningwidget.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/gui/camera/coolingwidget.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/gui/camera/datadisplaywidget.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/gui/camera/exposewidget.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/gui/camera/exposuretimewidget.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/gui/camera/gainoffsetwidget.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/gui/camera/imageformatwidget.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/gui/camera/listpickerdialog.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/gui/camera/windowingwidget.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/http.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/influxdb.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/logger.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/logging/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/logging/context.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/logging/resolvableerror.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/modulegui.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/offsets/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/offsets/applyaltazoffsets.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/offsets/applyoffsets.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/offsets/applyradecoffsets.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/parallel.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/pipeline/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/pipeline/pipeline.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/pipeline/progress.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/pipeline/reduction.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/pipeline/reduction_base.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/publisher/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/publisher/csv.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/publisher/http.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/publisher/log.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/publisher/multi.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/publisher/publisher.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/serialization.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/shellcommand.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/stretch.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/threads/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/threads/lockwithabort.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/time.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/units.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/utils/versions.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/version.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/vfs/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/vfs/archivefile.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/vfs/bufferedfile.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/vfs/file.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/vfs/filelists/__init__.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/vfs/filelists/filelist.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/vfs/filelists/testing.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/vfs/httpfile.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/vfs/localfile.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/vfs/memfile.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/vfs/sftpfile.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/vfs/smbfile.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/vfs/sshfile.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/vfs/tempfile.py +0 -0
- {pyobs_core-2.28.2 → pyobs_core-2.29.0}/pyobs/vfs/vfs.py +0 -0
|
@@ -14,6 +14,7 @@ import yaml
|
|
|
14
14
|
from pyobs.comm.dummy import DummyComm
|
|
15
15
|
from pyobs.modules import Module, MultiModule
|
|
16
16
|
from pyobs.object import get_class_from_string, get_object
|
|
17
|
+
from pyobs.utils import shutdown
|
|
17
18
|
from pyobs.utils.config import pre_process_yaml
|
|
18
19
|
from pyobs.utils.logging.context import ModuleNameFilter
|
|
19
20
|
from pyobs.utils.versions import loaded_pyobs_packages
|
|
@@ -111,6 +112,8 @@ class Application:
|
|
|
111
112
|
syslog: bool = False,
|
|
112
113
|
influx_log: InfluxLogConfig | None = None,
|
|
113
114
|
iers_offline: bool = False,
|
|
115
|
+
pid_file: str | None = None,
|
|
116
|
+
stop_timeout: float = 30.0,
|
|
114
117
|
**kwargs: Any,
|
|
115
118
|
):
|
|
116
119
|
"""Initializes a pyobs application.
|
|
@@ -137,7 +140,20 @@ class Application:
|
|
|
137
140
|
(pyobs.cli.pyobs's GLOBAL_CONFIG_KEYS) instead of a bare env var, so it applies
|
|
138
141
|
the same way regardless of how the module process was spawned.
|
|
139
142
|
influx_log: Log to influx DB.
|
|
143
|
+
pid_file: PID file of a daemonized module, if any. A module that needs more time to shut
|
|
144
|
+
down then writes its deadline into a stop file next to it (see pyobs.utils.shutdown),
|
|
145
|
+
which pyobsd and web-admin respect before sending SIGKILL.
|
|
146
|
+
stop_timeout: Seconds the shutdown may take after the first signal, unless the module asks for more
|
|
147
|
+
time (see pyobs.utils.shutdown). After that, plus a short grace time, the process ends itself.
|
|
148
|
+
pyobsd passes its own stop_timeout here.
|
|
140
149
|
"""
|
|
150
|
+
self._stop_timeout = float(stop_timeout)
|
|
151
|
+
self._stopping = False
|
|
152
|
+
# stop file for extend_stop_timeout(), removed again at the end of run(); one left behind by an earlier
|
|
153
|
+
# run (e.g. killed during shutdown) would make this run look like it is stopping
|
|
154
|
+
shutdown.set_stop_file(shutdown.stop_file_for(pid_file) if pid_file is not None else None)
|
|
155
|
+
shutdown.clear_stop_file()
|
|
156
|
+
|
|
141
157
|
if (config is None) == (module_factory is None):
|
|
142
158
|
raise ValueError("Exactly one of 'config' or 'module_factory' must be given.")
|
|
143
159
|
if module_factory is not None and loop_module_class is None:
|
|
@@ -355,9 +371,25 @@ class Application:
|
|
|
355
371
|
log.info("Closing loop...")
|
|
356
372
|
self._loop.close()
|
|
357
373
|
|
|
374
|
+
# shutdown is done, so a deadline from extend_stop_timeout() no longer applies
|
|
375
|
+
shutdown.clear_stop_file()
|
|
376
|
+
|
|
358
377
|
def _signal_handler(self, sig: int) -> None:
|
|
359
378
|
"""React to signals and quit the module."""
|
|
360
379
|
|
|
380
|
+
# only the first signal starts the shutdown. The handlers stay installed, since removing them would
|
|
381
|
+
# restore the default action, and a second SIGTERM (e.g. "pyobsd stop" run again) would then kill the
|
|
382
|
+
# module in the middle of its shutdown (e.g. while a camera warms up)
|
|
383
|
+
if self._stopping:
|
|
384
|
+
log.info("Got signal: %s, already shutting down.", sig)
|
|
385
|
+
return
|
|
386
|
+
self._stopping = True
|
|
387
|
+
|
|
388
|
+
# let pyobsd/web-admin show the module as "stopping" until it is gone, and end the process if that
|
|
389
|
+
# takes too long, also when nobody waits to send SIGKILL
|
|
390
|
+
shutdown.mark_stopping()
|
|
391
|
+
shutdown.start_watchdog(self._stop_timeout)
|
|
392
|
+
|
|
361
393
|
if self._module is not None:
|
|
362
394
|
self._module.quit()
|
|
363
395
|
else:
|
|
@@ -367,11 +399,7 @@ class Application:
|
|
|
367
399
|
self._main_task.cancel()
|
|
368
400
|
self._loop.stop()
|
|
369
401
|
|
|
370
|
-
# reset signal handlers
|
|
371
402
|
log.info("Got signal: %s, shutting down.", sig)
|
|
372
|
-
loop = asyncio.get_running_loop()
|
|
373
|
-
loop.remove_signal_handler(signal.SIGTERM)
|
|
374
|
-
loop.add_signal_handler(signal.SIGINT, lambda: None)
|
|
375
403
|
|
|
376
404
|
async def _main(self) -> None:
|
|
377
405
|
"""Actually run the application."""
|
|
@@ -24,6 +24,7 @@ class PyobsCLI(CLI):
|
|
|
24
24
|
"influx_log",
|
|
25
25
|
"debug_time",
|
|
26
26
|
"iers_offline",
|
|
27
|
+
"stop_timeout",
|
|
27
28
|
]
|
|
28
29
|
|
|
29
30
|
def init_cli(self) -> None:
|
|
@@ -63,6 +64,15 @@ class PyobsCLI(CLI):
|
|
|
63
64
|
default=self._config.get("iers_offline", False),
|
|
64
65
|
)
|
|
65
66
|
|
|
67
|
+
# shutdown
|
|
68
|
+
self._parser.add_argument(
|
|
69
|
+
"--stop-timeout",
|
|
70
|
+
type=float,
|
|
71
|
+
default=self._config.get("stop_timeout", 30.0),
|
|
72
|
+
metavar="SECONDS",
|
|
73
|
+
help="seconds the shutdown may take before the module ends itself, unless it asked for more time",
|
|
74
|
+
)
|
|
75
|
+
|
|
66
76
|
# debug stuff
|
|
67
77
|
self._parser.add_argument(
|
|
68
78
|
"--debug-time",
|
|
@@ -112,6 +122,9 @@ class PyobsCLI(CLI):
|
|
|
112
122
|
import daemon
|
|
113
123
|
from daemon import pidfile
|
|
114
124
|
|
|
125
|
+
# absolute, since DaemonContext changes into the run directory before the application gets the path
|
|
126
|
+
pid_file = os.path.abspath(pid_file)
|
|
127
|
+
|
|
115
128
|
# get run directory
|
|
116
129
|
run_dir = os.path.dirname(pid_file)
|
|
117
130
|
|
|
@@ -119,7 +132,7 @@ class PyobsCLI(CLI):
|
|
|
119
132
|
with daemon.DaemonContext(
|
|
120
133
|
working_directory=run_dir, umask=0o002, pidfile=pidfile.TimeoutPIDLockFile(pid_file)
|
|
121
134
|
) as _:
|
|
122
|
-
self.application(**self._config).run()
|
|
135
|
+
self.application(**{**self._config, "pid_file": pid_file}).run()
|
|
123
136
|
|
|
124
137
|
|
|
125
138
|
def main() -> None:
|
|
@@ -14,10 +14,15 @@ from typing import Any
|
|
|
14
14
|
|
|
15
15
|
import psutil
|
|
16
16
|
|
|
17
|
+
from pyobs.utils.shutdown import read_stop_deadline, stop_file_for
|
|
18
|
+
|
|
17
19
|
from ._cli import CLI
|
|
18
20
|
|
|
19
21
|
log = logging.getLogger("pyobs")
|
|
20
22
|
|
|
23
|
+
# how long "stop --kill" waits for a killed module to be gone
|
|
24
|
+
_KILL_WAIT_SECONDS = 5.0
|
|
25
|
+
|
|
21
26
|
|
|
22
27
|
class PyobsDaemonCLI(CLI):
|
|
23
28
|
"""Class for initializing and running pyobsd CLI."""
|
|
@@ -35,6 +40,7 @@ class PyobsDaemonCLI(CLI):
|
|
|
35
40
|
"syslog",
|
|
36
41
|
"file_log",
|
|
37
42
|
"chuid",
|
|
43
|
+
"stop_timeout",
|
|
38
44
|
]
|
|
39
45
|
|
|
40
46
|
def init_cli(self) -> None:
|
|
@@ -62,13 +68,33 @@ class PyobsDaemonCLI(CLI):
|
|
|
62
68
|
default=self._config.get("file_log", False),
|
|
63
69
|
)
|
|
64
70
|
self._parser.add_argument("--chuid", type=str, default=self._config.get("chuid", "pyobs:pyobs"))
|
|
71
|
+
self._parser.add_argument(
|
|
72
|
+
"--stop-timeout",
|
|
73
|
+
type=float,
|
|
74
|
+
default=self._config.get("stop_timeout", 30.0),
|
|
75
|
+
metavar="SECONDS",
|
|
76
|
+
help="seconds to wait after SIGTERM before sending SIGKILL, unless the module asked for more time",
|
|
77
|
+
)
|
|
65
78
|
self._parser.add_argument("-v", "--verbose", action="store_true")
|
|
66
79
|
|
|
67
80
|
# commands
|
|
68
81
|
sp = self._parser.add_subparsers(dest="command")
|
|
69
82
|
sp.add_parser("start", help="start modules").add_argument("modules", type=str, nargs="*")
|
|
70
|
-
sp.add_parser("stop", help="stop modules")
|
|
71
|
-
|
|
83
|
+
stop_parser = sp.add_parser("stop", help="stop modules")
|
|
84
|
+
stop_parser.add_argument("modules", type=str, nargs="*")
|
|
85
|
+
stop_parser.add_argument(
|
|
86
|
+
"--no-wait", action="store_true", help="only send SIGTERM, do not wait for the modules to exit"
|
|
87
|
+
)
|
|
88
|
+
stop_parser.add_argument(
|
|
89
|
+
"--kill",
|
|
90
|
+
action="store_true",
|
|
91
|
+
help="send SIGKILL right away, e.g. for a module whose shutdown hangs (cuts a camera's warm-up)",
|
|
92
|
+
)
|
|
93
|
+
restart_parser = sp.add_parser("restart", help="restart modules")
|
|
94
|
+
restart_parser.add_argument("modules", type=str, nargs="*")
|
|
95
|
+
restart_parser.add_argument(
|
|
96
|
+
"--kill", action="store_true", help="send SIGKILL right away instead of a normal stop, then start"
|
|
97
|
+
)
|
|
72
98
|
status_parser = sp.add_parser("status", help="status of modules")
|
|
73
99
|
status_parser.add_argument("--json", action="store_true")
|
|
74
100
|
status_parser.add_argument(
|
|
@@ -94,6 +120,7 @@ class PyobsDaemonCLI(CLI):
|
|
|
94
120
|
syslog=self._config["syslog"],
|
|
95
121
|
file_log=self._config["file_log"],
|
|
96
122
|
chuid=self._config["chuid"],
|
|
123
|
+
stop_timeout=self._config["stop_timeout"],
|
|
97
124
|
verbose=self._config["verbose"],
|
|
98
125
|
)
|
|
99
126
|
|
|
@@ -102,9 +129,12 @@ class PyobsDaemonCLI(CLI):
|
|
|
102
129
|
case "start":
|
|
103
130
|
daemon.start(modules=self._config["modules"])
|
|
104
131
|
case "stop":
|
|
105
|
-
|
|
132
|
+
if self._config["kill"]:
|
|
133
|
+
daemon.kill(modules=self._config["modules"])
|
|
134
|
+
else:
|
|
135
|
+
daemon.stop(modules=self._config["modules"], wait=not self._config["no_wait"])
|
|
106
136
|
case "restart":
|
|
107
|
-
daemon.restart(modules=self._config["modules"])
|
|
137
|
+
daemon.restart(modules=self._config["modules"], kill=self._config["kill"])
|
|
108
138
|
case "status":
|
|
109
139
|
daemon.status(print_json=self._config["json"], cpu_interval=self._config["cpu_interval"])
|
|
110
140
|
case "list":
|
|
@@ -123,10 +153,12 @@ class PyobsDaemon:
|
|
|
123
153
|
syslog: bool = False,
|
|
124
154
|
file_log: bool = False,
|
|
125
155
|
chuid: str | None = None,
|
|
156
|
+
stop_timeout: float = 30.0,
|
|
126
157
|
verbose: bool = False,
|
|
127
158
|
**kwargs: Any,
|
|
128
159
|
):
|
|
129
160
|
self._config_path = config_path
|
|
161
|
+
self._stop_timeout = stop_timeout
|
|
130
162
|
self._run_path = run_path
|
|
131
163
|
self._log_path = log_path
|
|
132
164
|
self._log_level = log_level
|
|
@@ -185,6 +217,10 @@ class PyobsDaemon:
|
|
|
185
217
|
def _log_file(self, module: str) -> str:
|
|
186
218
|
return os.path.join(self._log_path, self._strip_disabled(module) + ".log")
|
|
187
219
|
|
|
220
|
+
def _stop_file(self, module: str) -> str:
|
|
221
|
+
"""Where a stopping module writes its shutdown deadline (see pyobs.utils.shutdown)."""
|
|
222
|
+
return stop_file_for(self._pid_file(module))
|
|
223
|
+
|
|
188
224
|
def _list_configs(self) -> list[str]:
|
|
189
225
|
"""Return sorted module names from *.yaml files, excluding *.shared.yaml."""
|
|
190
226
|
paths = sorted(glob.glob(os.path.join(self._config_path, "*.yaml")))
|
|
@@ -215,13 +251,14 @@ class PyobsDaemon:
|
|
|
215
251
|
return None
|
|
216
252
|
if self._is_alive(pid):
|
|
217
253
|
return pid
|
|
218
|
-
# stale PID file — remove it
|
|
219
|
-
|
|
220
|
-
os.remove(self._pid_file(module))
|
|
221
|
-
except OSError:
|
|
222
|
-
pass
|
|
254
|
+
# stale PID file — remove it, together with a stop file the process may have left behind
|
|
255
|
+
self._remove_run_files(module)
|
|
223
256
|
return None
|
|
224
257
|
|
|
258
|
+
def _stop_deadline(self, module: str) -> float | None:
|
|
259
|
+
"""The deadline a running module wrote into its stop file, or None if it is not stopping."""
|
|
260
|
+
return read_stop_deadline(self._stop_file(module))
|
|
261
|
+
|
|
225
262
|
def _process_info(self, pid: int) -> dict[str, Any]:
|
|
226
263
|
"""Return uptime (seconds) and rss_mb for a running PID. No CPU -- that needs a
|
|
227
264
|
shared sampling window across all processes, see _sample_cpu_percent."""
|
|
@@ -288,17 +325,77 @@ class PyobsDaemon:
|
|
|
288
325
|
print(f"Starting {module}...")
|
|
289
326
|
self._start_service(module)
|
|
290
327
|
|
|
291
|
-
def stop(self, modules: list[str] | None = None) -> None:
|
|
328
|
+
def stop(self, modules: list[str] | None = None, wait: bool = True) -> None:
|
|
292
329
|
# if no modules given, stop all that have a live PID
|
|
293
330
|
if not modules:
|
|
294
331
|
modules = [m for m in self._list_configs() if self._running_pid(m) is not None]
|
|
295
332
|
|
|
333
|
+
# send SIGTERM to all first, then wait for all together, so that one module with a long shutdown
|
|
334
|
+
# (e.g. a camera warming up) does not delay sending SIGTERM to the others
|
|
335
|
+
stopping: dict[str, int] = {}
|
|
296
336
|
for module in modules:
|
|
297
337
|
print(f"Stopping {module}...")
|
|
298
|
-
self.
|
|
338
|
+
pid = self._signal_stop(module)
|
|
339
|
+
if pid is not None:
|
|
340
|
+
stopping[module] = pid
|
|
341
|
+
|
|
342
|
+
if wait:
|
|
343
|
+
try:
|
|
344
|
+
self._wait_stopped(stopping)
|
|
345
|
+
except KeyboardInterrupt:
|
|
346
|
+
# the modules run in their own session and keep shutting down without us
|
|
347
|
+
print("\nStopped waiting.")
|
|
348
|
+
now = time.time()
|
|
349
|
+
for module, pid in stopping.items():
|
|
350
|
+
if not self._is_alive(pid):
|
|
351
|
+
continue
|
|
352
|
+
deadline = read_stop_deadline(self._stop_file(module))
|
|
353
|
+
until = ""
|
|
354
|
+
if deadline is not None and deadline > now:
|
|
355
|
+
until = f" (up to {self._fmt_wait(deadline - now)})"
|
|
356
|
+
print(f'{module} keeps shutting down in the background{until}, see "pyobsd status".')
|
|
357
|
+
sys.exit(130)
|
|
358
|
+
|
|
359
|
+
def kill(self, modules: list[str] | None = None) -> None:
|
|
360
|
+
"""Sends SIGKILL right away, without a shutdown, e.g. to a module whose shutdown hangs, and removes its run
|
|
361
|
+
files. Without modules, kills all that have a live PID."""
|
|
362
|
+
if not modules:
|
|
363
|
+
modules = [m for m in self._list_configs() if self._running_pid(m) is not None]
|
|
299
364
|
|
|
300
|
-
|
|
301
|
-
|
|
365
|
+
killed: dict[str, int] = {}
|
|
366
|
+
for module in modules:
|
|
367
|
+
pid = self._running_pid(module)
|
|
368
|
+
if pid is None:
|
|
369
|
+
print(f"{module} is not running.")
|
|
370
|
+
continue
|
|
371
|
+
print(f"Killing {module}...")
|
|
372
|
+
try:
|
|
373
|
+
os.kill(pid, signal.SIGKILL)
|
|
374
|
+
except OSError:
|
|
375
|
+
pass
|
|
376
|
+
killed[module] = pid
|
|
377
|
+
|
|
378
|
+
# SIGKILL can't end a process stuck in the kernel (e.g. in a USB driver call) until that call returns. Keep
|
|
379
|
+
# the PID file of such a process, so that it doesn't show as stopped and can't be started a second time
|
|
380
|
+
deadline = time.time() + _KILL_WAIT_SECONDS
|
|
381
|
+
while killed:
|
|
382
|
+
for module, pid in list(killed.items()):
|
|
383
|
+
if not self._is_alive(pid):
|
|
384
|
+
self._remove_run_files(module)
|
|
385
|
+
del killed[module]
|
|
386
|
+
if not killed or time.time() >= deadline:
|
|
387
|
+
break
|
|
388
|
+
time.sleep(0.1)
|
|
389
|
+
for module, pid in killed.items():
|
|
390
|
+
print(f"{module} (PID {pid}) is still alive after SIGKILL, probably stuck in a driver call.")
|
|
391
|
+
if killed:
|
|
392
|
+
sys.exit(1)
|
|
393
|
+
|
|
394
|
+
def restart(self, modules: list[str] | None = None, kill: bool = False) -> None:
|
|
395
|
+
if kill:
|
|
396
|
+
self.kill(modules=modules)
|
|
397
|
+
else:
|
|
398
|
+
self.stop(modules=modules)
|
|
302
399
|
time.sleep(1)
|
|
303
400
|
self.start(modules=modules)
|
|
304
401
|
|
|
@@ -319,15 +416,29 @@ class PyobsDaemon:
|
|
|
319
416
|
# it slow for no benefit when nobody's looking at CPU. Only pay for it if asked.
|
|
320
417
|
cpu_by_pid = self._sample_cpu_percent(list(pids.values()), cpu_interval) if cpu_interval else {}
|
|
321
418
|
|
|
419
|
+
# a running module with a stop file is shutting down (see pyobs.utils.shutdown)
|
|
420
|
+
deadlines = {module: self._stop_deadline(module) for module in pids}
|
|
421
|
+
now = time.time()
|
|
422
|
+
|
|
322
423
|
if print_json:
|
|
424
|
+
# "running" stays true while a module is stopping (its process is still alive), so consumers that only
|
|
425
|
+
# know "running" keep working; "state" tells them apart
|
|
323
426
|
result: dict[str, Any] = {}
|
|
324
427
|
for module in modules:
|
|
325
428
|
pid = pids.get(module)
|
|
326
429
|
if pid is not None:
|
|
327
430
|
info = self._process_info(pid)
|
|
328
|
-
|
|
431
|
+
deadline = deadlines[module]
|
|
432
|
+
result[module] = {
|
|
433
|
+
"running": True,
|
|
434
|
+
"state": "stopping" if deadline is not None else "running",
|
|
435
|
+
"stop_deadline": deadline,
|
|
436
|
+
"pid": pid,
|
|
437
|
+
"cpu": cpu_by_pid.get(pid),
|
|
438
|
+
**info,
|
|
439
|
+
}
|
|
329
440
|
else:
|
|
330
|
-
result[module] = {"running": False}
|
|
441
|
+
result[module] = {"running": False, "state": "stopped"}
|
|
331
442
|
print(json.dumps(result))
|
|
332
443
|
else:
|
|
333
444
|
# header
|
|
@@ -339,11 +450,17 @@ class PyobsDaemon:
|
|
|
339
450
|
info = self._process_info(pid)
|
|
340
451
|
cpu = cpu_by_pid.get(pid)
|
|
341
452
|
cpu_str = f"{cpu:>5.1f}%" if cpu is not None else f"{'-':>6}"
|
|
453
|
+
deadline = deadlines[module]
|
|
454
|
+
state = "stopping" if deadline is not None else "running"
|
|
455
|
+
wait = (
|
|
456
|
+
f" (up to {self._fmt_wait(deadline - now)})" if deadline is not None and deadline > now else ""
|
|
457
|
+
)
|
|
342
458
|
print(
|
|
343
|
-
f"{module:<30} {
|
|
459
|
+
f"{module:<30} {state:<8} "
|
|
344
460
|
f"{self._fmt_uptime(info['uptime']):>12} "
|
|
345
461
|
f"{cpu_str} "
|
|
346
462
|
f"{info['rss_mb']:>6.1f} MB"
|
|
463
|
+
f"{wait}"
|
|
347
464
|
)
|
|
348
465
|
else:
|
|
349
466
|
print(f"{module:<30} {'stopped':<8}")
|
|
@@ -371,12 +488,21 @@ class PyobsDaemon:
|
|
|
371
488
|
def _start_service(self, module: str) -> None:
|
|
372
489
|
os.makedirs(self._run_path, exist_ok=True)
|
|
373
490
|
|
|
491
|
+
# a stop file left behind by a previous run (e.g. killed during warm-up) must not apply to this one
|
|
492
|
+
try:
|
|
493
|
+
os.remove(self._stop_file(module))
|
|
494
|
+
except FileNotFoundError:
|
|
495
|
+
pass
|
|
496
|
+
|
|
374
497
|
cmd = [
|
|
375
498
|
self._pyobs_exec,
|
|
376
499
|
"--pid-file",
|
|
377
500
|
self._pid_file(module),
|
|
378
501
|
"--log-level",
|
|
379
502
|
self._log_level,
|
|
503
|
+
# the module ends itself if its shutdown takes longer than this (or what it asked for)
|
|
504
|
+
"--stop-timeout",
|
|
505
|
+
str(self._stop_timeout),
|
|
380
506
|
self._config_file(module),
|
|
381
507
|
]
|
|
382
508
|
if self._file_log:
|
|
@@ -431,34 +557,90 @@ class PyobsDaemon:
|
|
|
431
557
|
print(f" stderr: {stderr.decode(errors='replace').strip()}") # type: ignore[attr-defined]
|
|
432
558
|
|
|
433
559
|
def _stop_service(self, module: str) -> None:
|
|
560
|
+
"""Stops a single module and waits for it."""
|
|
561
|
+
pid = self._signal_stop(module)
|
|
562
|
+
if pid is not None:
|
|
563
|
+
self._wait_stopped({module: pid})
|
|
564
|
+
|
|
565
|
+
def _signal_stop(self, module: str) -> int | None:
|
|
566
|
+
"""Sends SIGTERM to a module. Returns its PID, or None if it is not running (anymore)."""
|
|
434
567
|
pid = self._running_pid(module)
|
|
435
568
|
if pid is None:
|
|
436
569
|
print(f"{module} is not running.")
|
|
437
|
-
return
|
|
570
|
+
return None
|
|
571
|
+
|
|
572
|
+
# already shutting down (e.g. an earlier "pyobsd stop" was interrupted): don't signal again, a module with
|
|
573
|
+
# an older pyobs-core would get killed by a second SIGTERM in the middle of its shutdown
|
|
574
|
+
if os.path.exists(self._stop_file(module)):
|
|
575
|
+
print(f"{module} is already shutting down.")
|
|
576
|
+
return pid
|
|
438
577
|
|
|
439
578
|
try:
|
|
440
579
|
os.kill(pid, signal.SIGTERM)
|
|
441
580
|
except OSError:
|
|
442
|
-
return
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
581
|
+
return None
|
|
582
|
+
return pid
|
|
583
|
+
|
|
584
|
+
def _wait_stopped(self, stopping: dict[str, int]) -> None:
|
|
585
|
+
"""Waits for the given modules to exit and sends SIGKILL to those that take too long.
|
|
586
|
+
|
|
587
|
+
"Too long" is stop_timeout after SIGTERM, or later if the module wrote a later deadline into its stop
|
|
588
|
+
file (pyobs.utils.shutdown.extend_stop_timeout, e.g. while a camera warms up).
|
|
589
|
+
|
|
590
|
+
The last deadline read is kept: the application removes its stop file once its shutdown is done, but the
|
|
591
|
+
process lives on for a moment after that, and must not fall back to stop_timeout and get killed then."""
|
|
592
|
+
default_deadline = time.time() + self._stop_timeout
|
|
593
|
+
announced: dict[str, float] = {}
|
|
594
|
+
last_requested: dict[str, float] = {}
|
|
595
|
+
remaining = dict(stopping)
|
|
596
|
+
|
|
597
|
+
while remaining:
|
|
598
|
+
now = time.time()
|
|
599
|
+
for module, pid in list(remaining.items()):
|
|
600
|
+
if not self._is_alive(pid):
|
|
601
|
+
del remaining[module]
|
|
602
|
+
self._remove_run_files(module)
|
|
603
|
+
continue
|
|
604
|
+
|
|
605
|
+
requested = read_stop_deadline(self._stop_file(module))
|
|
606
|
+
if requested is not None:
|
|
607
|
+
last_requested[module] = requested
|
|
608
|
+
else:
|
|
609
|
+
requested = last_requested.get(module)
|
|
610
|
+
deadline = max(default_deadline, requested or 0.0)
|
|
611
|
+
if requested is not None and requested > default_deadline and announced.get(module) != requested:
|
|
612
|
+
announced[module] = requested
|
|
613
|
+
print(f"{module} is shutting down, waiting up to {self._fmt_wait(requested - now)}.")
|
|
614
|
+
|
|
615
|
+
if now >= deadline:
|
|
616
|
+
if self._verbose:
|
|
617
|
+
print(f"[DEBUG] {module} did not stop in time, sending SIGKILL")
|
|
618
|
+
else:
|
|
619
|
+
print(f"{module} did not stop in time, killing it.")
|
|
620
|
+
try:
|
|
621
|
+
os.kill(pid, signal.SIGKILL)
|
|
622
|
+
except OSError:
|
|
623
|
+
pass
|
|
624
|
+
del remaining[module]
|
|
625
|
+
self._remove_run_files(module)
|
|
626
|
+
|
|
627
|
+
if remaining:
|
|
628
|
+
time.sleep(0.1)
|
|
629
|
+
|
|
630
|
+
def _remove_run_files(self, module: str) -> None:
|
|
631
|
+
"""Removes PID and stop file of a module."""
|
|
632
|
+
for path in (self._pid_file(module), self._stop_file(module)):
|
|
452
633
|
try:
|
|
453
|
-
os.
|
|
634
|
+
os.remove(path)
|
|
454
635
|
except OSError:
|
|
455
636
|
pass
|
|
456
637
|
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
638
|
+
@staticmethod
|
|
639
|
+
def _fmt_wait(seconds: float) -> str:
|
|
640
|
+
seconds = max(0, int(seconds))
|
|
641
|
+
if seconds < 120:
|
|
642
|
+
return f"{seconds} s"
|
|
643
|
+
return f"{round(seconds / 60)} min"
|
|
462
644
|
|
|
463
645
|
|
|
464
646
|
def main() -> None:
|
|
@@ -2,10 +2,12 @@ from __future__ import annotations
|
|
|
2
2
|
|
|
3
3
|
import asyncio
|
|
4
4
|
import logging
|
|
5
|
+
import time
|
|
5
6
|
from typing import Any
|
|
6
7
|
|
|
7
8
|
from pyobs.interfaces import CoolingState
|
|
8
9
|
from pyobs.utils.coolingramp import CoolingRamp
|
|
10
|
+
from pyobs.utils.shutdown import extend_stop_timeout
|
|
9
11
|
|
|
10
12
|
log = logging.getLogger(__name__)
|
|
11
13
|
|
|
@@ -16,6 +18,10 @@ _RETRY_DELAY = 5.0
|
|
|
16
18
|
_CLOSE_MARGIN_FACTOR = 1.2
|
|
17
19
|
_CLOSE_MARGIN_SECONDS = 60.0
|
|
18
20
|
_CLOSE_FALLBACK_TIMEOUT = 300.0
|
|
21
|
+
# extra time asked from pyobsd/systemd on top of the warm-up, for the rest of close()
|
|
22
|
+
_STOP_TIMEOUT_EXTRA_SECONDS = 30.0
|
|
23
|
+
# how often the warm-up on close logs its progress, in seconds
|
|
24
|
+
_WARMUP_LOG_INTERVAL = 60.0
|
|
19
25
|
|
|
20
26
|
|
|
21
27
|
class CoolingRampMixin:
|
|
@@ -143,9 +149,11 @@ class CoolingRampMixin:
|
|
|
143
149
|
timeout = self._cooling_close_timeout
|
|
144
150
|
if timeout is None:
|
|
145
151
|
timeout = await self._cooling_estimated_close_timeout()
|
|
152
|
+
# whoever stops the module (pyobsd, web-admin, systemd) must not kill it during the warm-up
|
|
153
|
+
extend_stop_timeout(timeout + _STOP_TIMEOUT_EXTRA_SECONDS)
|
|
146
154
|
self._cooling_target = (False, None)
|
|
147
155
|
try:
|
|
148
|
-
await asyncio.wait_for(self.
|
|
156
|
+
await asyncio.wait_for(self._cooling_warm_up(timeout), timeout)
|
|
149
157
|
except TimeoutError:
|
|
150
158
|
log.warning(
|
|
151
159
|
"Warm-up on close did not finish within %.0fs (setpoint at %s). "
|
|
@@ -185,11 +193,41 @@ class CoolingRampMixin:
|
|
|
185
193
|
|
|
186
194
|
# ramp -------------------------------------------------------------------------------------------------------
|
|
187
195
|
|
|
188
|
-
async def
|
|
196
|
+
async def _cooling_warm_up(self, timeout: float) -> None:
|
|
197
|
+
"""Runs the warm-up ramp to its end. Logs when it starts, about every _WARMUP_LOG_INTERVAL seconds while it
|
|
198
|
+
runs, and when it is done, so the log shows why the module takes long to stop."""
|
|
199
|
+
start = time.monotonic()
|
|
200
|
+
delay = await self._cooling_tick()
|
|
201
|
+
if self._cooling_target is None:
|
|
202
|
+
return # cooler was off already, or switched off in the first step
|
|
203
|
+
log.info(
|
|
204
|
+
"Warming up from %s towards %.1f °C before closing, may take up to %s.",
|
|
205
|
+
_temperature(self._cooling_commanded),
|
|
206
|
+
self._cooling_ramp.off_temperature,
|
|
207
|
+
_duration(timeout),
|
|
208
|
+
)
|
|
209
|
+
next_log = start + _WARMUP_LOG_INTERVAL
|
|
189
210
|
while self._cooling_target is not None:
|
|
190
|
-
delay = await self._cooling_tick()
|
|
191
211
|
if delay:
|
|
192
212
|
await asyncio.sleep(delay)
|
|
213
|
+
delay = await self._cooling_tick()
|
|
214
|
+
now = time.monotonic()
|
|
215
|
+
if self._cooling_target is not None and now >= next_log:
|
|
216
|
+
await self._cooling_log_warm_up(start + timeout - now)
|
|
217
|
+
next_log = now + _WARMUP_LOG_INTERVAL
|
|
218
|
+
log.info("Warm-up done after %s, cooling is off.", _duration(time.monotonic() - start))
|
|
219
|
+
|
|
220
|
+
async def _cooling_log_warm_up(self, left: float) -> None:
|
|
221
|
+
try:
|
|
222
|
+
sensor = await self._get_sensor_temperature()
|
|
223
|
+
except Exception:
|
|
224
|
+
sensor = None # only for the log, the next tick reports a real problem
|
|
225
|
+
log.info(
|
|
226
|
+
"Warming up: setpoint %s, sensor %s, up to %s left.",
|
|
227
|
+
_temperature(self._cooling_commanded),
|
|
228
|
+
_temperature(sensor),
|
|
229
|
+
_duration(max(0.0, left)),
|
|
230
|
+
)
|
|
193
231
|
|
|
194
232
|
async def _cooling_ramp_loop(self) -> None:
|
|
195
233
|
while True:
|
|
@@ -273,4 +311,12 @@ class CoolingRampMixin:
|
|
|
273
311
|
self._cooling_target = None
|
|
274
312
|
|
|
275
313
|
|
|
314
|
+
def _temperature(value: float | None) -> str:
|
|
315
|
+
return "unknown" if value is None else f"{value:.1f} °C"
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
def _duration(seconds: float) -> str:
|
|
319
|
+
return f"{seconds:.0f} s" if seconds < 90 else f"{seconds / 60:.0f} min"
|
|
320
|
+
|
|
321
|
+
|
|
276
322
|
__all__ = ["CoolingRampMixin"]
|
|
@@ -4,6 +4,7 @@ from .moonilluminationconstraint import MoonIlluminationConstraint
|
|
|
4
4
|
from .moonseparationconstraint import MoonSeparationConstraint
|
|
5
5
|
from .solarelevationconstraint import SolarElevationConstraint
|
|
6
6
|
from .timeconstraint import TimeConstraint
|
|
7
|
+
from .timeofdayconstraint import TimeOfDayConstraint
|
|
7
8
|
|
|
8
9
|
__all__ = [
|
|
9
10
|
"Constraint",
|
|
@@ -12,4 +13,5 @@ __all__ = [
|
|
|
12
13
|
"MoonSeparationConstraint",
|
|
13
14
|
"SolarElevationConstraint",
|
|
14
15
|
"TimeConstraint",
|
|
16
|
+
"TimeOfDayConstraint",
|
|
15
17
|
]
|