Commit 98538ddb authored by luroth's avatar luroth
Browse files

cleanup

parent ee6c171c
from GroundAerialCoverage import CanopyAnalysis
from pathlib import Path
path_p = Path("P:/")
path_p = Path("/home/luroth/public")
if __name__ == "__main__":
base_path_campaign = path_p / "Evaluation/UAV/_Processed_/ETHZ_eschikon_FPWW024_lot2"
path_plant_count_estimation = base_path_campaign / "trait_csvs"
path_BBCH30_estimation = base_path_campaign / "trait_csvs"
paths_BBCH30_measured = ["/home/luroth/public/Evaluation/Projects/KP0012_luroth/5_multi_location_trial/Field_measurements/for_db/BBCH30_data.csv"]
GSD = 0.001
# Tiller estimates
date_folders = base_path_campaign.glob('[0-9]*')
for date_folder in date_folders:
campaign_date = date_folder.name
if int(campaign_date) <= 20190418:
path_campaign = base_path_campaign / campaign_date / '28m_M600P'
CanopyAnalysis.process_tiller_count(path_campaign,
campaign_date, GSD,
path_BBCH30_estimation,
paths_BBCH30_measured)
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment