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

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

if __name__ == "__main__":

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

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

luroth's avatar
luroth committed
17
        if int(campaign_date) <= 20190501:
luroth's avatar
luroth committed
18
19
20
21
22

            print("Processing", campaign_date)

            path_campaign = base_path_campaign / campaign_date / '28m_M600P'

luroth's avatar
luroth committed
23
            CanopyAnalysis.process_NadirCC_LCCC_LA_BBCH30(path_campaign, GSD)