redo netcdf reading to be object oriented. still need to do writing. references #29