def __init__(self, logfile):

        ProcessLogging.__init__(self, logfile)
        self.locationName = GRASS_LOCATION_NAME
        self.mapset = GRASS_MAPSET_NAME
        self.gisdbase = ""
        self.__gisrcFile = ""
 def __init__(self, gisdbase, locationName, mapset, logfile):
     ProcessLogging.__init__(self, logfile)
     self.locationName = locationName
     self.mapset = mapset
     self.gisdbase = gisdbase
     self.__gisrcFile = ""
     self.__tmpDir = ""
Exemple #3
0
 def __init__(self, gisdbase, locationName, mapset, logfile):
     ProcessLogging.__init__(self, logfile)
     self.locationName = locationName
     self.mapset = mapset
     self.gisdbase = gisdbase
     self.__gisrcFile = ""
     self.__tmpDir = ""
Exemple #4
0
    def __init__(self, logfile):

        ProcessLogging.__init__(self, logfile)
        self.locationName = GRASS_LOCATION_NAME
        self.mapset = GRASS_MAPSET_NAME
        self.gisdbase = ""
        self.__gisrcFile = ""
Exemple #5
0
    def __init__(self, gisdbase, location, mapset, logfile):

        ProcessLogging.__init__(self, logfile)
        """ Create the WIND and if needed the DEFAULT_WIND file """
        self.__windFile = ""
        self.__windname = "WIND"

        if mapset == "PERMANENT":
            #If PERMANENT is used as mapset, the DEFAULT_WIND file will be created too
            self.__windFile = os.path.join(gisdbase, location, mapset, "DEFAULT_WIND" )
            self.__write()

        self.__windFile = os.path.join(gisdbase, location, mapset, "WIND")
        self.__write()
    def __init__(self, logfile):

        ProcessLogging.__init__(self, logfile)
        self.env = {"GISBASE":"", "GISRC":"", "LD_LIBRARY_PATH":"",\
        "GRASS_ADDON_PATH":"", "GRASS_VERSION":"", "PYTHONPATH":""}
Exemple #7
0
    def __init__(self, logfile):

        ProcessLogging.__init__(self, logfile)
        self.env = {"GISBASE":"", "GISRC":"", "LD_LIBRARY_PATH":"",\
        "GRASS_ADDON_PATH":"", "GRASS_VERSION":"", "PYTHONPATH":""}