updated the code to work with Java 6, updated the definitions for stationID/networkID/sensorID