Ejemplo n.º 1
0
    def readxml(self, file):
        """ Reads the XML file

        Input:
            file:
                Filename to valid class-file (str)
        """
        if lib.xmlreadGasAbsLookup(self.__data__, correct_read_arguments(file)):
            raise OSError("Cannot read {}".format(file))
Ejemplo n.º 2
0
    def readxml(self, file):
        """ Reads the XML file

        Input:
            file:
                Filename to valid class-file (str)
        """
        if lib.xmlreadHitranRelaxationMatrixData(self.__data__,
                                                 correct_read_arguments(file)):
            raise OSError("Cannot read {}".format(file))
Ejemplo n.º 3
0
    def readxml(self, file):
        """ Reads the XML file

        Input:
            file:
                Filename to valid class-file (str)
        """
        if lib.xmlreadSpeciesIsotopologueRatios(self.__data__,
                                                correct_read_arguments(file)):
            raise OSError("Cannot read {}".format(file))