updated comment
replaced deprecated netcdf methods (but not those for writing; need native library)