working prototype of netcdf_io