hec.rating.reference_rating_set
Exception class for ReferenceRatingSet objects
A sub-class of AbstractRatingSet that performs all ratings in the CWMS database
ReferenceRatingSet(specification: Any, **kwargs: Any)
Initializer for ReferenceRatingSet objects.
Arguments:
- specification (Any): A RatingSpecification object to initialize from.
This is typed as
Anyto avoid circular import dependencies. - datastore (CwmsDataStore, must be passed by name): The CwmsDataStore object used to perform the ratings in the database.
Raises:
- TypeError: if
specificationis not a RatingSpecification object.