Updated to work with dev version of PISM (udunits no longer included in PISM)