Re: Operational Status graphs

25 views
Skip to first unread message

john brzustowski

unread,
Jul 25, 2016, 8:53:40 AM7/25/16
to Josh B, Motus Wildlife Tracking System
Hi Josh,

On Mon, Jul 25, 2016, at 09:35, Josh B wrote:

> I am curious if you can shed some light on the operation status graphs
> found on the sensorgnome website. I would like to overlay detection data
> to the operational status graph. This way I can get an idea of the times
> there were no detections, if the tower/antenna was operating or not.

> I see the operational status graphs are either png files or rds files
> within sensorgnome. Do you know how these graphs were made in R? I have
> downloaded the rds files, but am unsure how they were graphed. I would like
> to gain access to the code (if I can) so I can stack a graph of summarized
> detections and its corresponding operational status.

Sorry I didn't reply to the earlier list message about this.

This function:

https://github.com/jbrzusto/sensorgnome-R-package/blob/master/R/getOperatingStatus.R

computes the table used to generate the operating_status plots. The
.sqlite site database it refers to holds tables of filenames and other
metadata associated with files from a given receiver in one year. I
haven't been distributing those files because most end users would
have no use for them, but if people want them, I can upload them to
the wiki page for each site.

This function:

https://github.com/jbrzusto/sensorgnome-R-package/blob/master/R/plotOperatingStatus.R

does the plotting.

Both of these functions depend on the soon-to-be obsolete file layout
on our server, where files for a given year, project, and site are
stored in a directory called:

/SG/contrib/YEAR/PROJECT/SITE

Knowing that might help you make sense of the code.

We'll try to preserve the structure of the data.frames in the
operating_status.rds file as we move to a new motus-based
processing framework.

Cheers,

John B.
>
>
> Josh
>
> *Joshua N. Barth*
> M.S. Student
> Environmental Science
> Graduate Assistant
> Wesley College
> 120 North State Street
> Dover, DE 19901
>
> c: (910) 320-4735
> jbart...@gmail.com


--
#-----------------------------------
# John Brzustowski
# Wolfville, NS Canada
Reply all
Reply to author
Forward
0 new messages