diff --git a/python/presentations/logging-data-from-serial-ports/LDFSP_Slides.pdf b/python/presentations/logging-data-from-serial-ports/LDFSP_Slides.pdf index 461af2e..2ecb316 100644 Binary files a/python/presentations/logging-data-from-serial-ports/LDFSP_Slides.pdf and b/python/presentations/logging-data-from-serial-ports/LDFSP_Slides.pdf differ diff --git a/python/presentations/logging-data-from-serial-ports/LDFSP_Slides.tex b/python/presentations/logging-data-from-serial-ports/LDFSP_Slides.tex index a661d15..8336e2b 100644 --- a/python/presentations/logging-data-from-serial-ports/LDFSP_Slides.tex +++ b/python/presentations/logging-data-from-serial-ports/LDFSP_Slides.tex @@ -199,7 +199,7 @@ \subsubsection{A note on port names} \begin{itemize} \item Can process times in a very wide variety of formats \item Can deal with different timezones (if you ask it to) -\item Other date/time modules are available, but \texttt{datetime} is alwyas avaiable. +\item Other date/time modules are available, but \texttt{datetime} is always avaiable. \end{itemize} \end{frame} \begin{frame}[fragile] @@ -579,7 +579,7 @@ \subsection{Trial and error} temps = [] #open infile and read data into lists -with open(infile, 'rb') as tsvfile: +with open(infile, 'rt') as tsvfile: tsvreader = reader(tsvfile, delimiter='\t') for row in tsvreader: times.append(convert_time(row[0])) @@ -615,7 +615,7 @@ \subsection{Trial and error} Add your time series and temp values to the \texttt{Dataset} \item Close and write your \texttt{Dataset}. Test that it parses correctly - eith \texttt{ncdump} + with \texttt{ncdump} \end{itemize} \end{frame} @@ -774,7 +774,7 @@ \subsection{Trial and error} \url{http://www.cistools.net/} \begin{verbatim} -cis plot temp:sensor_data.nc --xaxis time --yaxis temp \ +cis plot temp:sensor_data.nc --xaxis time \ --title "Papouch Thermometer Data, 2017-02-22, UoL PRD" --xstep "0.010416" \ --output sensor_data_sample.svg \end{verbatim}