arcpy - Clearing cache memory using python? - Geographic Information . . . A couple of tips that might help: Don't use the ArcGIS numpy module - it's rubbish to say the least Instead use the open source netCDF4 library to read the data into numpy arrays and process those instead, and then use the NumPyArrayToRaster tool in ArcPy to turn the results back into an ArcGIS compatible Raster Rather than using the ArcPy scratch workspace, use the Python tempfile module to
arcpy - List all layers within an . aprx and export all to a . gdb . . . There are 2 ways you can list tables -- ListTables from the workspace arcpy env workspace = "path to fGDB" arcpy ListTables() listTables from the map object aprx = arcpy mp ArcGISProject(r"B:\XXX000\XXX35219_BCG\Workspaces\EIAR\Chapter 7 - Air Quality\Chapter 7 - Air Quality aprx") m = aprx listMaps()[0] # Will use the first map it finds in the project m listTables() Your code is attempting to