version 0.3 - working on netCDF output