PredefinedModelData
- class pyarts.arts.PredefinedModelData(*args, **kwargs)
Contains any data required for a predefined model
Workspace variables of type PredefinedModelData
Overview
Method
Read variable from file
Method
Saves variable to file
Static Method
Reads predefined models from catalog
Static Method
Create variable from file
Operator
Return self==value.
Operator
Return self>=value.
Operator
__getstate__(self) -> tuple[std::unordered_map<Species::Isotope, std::variant<Absorption::PredefinedModel::ModelName, Absorption::PredefinedModel::MT_CKD400::WaterData>, std::hash<Species::Isotope>, std::equal_to<Species::Isotope>, std::allocator<std::pair<Species::Isotope const, std::variant<Absorption::PredefinedModel::ModelName, Absorption::PredefinedModel::MT_CKD400::WaterData> > > >]
Operator
Return self>value.
Operator
Return hash(self).
Operator
Return self<=value.
Operator
Return self<value.
Operator
Return self!=value.
Operator
__setstate__(self, arg: tuple[std::unordered_map<Species::Isotope, std::variant<Absorption::PredefinedModel::ModelName, Absorption::PredefinedModel::MT_CKD400::WaterData>, std::hash<Species::Isotope>, std::equal_to<Species::Isotope>, std::allocator<std::pair<Species::Isotope const, std::variant<Absorption::PredefinedModel::ModelName, Absorption::PredefinedModel::MT_CKD400::WaterData> > > >], /) -> None
Constructors
- __init__(self) None
- __init__(self, arg: pyarts.arts.PredefinedModelData) None
Methods
- readxml(self, file: str) None
Read variable from file
- Parameters:
file (str) – A file that can be read
- On Error:
Throws RuntimeError for any failure to read
- savexml(self, file: str, type: str = 'ascii', clobber: bool = True) None
Saves variable to file
- Parameters:
- On Error:
Throws RuntimeError for any failure to save
Static Methods
- fromcatalog(basename: str, specs: pyarts.arts.ArrayOfArrayOfSpeciesTag) pyarts.arts.PredefinedModelData
Reads predefined models from catalog
- fromxml(file: str) pyarts.arts.PredefinedModelData
Create variable from file
- Parameters:
file (str) – A file that can be read
- On Error:
Throws RuntimeError for any failure to read
Operators
- __eq__(value, /)
Return self==value.
- __ge__(value, /)
Return self>=value.
- __getstate__(self) tuple[std::unordered_map<Species::Isotope, std::variant<Absorption::PredefinedModel::ModelName, Absorption::PredefinedModel::MT_CKD400::WaterData>, std::hash<Species::Isotope>, std::equal_to<Species::Isotope>, std::allocator<std::pair<Species::Isotope const, std::variant<Absorption::PredefinedModel::ModelName, Absorption::PredefinedModel::MT_CKD400::WaterData> > > >]
- __gt__(value, /)
Return self>value.
- __hash__()
Return hash(self).
- __le__(value, /)
Return self<=value.
- __lt__(value, /)
Return self<value.
- __ne__(value, /)
Return self!=value.
- __setstate__(self, arg: tuple[std::unordered_map<Species::Isotope, std::variant<Absorption::PredefinedModel::ModelName, Absorption::PredefinedModel::MT_CKD400::WaterData>, std::hash<Species::Isotope>, std::equal_to<Species::Isotope>, std::allocator<std::pair<Species::Isotope const, std::variant<Absorption::PredefinedModel::ModelName, Absorption::PredefinedModel::MT_CKD400::WaterData> > > >], /) None