BUG: fix reading of malformed netcdf files
ENH: implement ones() function
ENH: manage module imports