Blog : Bubbles in the Bathtub : October 2013 Archives

« September 2013 | Main

October 07, 2013

MoC Days 4 and 5: coding madness

Slight short circuit in the Month of Change. Spent most of last Friday (Day 4) writing code for something new. I didn't quite finish and ran out of time to post anything. Spent a bunch more time trying to finish it up today, but still have a little bit to do. Should be able to share details tomorrow. However, I was able to get a few little things done in between.

Satellite Tracking Data Processing

I mentioned improvements to data processing on Day 3. I was also able to optimize data processing for the chlorophyll satellite imagery that is used in STAT. Thought I had also finished with the sea surface temperature, but there is still a bug somewhere that I need to fix. When it is all working, a process that was taking 12-18 hours every day should complete in just 3 or 4 hours.

More Updates to Remigration Summary Statistics

Had another request from Brian Shamblin which I have added to the Remigration Summary Statistics. The summary now shows you the percentage of females that have only been detected during one season. A critical metric when looking at remigration.

iPhone 5s Side Project

And I got distracted for about half an hour on a side project on Friday. I have been getting annoyed that I can't find the iPhone 5s I want at my local Apple Store. Apple lets you check online if their stores have iPhones in stock, but I kept forgetting to check their website. So I wrote a little script to check for me every hour and let me know if my Apple Store gets the iPhone I want. I decided to spend a little more time on it to make it a public service, since I assumed there are other people in the same boat. So now there is a page that will allow you to sign up to receive an e-mail notification when your favorite Apple Store has the iPhone 5s model you want available for in-store pick up.

iPhone 5s Availability Notifier

October 03, 2013

MoC Day 3: data processing optimization

Satellite Tracking Data Processing

Today was the culmination of something I have been poking at for several weeks. I significantly optimized one of the data processing tasks. Something that used to take about 4 hours per day now takes about 20 minutes. One of the things that happens behind the scenes as part of the Satellite Tracking and Analysis Tool (STAT - the engine behind the seaturtle.org satellite tracking website) is sampling of environmental data for every animal location that is collected by STAT. STAT users are able to export their data from the system and get access to all of the sampled environmental data. In this case, the process determines if it is wet or dry (water or land) underneath each animal location, and keeps up to date as new animal locations are added every day. Now that that is done I just have to do the same with data sampling of sea surface temperature and chlorophyll :)

October 02, 2013

Month of Change: Day 2

A smallish update today. I had too much fun making this graphic this morning :)

Now, back to business...

Updated Remigration Summary Statistics

I received some great comments from Brian Shamblin, one of the DNA project partners from the University of Georgia, on the Remigration Summary Statistics that I set-up yesterday. Brian wanted to be able view remigration summaries at the state level at for the entire project. You can now do that. Brian also mentioned that he gets lots of people asking him how many of "their" turtles are new each year. So I have now added a statistic that indicates the percentage of new females identified each year.

Suggestions and feedback are great and help make me so much more productive. Thanks Brian!

October 01, 2013

Month of Change: Day 1

Nesting Database Bug Fix

The first change of the month is a small bug reported by Mark Dodd and the folks from Jekyll Island, Georgia. One of the reports generated by the Sea Turtle Nest Monitoring System was incorrectly giving hatch success and emergence success values of zero in some cases. The report in question is called the Activity Report and allows users to export all of their nesting data to a CSV file. The bug was related to changes I made to the code at the beginning of the 2013 nesting season to add several new fields to meet Florida sea turtle nest reporting requirements. The changes caused one (yes 1!) line of code, a simple counter, to end up in the wrong place and throw off the HS% and ES% calculations. Now fixed :)

Remigration Summary Statistics

Added a new feature to the STNMS that calculates remigration summary statistics based on the genetic ID of each nesting female on beaches participating in the Northern Recovery Unit Loggerhead DNA Project. Basically you can look at any participating beach and see what percentage of the nesting females nested in other years. It is soooo cool all of the amazing things that people will be able to do with this DNA data!