-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodule_mainp.py
34 lines (28 loc) · 1.24 KB
/
module_mainp.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import input_date
import funtions_aux
import classify_module
import enveloped
import statis
import walk_rasters
def mainp():
funtions_aux.savelog(u"Pré-Processamento...", 1)
if "Arquivos" in input_date.type_classify:
funtions_aux.savelog("Iniciando o processo", 1)
funtions_aux.savelog("Fase 1 - Fazendo Composite, Reprojetando e Recortando as Imagens.", 1)
walk_rasters.walk_rasters()
funtions_aux.savelog("Fase 1 - Finalizada", 1)
funtions_aux.savelog('\n', 1)
else:
funtions_aux.savelog("Iniciando o processo", 1)
funtions_aux.savelog("Etapa Tratamento das Imagens - Finalizada", 1)
funtions_aux.savelog('\n', 1)
funtions_aux.savelog("Fase 3 - Iniciando o processo de recorte dos espelhos d´água e reclassificando.", 1)
classify_module.classify_module()
funtions_aux.savelog("Fase 3 - Finalizada", 1)
funtions_aux.savelog('\n', 1)
funtions_aux.savelog("Fase 4 - Analisando os resultados e calculando as estatísticas.", 1)
statis.analise_barragens()
funtions_aux.savelog("Fase 4 - Finalizada", 1)
funtions_aux.savelog('\n', 1)
funtions_aux.free_memory()
funtions_aux.savelog("Processo Finalizado!", 1)