Weather Underground Web API using C#, Part 2

For part 2 of the Weather Underground API post, I’ll be taking weather data, and injecting it into a KML file. The Keyhole Markup Language (KML) is an XML based format that allows geographic data e.g. lines, points, polygons, to be easily seen in compatible viewers.

Using the previous post as a starting point, we’ll be adding:

  • Front Matter. Starts the KML file, defines the encoding, has a concise description of the file.
  • Style Section. Defines the way the balloons and text will look in the KML file.
  • KML Encoding. The information from the Wunderground API call is encapsulated in pertinent KML.
  • System.IO.File. Is used to write the output file.

Continue reading

Weather Underground Web API using C#, Part 1

In the off hours, I’ve been teaching myself C#…a simple enough object oriented language, with the benefit of using the .NET framework. If you’re targeting Windows, it’s incredibly easy…features like file IO and serial port communications work effortlessly.

I have a list of tasks that I complete before I refer to myself as ‘capable’ in a new language:

  • Helloworld
  • Web API Access
  • File IO
  • XML Parsing
  • GUI Creation
  • Serial Communication
  • System Call
  • Directory Management
  • Database Connectivity
  • 3rd Party Library Integration
  • Error Catching/Mitigation
  • Logging

Continue reading


Current Masters/PhD research at University of California, Santa Cruz (UCSC) currently consists of working on the Santa Cruz Low-cost UAV GNC System’ (SLUGS) at the Autonomous Systems Laboratory (ASL). A current side project I’m working on is to visualize the data that is produced from the SLUGS simulation such that it looks like the user is seeing through a camera mounted to the front of the UAV.

Continue reading

LaTeX Master’s Thesis for UCSC BSOE

A barebones Master’s thesis in LaTeX based on the documentation from the UCSC Graduate Handbook as of May 2011.

This project includes fully documented LaTeX code and cursory bibliography/figures/tables to show usage. The generated document has all the proper pages, page numbering, borders, formatting, etc.

‘BSOE’ is listed anywhere and everywhere, but keep in mind that this was put together with information from the Graduate Division. This LaTeX template can be used by ANY graduate student in ANY program at UCSC.

Continue reading

Omni-Wheel Robot

For CE-218, Mechatronics, my team and I were required to build a robot for our final project. The goal of this project is to create a robot within certain specifications that can meet a required goal. This year’s project was named Slug-o-Lete; and the tasks involved the robot acting as a bull, and a toreador. In both modes the robot is to stay within a seven foot diameter circle using tape sensors, and to respond to bump sensors. The robot will have a switch that allows the robot to change from bull to toreador mode and back again.

Continue reading

Dormitory Assessment Module (DAM)

For CE-231, Human Computer Interface (HCI), my team and I decided on creating a web application with a user-friendly UI, leveraging free web services. We designed the application to be inexpensive, easy to use/maintain, and to require minimum training.

Any modern university with housing facilities needs to maintain the condition of hundreds to thousands of rooms. A housing department needs a low cost and effective way to communicate the state of dormitory rooms between on-site employees, off-site housing administration, persons responsible for fixing a room (maintenance), and the previous/next residents.

Continue reading

uCLinux on LEON3

MicroController Linux (uCLinux) is a Linux operating system for embedded hardware systems without a memory management unit (MMU).

The LEON3 is a 32-bit VHDL processor core based on the SPARCV8 RISC instruction set architecture.

This project will involve synthesis and placement of a LEON3 processor onto a commercial off the shelf (COTS) field programmable gate array (FPGA), uCLinux will then be loaded to the FPGA.

Continue reading