moved netcdf utilities to core module