From f2ac95a514e33f9e27056ce2785354c333b52f72 Mon Sep 17 00:00:00 2001 From: Alireza Adli Date: Thu, 25 Apr 2024 11:22:06 -0400 Subject: [PATCH] Delete comments and add them to drafts --- scrub_mtl_class.py | 39 +++++++++++---------------------------- 1 file changed, 11 insertions(+), 28 deletions(-) diff --git a/scrub_mtl_class.py b/scrub_mtl_class.py index 31c3a7c..54e1420 100644 --- a/scrub_mtl_class.py +++ b/scrub_mtl_class.py @@ -99,41 +99,24 @@ class ScrubMTL: f'{self.property_assessment.data_count}') self.property_assessment.create_spatial_index() - # def the_cleaning_workflow(self): - # """It carries out all the steps to clean the dataset.""" - # # self.generate_output_paths() - # # self.process_nrcan() - # # self.process_geo_index() - # # self.process_property_assesment() - # # self.property_assessment.clip_by_multiple(120, - # # self.output_paths['Fixed NRCan'], - # # self.output_paths['Splitted NRCans'], - # # self.output_paths - # # ['Pairwise Clipped Property Assessment Partitions'] - # # ) - # self.property_assessment.\ - # clip_by_multiple(120, 'the path', - # self.output_paths['Splitted NRCans'], - # self.output_paths['Pairwise Clipped Property Assessment Partitions']) def the_cleaning_workflow(self): """It carries out all the steps to clean the dataset.""" - # self.generate_output_paths() - # self.process_nrcan() - # self.process_geo_index() - # self.process_property_assesment() - # self.property_assessment.clip_by_multiple(120, - # self.output_paths['Fixed NRCan'], - # self.output_paths['Splitted NRCans'], - # self.output_paths - # ['Pairwise Clipped Property Assessment Partitions'] - # ) + self.generate_output_paths() + self.process_nrcan() + self.process_geo_index() + self.process_property_assesment() + self.property_assessment.clip_by_multiple(120, + self.output_paths['Fixed NRCan'], + self.output_paths['Splitted NRCans'], + self.output_paths + ['Pairwise Clipped Property Assessment Partitions'] + ) prop_a = ScrubLayer(self.qgis_path, self.input_paths['Property Assessment'], 'Property Aim') prop_a.\ clip_by_multiple(120, 'the path', - self.output_paths['Splitted NRCans'], - self.output_paths['Pairwise Clipped Property Assessment Partitions']) + self.output_paths['Splitted NRCans']) def refine_heights(self): pass