efast-phenocam-validation/run.py
2025-12-22 13:54:14 +01:00

22 lines
734 B
Python

from download_s2 import download_s2
from download_s3 import download_s3
from ndvi import generate_ndvi, create_ndvi_timeseries
from clouds import detect_clouds
year = 2024
site_position = (47.116171, 11.320308)
site_name = "innsbruck"
# print(f"Downloading data for {site_name}, {year}")
# download_s2(year, site_position, site_name)
# download_s3(year, site_position, site_name)
# print("All downloads completed")
# print(f"Generating NDVI for {site_name}, {year}")
# generate_ndvi(year, site_position, site_name)
# create_ndvi_timeseries(year, site_position, site_name)
# print("All NDVI generation completed")
print(f"Detecting clouds for {site_name}, {year}")
detect_clouds(year, site_name)
print("Cloud detection completed")