USGS & Light Pattern

Hello everyone! I finally got into the USGS data but they did not have some of the data we needed for any in the San Francisco area so I chose the closest one that has all the data. The HTML for their data site was trickier than MBARI but it’s done!

It looks something like this:

First is for the temperature in C, pH, and nitrate. The [0] array is the HTML code I was extracting the data from and those are ignored. Only [1] is added in a text file.

Array
(
    [0] => <td nowrap="nowrap">19.7<
    [1] => 19.7
)
Array
(
    [0] => 7.6<
    [1] => 7.6
)
Array
(
    [0] => "nowrap">0.63<
    [1] => 0.63
)

Also, I checked out Tyler’s processing code for light patterns and I tried to make a few myself. I ended up with something like this:

lights <= it’s a GIF!

I tried to do something similar to when they are ‘dying’ (like a game over pattern?), but it doesn’t look as smooth as I want it to be.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

rfwbs-sliderfwbs-sliderfwbs-sliderfwbs-slide
%d bloggers like this: