def __init__(self, subarea_name, model_name=None, model_short_name=None, *args, **kwargs): if model_name: self.model_name = model_name if model_short_name: self.model_short_name = model_short_name Model.__init__(self, *args, **kwargs) self.subarea_name=subarea_name
def __init__(self, location_dataset_name=None, job_location_id_name=None, dataset_pool=None): Model.__init__(self) self.dataset_pool = self.create_dataset_pool(dataset_pool) self._location_dataset_name = self._location_dataset_name_default self._job_location_id_name = self._job_location_id_name_default if location_dataset_name is not None: self._location_dataset_name = location_dataset_name if job_location_id_name is not None: self._job_location_id_name = job_location_id_name self.location_dataset = self.dataset_pool.get_dataset(self._location_dataset_name)
def __init__(self, location_dataset_name=None, job_location_id_name=None, dataset_pool=None): Model.__init__(self) self.dataset_pool = self.create_dataset_pool(dataset_pool) self._location_dataset_name = self._location_dataset_name_default self._job_location_id_name = self._job_location_id_name_default if location_dataset_name is not None: self._location_dataset_name = location_dataset_name if job_location_id_name is not None: self._job_location_id_name = job_location_id_name self.location_dataset = self.dataset_pool.get_dataset( self._location_dataset_name)
def __init__(self, model_name=None, *args, **kwargs): Model.__init__(self, *args, **kwargs) if model_name is not None: self.model_name = model_name
def __init__(self, *args, **kwargs): self.number_of_chunks = 1 self.index_of_current_chunk = 0 Model.__init__(self, *args, **kwargs)
def _get_status_piece_description(self): return "%s chunk: %s" % (Model._get_status_piece_description(self), self.get_index_of_current_chunk() + 1)
def _get_status_piece_description(self): return "%s chunk: %s" % (Model._get_status_piece_description(self), self.get_index_of_current_chunk()+1)