Delete comments and add them to drafts

This commit is contained in:
Alireza Adli 2024-04-25 11:22:06 -04:00
parent f2a53778b7
commit f2ac95a514

View File

@ -99,41 +99,24 @@ class ScrubMTL:
f'{self.property_assessment.data_count}') f'{self.property_assessment.data_count}')
self.property_assessment.create_spatial_index() 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): def the_cleaning_workflow(self):
"""It carries out all the steps to clean the dataset.""" """It carries out all the steps to clean the dataset."""
# self.generate_output_paths() self.generate_output_paths()
# self.process_nrcan() self.process_nrcan()
# self.process_geo_index() self.process_geo_index()
# self.process_property_assesment() self.process_property_assesment()
# self.property_assessment.clip_by_multiple(120, self.property_assessment.clip_by_multiple(120,
# self.output_paths['Fixed NRCan'], self.output_paths['Fixed NRCan'],
# self.output_paths['Splitted NRCans'], self.output_paths['Splitted NRCans'],
# self.output_paths self.output_paths
# ['Pairwise Clipped Property Assessment Partitions'] ['Pairwise Clipped Property Assessment Partitions']
# ) )
prop_a = ScrubLayer(self.qgis_path, self.input_paths['Property Assessment'], prop_a = ScrubLayer(self.qgis_path, self.input_paths['Property Assessment'],
'Property Aim') 'Property Aim')
prop_a.\ prop_a.\
clip_by_multiple(120, 'the path', clip_by_multiple(120, 'the path',
self.output_paths['Splitted NRCans'], self.output_paths['Splitted NRCans'])
self.output_paths['Pairwise Clipped Property Assessment Partitions'])
def refine_heights(self): def refine_heights(self):
pass pass