------------------------------------------------------------------------------
| 260 | |
| 261 | //------------------------------------------------------------------------------ |
| 262 | int vtkMINCImageReader::CloseNetCDFFile(int ncid) |
| 263 | { |
| 264 | int status = 0; |
| 265 | status = nc_close(ncid); |
| 266 | if (status != NC_NOERR) |
| 267 | { |
| 268 | vtkErrorMacro("Could not close the MINC file:\n" << nc_strerror(status)); |
| 269 | return 0; |
| 270 | } |
| 271 | |
| 272 | return 1; |
| 273 | } |
| 274 | |
| 275 | //------------------------------------------------------------------------------ |
| 276 | // this is a macro so the vtkErrorMacro will report a useful line number |
no test coverage detected