Errors API¶
netCDF-SCM’s custom error handling
-
exception
netcdf_scm.errors.
NoLicenseInformationError
[source]¶ Bases:
AttributeError
Exception raised when a dataset contains no license information
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
netcdf_scm.errors.
NonStandardLicenseError
[source]¶ Bases:
ValueError
Exception raised when a dataset contains a non-standard license
For example, if a CMIP6 dataset does not contain a Creative Commons Attribution ShareAlike 4.0 International License
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-