Пример #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))
Пример #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))
Пример #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))