from server2023 import server2023 import sys import os import traceback import json import time from satellite_polygon_server_gavl_ifpri import process_tmux_polygons try: file_name = sys.argv[1] except: print(traceback.format_exc()) f = open(file_name) # returns JSON object as # a dictionary data = json.load(f) uid='ipRHhCOFIDV2pxgg7Nfz1ufZBmV2' # Iterating through the json # list polygons_arr = [] for fieldid, uid in data.items(): polygons_arr.append([fieldid, uid]) #print(polygons_arr) process_tmux_polygons(uid,polygons_arr)