2022-08-25 14:31:49 -06:00
|
|
|
%
|
2022-08-29 18:42:05 -06:00
|
|
|
% Acquire.tex
|
2022-08-25 14:31:49 -06:00
|
|
|
%
|
|
|
|
% SatNOGS Optical Unofficial Guide
|
|
|
|
%
|
|
|
|
% Copyright (C) 2022, Jeff Moe
|
|
|
|
%
|
|
|
|
% This document is licensed under the Creative Commons Attribution 4.0
|
|
|
|
% International Public License (CC BY-SA 4.0) by Jeff Moe.
|
|
|
|
%
|
|
|
|
|
|
|
|
\section{Overview of Operation}
|
|
|
|
\label{sec:overview-operation}
|
2022-09-06 02:16:38 -06:00
|
|
|
\index{operation}
|
2022-09-02 15:10:58 -06:00
|
|
|
Below shows how to run a SatNOGS Optical \gls{ground-station},
|
2022-08-30 00:50:14 -06:00
|
|
|
after it has been set up and configured.
|
2022-08-26 18:39:43 -06:00
|
|
|
|
2022-08-29 20:00:13 -06:00
|
|
|
\section{Setup with \texttt{stvid}}
|
|
|
|
\label{sec:stvid-setup}
|
2022-09-06 00:16:31 -06:00
|
|
|
\index{acquire}
|
2022-08-31 18:08:48 -06:00
|
|
|
\index{virtualenv}
|
2022-08-27 23:44:59 -06:00
|
|
|
Acquire data with \texttt{acquire.py} from \texttt{\gls{stvid}}.
|
2022-08-26 23:36:00 -06:00
|
|
|
Enter \texttt{virtualenv}, if used:
|
|
|
|
|
|
|
|
\begin{minted}{sh}
|
|
|
|
cd stvid/
|
|
|
|
source env/bin/activate
|
|
|
|
\end{minted}
|
|
|
|
|
2022-08-28 13:01:56 -06:00
|
|
|
Get the latest \glspl{TLE}:
|
2022-09-06 00:16:31 -06:00
|
|
|
|
2022-08-26 23:36:00 -06:00
|
|
|
|
|
|
|
\begin{minted}{sh}
|
|
|
|
./update_tle.py
|
|
|
|
\end{minted}
|
|
|
|
|
|
|
|
Acquire live data from camera.
|
2022-08-27 17:01:04 -06:00
|
|
|
\index{camera}
|
2022-08-26 23:36:00 -06:00
|
|
|
|
|
|
|
\begin{minted}{sh}
|
|
|
|
cd stvid/
|
|
|
|
./acquire.py
|
|
|
|
\end{minted}
|
2022-09-06 00:16:31 -06:00
|
|
|
\index{acquire}
|
2022-08-26 23:36:00 -06:00
|
|
|
|
2022-08-31 13:07:18 -06:00
|
|
|
\begin{sidewaysfigure}[p!]
|
|
|
|
\includegraphics[keepaspectratio=true,height=1.00\textheight,width=1.00\textwidth,angle=0]{stvid-acquire-0.png}
|
2022-08-29 17:06:06 -06:00
|
|
|
\caption{Satellite images acquired by stvid.}
|
2022-08-28 00:07:28 -06:00
|
|
|
\label{fig:stvid-acquire}
|
2022-09-06 00:16:31 -06:00
|
|
|
\index{acquire}
|
2022-08-31 13:07:18 -06:00
|
|
|
\end{sidewaysfigure}
|
2022-08-25 14:31:49 -06:00
|
|
|
|
2022-09-01 22:39:51 -06:00
|
|
|
|
|
|
|
\section{\texttt{acquire.py} Output}
|
|
|
|
\label{sec:acquire-output}
|
2022-09-06 00:16:31 -06:00
|
|
|
\index{acquire}
|
2022-09-01 22:39:51 -06:00
|
|
|
|
|
|
|
Example output while running \texttt{acquire.py}.
|
|
|
|
|
|
|
|
\begin{minted}{sh}
|
|
|
|
2022-09-01 22:33:09,495 [MainThread ] [INFO ] Using config: configuration.ini
|
|
|
|
2022-09-01 22:33:09,495 [MainThread ] [INFO ] Test mode: True
|
|
|
|
2022-09-01 22:33:09,495 [MainThread ] [INFO ] Test duration: 3600s
|
|
|
|
2022-09-01 22:33:09,496 [MainThread ] [INFO ] Live mode: False
|
|
|
|
2022-09-01 22:33:09,517 [MainThread ] [INFO ] Starting data acquisition
|
|
|
|
2022-09-01 22:33:09,518 [MainThread ] [INFO ] Acquisition will end after 2022-09-02T05:33:09.496
|
|
|
|
2022-09-01 22:33:09,620 [MainThread ] [INFO ] Storing files in /home/jebba/devel/spacecruft/stvid/data/obs/20220902_1/043309
|
|
|
|
2022-09-01 22:33:20,086 [MainThread ] [DEBUG] Captured z1
|
|
|
|
2022-09-01 22:33:20,086 [MainThread ] [DEBUG] Processing buffer 1
|
|
|
|
2022-09-01 22:33:21,842 [MainThread ] [INFO ] Compressed 2022-09-02T04:33:09.871.fits in 1.75 sec
|
|
|
|
2022-09-01 22:33:21,842 [MainThread ] [DEBUG] Processed buffer 1
|
|
|
|
2022-09-01 22:33:30,171 [MainThread ] [DEBUG] Captured z2
|
|
|
|
2022-09-01 22:33:30,172 [MainThread ] [DEBUG] Processing buffer 2
|
|
|
|
2022-09-01 22:33:31,930 [MainThread ] [INFO ] Compressed 2022-09-02T04:33:20.136.fits in 1.76 sec
|
|
|
|
\end{minted}
|