Introduce new class EmissionFactors that handles reading from the csv files to get emission factors. It checks whether the parameter combination is present and raises an error if not.
Introduces pydantic.BaseModel classes to validate the parameters from the user for each emission type. It also defines default values.
Four tests fail now because the parameter combinations are not available. But we need to change the tests anyways to be separated from the emissions factors. This still needs to be done.
EmissionFactors
that handles reading from the csv files to get emission factors. It checks whether the parameter combination is present and raises an error if not.pydantic.BaseModel
classes to validate the parameters from the user for each emission type. It also defines default values.Four tests fail now because the parameter combinations are not available. But we need to change the tests anyways to be separated from the emissions factors. This still needs to be done.
closes #111