Source code for landlab.io.netcdf.errors
#! /usr/bin/env
"""Exceptions to raise for the netcdf module."""
[docs]
class Error(Exception):
"""Base class for errors in this package."""
pass
[docs]
class NotRasterGridError(Error):
"""Raise if grid is not uniform rectilinear.
Raise this error if the grid defined in the netcdf file is not
uniform rectilinear with constant spacing in all dimensions.
"""
pass