from estimate_area_server import estimate_area_server import os #fromdate, todate, max_num, from_date = '2024-01-10T00:00:00' to_date = '2024-03-14T23:59:59' max_num =3 #estimate_area_server(['fSRlyKzCxxMJHJqDzpGhQImyyxf2','rF4qo7DGoxd3AeEC1Ux4vBGbsbl1'],['6HjLvQdSnUQAWPWL5ck4rVnpdfT2'], from_date, to_date, max_num) #estimate_area_server(['fSRlyKzCxxMJHJqDzpGhQImyyxf2'],['6HjLvQdSnUQAWPWL5ck4rVnpdfT2'], from_date, to_date, max_num, 10101010) # # #sugarcane gt_uids = ['YkJIYa63SLhOZdmo4hRKZ17z4lq2'] study_uids = ['JxE7mAszM1gArRq0AvNDkwdvGjF3'] # # # #jeera gt_uids = ['Jh71NGn1A4VSu3WOYwXhRiia0Cu1'] study_uids = ['vRltgE8ehWftSjZ3UdUjCcQsef43'] # # #coriander # gt_uids = ['AvlbNpsuI7P1sva1NWMBUN4Fmbg1'] # study_uids = ['KzkCnSmHLpOkhnseAhhRWrI35BD2'] # # #banana # gt_uids = ['fLwCtzdi7GRqrV12bI1ULGGcwDo2'] # study_uids = ['zkBZGiByagbnwFvjOmtLnSBVLeu1'] # # #egypt wheat gt_uids = ['58EOGX5hGOXlQaKjQ99c3JpZxbm2'] study_uids = ['VWoPJ2nfWDRlrYQo9dmctdLHeJN2'] # # #cotton reinhart # gt_uids = ['u5ZgAskSltX7dQdNFUlHsgVhAlf2', 'b2j92LjidjeGt2b60QHhSj4GeS63', 'hSoBF0u61YfFeBFzcjhUFU3dh0e2','0AC0f8JWjUdg9fCm7f8QbXZTOp23'] # gt_uids = ['u5ZgAskSltX7dQdNFUlHsgVhAlf2'] # study_uids = ['xk6kws4YMkdeBAstSWDNsd42w9m2'] # #makhana # gt_uids = ['AIuLJSIg3peD8uyosFkcINne7fj2'] # study_uids = ['uFfXgnVZ2zWp1mRaYjrBCfMUIw63'] # # # #saffron # gt_uids = ['Hxi0OitQWfMPeTsWO7n3WUg2Cl12'] # study_uids = ['a7X8A4BkmbeUkkZ5HyHLcqljyA12'] # # #silk # # gt_uids = ['M4DD2KW3Q9SpA1LCgbdGvhlwlhw2'] # # study_uids = ['RVh210yzIxRNOKoRt1GXslmUqbE3'] # #apricot # gt_uids = ['ATdJcBt4KEZUFYWzCR7tzfihyod2'] # study_uids = ['7kcKGOJaHFR6wqQOyxx57QKWXe22'] # # #honey # gt_uids = ['9Km29NUdUfZlgWldeEc1ZRuBEbf1'] # study_uids = ['CztdcTH0Ijf2EkUV3ElVUXyNx2I2'] # # # # #egypt sugarbeet # gt_uids = ['WdSPkBXkkXcEQGU8tSFhqfAGZUf1'] # study_uids = ['wEJQVaxiZZaaId2aJe6lRJ8Zd0S2'] # # # # # #egypt clover # gt_uids = ['9fLMcJOY9pPOMWDiQDZrxxQlRS13'] # study_uids = ['wEJQVaxiZZaaId2aJe6lRJ8Zd0S2'] # # # # # #egypt barley # gt_uids = ['qL4tgUcl1ggqLRFFgxTNbTgP3uk1'] # study_uids = ['wEJQVaxiZZaaId2aJe6lRJ8Zd0S2'] # # for uid in gt_uids: # # os.system(("rm -rf " + uid)) # # for uid in study_uids: # # os.system(("rm -rf " + uid)) # #potato # gt_uids = ['BIGvoYtMsvYxNG3P8bUtZstRIW62'] # study_uids = ['0dHxmjDhHsQ2yB5S2toQLWHna1Q2'] # # #sunflower # gt_uids = ['FjilopTvv9NSB87kIblz4zYKA7s1'] # study_uids = ['4D83favljWPPtV28RnN2AZ2YHQv2'] # # romania wheat #gt_uids = ['58EOGX5hGOXlQaKjQ99c3JpZxbm2'] # study_uids = ['4D83favljWPPtV28RnN2AZ2YHQv2'] # # # #sugarcane # gt_uids = ['M53J9SImW9My4vghlCaaWLYxsc22'] # study_uids = ['QnQBVSAYLqMzjNWtYJZMIjtSkkd2'] # # #quinoa # gt_uids = ['ibeQZh423hYvmi6TpHckfLMyj522'] # study_uids = ['JgbkYJkMVsRXpSndLsDlabDomOp2'] # # romania corn #gt_uids = ['qL4tgUcl1ggqLRFFgxTNbTgP3uk1'] #study_uids = ['4D83favljWPPtV28RnN2AZ2YHQv2'] study_uids = ['NXoE89jAYCNqLCuIItopkZtYWSb2'] field_ids = [1691317955489, 1691318217273, 1691318293376, 1691318375874, 1691318502775, 1691318718884, 1691318798594, 1691319026990, 1691319123383, 1691319187984, 1691319233872, 1691319274587, 1691319316883, 1691319359591, 1691319399881, 1691319466281, 1691319509574, 1691319552588, 1691319597272, 1691319659581, 1691320315982, 1691320360085 ] field_id = '1709782560840' # for i in range(16,22): # field_id = field_ids[i] # field_id = str(field_id) estimate_area_server(gt_uids,study_uids, from_date, to_date, max_num, 10101010, field_id) # # #pulse1 # gt_uids = ['htTFhoN6GbSCxan3DQtBlbcmzzJ2'] # study_uids = ['U3A28DdRKjYS5rth60LtWDoNxlJ2'] # # #pulse2 # gt_uids = ['L4BD8iCi4ohy6TEtzhL4ccuAtJi1'] # study_uids = ['tww0ruxYjtQBHbKbh8XBTobj6lM2'] #estimate_area_server(gt_uids,study_uids, from_date, to_date, max_num, 10101010, None) # gts = ['58EOGX5hGOXlQaKjQ99c3JpZxbm2', 'WdSPkBXkkXcEQGU8tSFhqfAGZUf1', '9fLMcJOY9pPOMWDiQDZrxxQlRS13', 'qL4tgUcl1ggqLRFFgxTNbTgP3uk1'] # stds = ['wEJQVaxiZZaaId2aJe6lRJ8Zd0S2', 'wEJQVaxiZZaaId2aJe6lRJ8Zd0S2', 'wEJQVaxiZZaaId2aJe6lRJ8Zd0S2', 'wEJQVaxiZZaaId2aJe6lRJ8Zd0S2'] # days = [10101010,20202020,30303030,40404040] # num = 0 # for single_gt in gts: # gt_uids = [single_gt] # study_uids = [stds[num]] # latestDay = days[num] # estimate_area_server(gt_uids,study_uids, from_date, to_date, max_num, latestDay) # num = num + 1 #banana #estimate_area_server([''],[''], from_date, to_date, max_num)