| 812 | //------------------------------------------------------------------------------ |
| 813 | |
| 814 | int vtkMPASReader::Internal::nc_dim_id(const char* name, bool msg_on_err) const |
| 815 | { |
| 816 | int dimid; |
| 817 | if (nc_err(nc_inq_dimid(ncFile, name, &dimid), msg_on_err)) |
| 818 | { |
| 819 | return -1; |
| 820 | } |
| 821 | return dimid; |
| 822 | } |
| 823 | |
| 824 | //------------------------------------------------------------------------------ |
| 825 | // Check if there is a NetCDF attribute by that name |
no test coverage detected