process_LA_index.py 654 Bytes
Newer Older
luroth's avatar
SE  
luroth committed
1
2
3
4
from GroundAerialCoverage import CanopyAnalysis
from pathlib import Path

path_p = Path("P:")
luroth's avatar
luroth committed
5
path_p = Path("/home/luroth/public")
luroth's avatar
SE  
luroth committed
6
7
8
9
10
11
12
13
14
15
16
17
18

if __name__ == "__main__":

    base_path_campaign = path_p / "Evaluation/UAV/_Processed_/ETHZ_eschikon_FPWW022_lot1"
    GSD = 0.001

    # CC, LA
    date_folders = base_path_campaign.glob('[0-9]*')
    for date_folder in date_folders:
        campaign_date = date_folder.name

        path_campaign = base_path_campaign / campaign_date / '28m_M600P'

luroth's avatar
luroth committed
19
        if int(campaign_date) <= 20180509:
luroth's avatar
SE  
luroth committed
20
21

            print("Processing", campaign_date)
luroth's avatar
luroth committed
22
            CanopyAnalysis.process_NadirCC_LCCC_LA_BBCH30(path_campaign, GSD)