with ArcPro 3.1 there is the ability to enable Time on raster layers. This python modules dont have an option to input the start and end time for a raster file, it only allows you to set the field, which raster files do not have. How can I use python to enable the time property on a raster layer, and set the start and end times without having to go into ArcPro and manually set them?
I want to be able to do something like:
map.listLayers(l)[0].enableTime('Date','Date2') in python so I can batch process hundreds of raster files and add them to a project so the Time is set. This works for a shapefile that has an attribute table, because I can create a field with the start and end date and add them. But I want to be able to do this for a raster.