working on TS export to netcdf