Added netCDF output to class