

import phase1_st_stats_forHua_optimized_level3 as step1
import phase1_merge_batch_forHua as step2
import os
import time
import traceback

"""
notes from saeed
so the first date in the tileID are the date of Landsat data acquisition and the second date is the processing date of ARD
LE07_CU_011007_20180211_20200615_C01_V1
The bold one is what you need when trying to find tiles for a specific year
"""

if __name__ == '__main__':


    #base_dir = "/caldera/projects/usgs/eros/urban_heat_islands/atlanta"

    iata_location_identifier = "FSD"
    a_start_year_inclusive = 1984
    a_end_year_inclusive = 1987

    HV_path_list = ["/caldera/projects/usgs/eros/urban_heat_islands/Phase3/hv_downloads/016006"]
    
    step1.st_stats_forHua(HV_path_list,iata_location_identifier,a_start_year_inclusive,a_end_year_inclusive)
    
    #step2.merge_batch_forHua(work_path,HV_List,a_start_year_inclusive,a_end_year_inclusive,iata_location_identifier)
