I have a dataset of 600,000 records where I need to calculate a drive time that is different for each based on model that estimates the actual/variable drive time needed at that location. Within ArcPro (2.5) I can create a drive time trade area but it only allows input for 1 specific drive time point. How can I change the python code so that it reads from the record/file the specific drive time that I need for it to calculate?
Here is the Business Analyst drive time code:
arcpy.ba.GenerateDriveTimeTradeArea("Heat_Map_Grids_Point", r"C:\Default.gdb\Heat_Map_Drive_Times", "Driving Time", [5], "MINUTES", "GRID_ID", "OVERLAP", "KEEP_OVERLAP", "TOWARD_STORES", None, "TIME_ZONE_AT_LOCATION", None, "STANDARD")
the [5] is the variable I need to convert to a field value.