def __init__(self, src_file, urban_band_nums, pop_band_nums, n_classes):
        AbstractWorker.__init__(self)

        self.src_file = src_file
        self.urban_band_nums = [int(x) for x in urban_band_nums]
        self.pop_band_nums = [int(x) for x in pop_band_nums]
        self.n_classes = n_classes
 def __init__(self, in_vrt, out_f, lc_band_nums, lc_years, fl):
     AbstractWorker.__init__(self)
     self.in_vrt = in_vrt
     self.out_f = out_f
     self.lc_years = lc_years
     self.lc_band_nums = lc_band_nums
     self.fl = fl
    def __init__(self, in_file, out_file, geojson, output_bounds=None):
        AbstractWorker.__init__(self)

        self.in_file = in_file
        self.out_file = out_file
        self.output_bounds = output_bounds

        self.geojson = geojson
Exemple #4
0
 def __init__(self, in_vrt, out_f, lc_band_nums, lc_years):
     AbstractWorker.__init__(self)
     self.in_vrt = in_vrt
     self.out_f = out_f
     self.lc_years = lc_years
     self.lc_band_nums = [int(x) for x in lc_band_nums]
Exemple #5
0
    def __init__(self, src_file, year_start, year_end):
        AbstractWorker.__init__(self)

        self.src_file = src_file
        self.year_start = year_start
        self.year_end = year_end
Exemple #6
0
 def __init__(self, url, outfile):
     AbstractWorker.__init__(self)
     self.url = url
     self.outfile = outfile
Exemple #7
0
 def __init__(self, url, method, payload, headers):
     AbstractWorker.__init__(self)
     self.url = url
     self.method = method
     self.payload = payload
     self.headers = headers
 def __init__(self, in_f, out_f, trans_matrix, persistence_remap):
     AbstractWorker.__init__(self)
     self.in_f = in_f
     self.out_f = out_f
     self.trans_matrix = trans_matrix
     self.persistence_remap = persistence_remap
Exemple #9
0
    def __init__(self, src_file):
        AbstractWorker.__init__(self)

        self.src_file = src_file
Exemple #10
0
    def __init__(self, out_file, geojson, model_file=None):
        AbstractWorker.__init__(self)

        self.out_file = out_file
        self.geojson = geojson
        self.model_file = model_file