<?php
$station = isset($_GET["station"]) ? $_GET['station']: 'IA0200';
$network = sprintf("%sCLIMATE", substr($station, 0, 2));
$uri = sprintf("/plotting/auto/?q=107&network=%s&station=%s&varname=precip",
        $network, $station);
header("Location: {$uri}");
