POST
|
In our company, the computers we use have a very small C: drive. 256GB NVMe. We are using ArcGis Pro 2.5 and constantly running low on space on our C: drive. We would like to know some of the "Best Practices" to free up space used by ArcGIS Pro 2.5 inside each users profile (C:\Users\%usersname%). What can we delete and where is it located? The data we create and work with is NOT on the C: drive. But we do a lot of work with large Raster Imagery. Thanks in advance!
... View more
2 weeks ago
|
0
|
1
|
104
|
POST
|
Dan, Just to let you know, here are the steps we used to Clone the Default Python environment as a non-Admin user. Open a CMD window at C:\Program Files\ArcGIS\Pro\bin\Python\Scripts as this was the only location where conda would run. Strange, but it is a very restricted IT environment out of my control. Activate the default python environment C:\Program Files\ArcGIS\Pro\bin\Python\Scripts>activate arcgispro-py3 Clone the default python environment (arcgispro-py3) C:\Program Files\ArcGIS\Pro\bin\Python\Scripts> conda create --clone arcgispro-py3 --name C:\Users\YourProfile\AppData\Local\ESRI\conda\envs\agp2p7_py3_clone2 After the cloning was done we activated the new clone and installed a python package with pip (arcgispro-py3) C:\Program Files\ArcGIS\Pro\bin\Python\Scripts> activate C:\Users\YourProfile\AppData\Local\ESRI\conda\envs\agp2p7_py3_clone2 (C:\Users\YourProfile\AppData\Local\ESRI\conda\envs\agp2p7_py3_clone2) C:\Program Files\ArcGIS\Pro\bin\Python\Scripts> pip install laspy Note to others:This is a non standard method that happend to work for the restricted IT environment I operate in. The YourProfile is where you need to change to what you use on your computer. Direct copy and paste will not work.
... View more
01-26-2021
09:34 AM
|
0
|
0
|
106
|
POST
|
Dan, Fixing Software issues is a process of elimination. You have eliminate one of my question. Is it a Conda Issue? Answer is No. You have also mirrored one of my concerns " So I suspect that your clone is missing the administrative stuff that the base environment has " Thank you for your time and the next path for my investigation.
... View more
01-25-2021
06:25 AM
|
0
|
0
|
113
|
POST
|
First off, Dan thanks for responding! Current Environment In a command window I ran this C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3>"C:\Program Files\ArcGIS\Pro\bin\Python\Scripts\proenv.bat" then tested with conda --version issue persists Of note: When I run under an Admin account I do not have this problem, but it is against out IT policy to operate software under an Admin account. And the Clone I create under an Admin Account is not accessible as a General user (local account?)
... View more
01-25-2021
05:00 AM
|
0
|
3
|
119
|
POST
|
How do I trouble shoot this problem? ArcGIS Pro 2.7 Windows 10 Pro From a Python Command Prompt conda --version returns this (arcgispro-py3) C:\Program Files\ArcGIS\Pro\bin\Python\Scripts>conda --version Traceback (most recent call last): File "site-packages\PyInstaller\loader\rthooks\pyi_rth_multiprocessing.py", line 7, in <module> File "c:\apps\conda\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module File "multiprocessing\__init__.py", line 16, in <module> File "c:\apps\conda\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module File "multiprocessing\context.py", line 6, in <module> File "c:\apps\conda\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module File "multiprocessing\reduction.py", line 16, in <module> File "c:\apps\conda\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module File "socket.py", line 49, in <module> ImportError: dynamic module does not define module export function (PyInit__socket) [15460] Failed to execute script pyi_rth_multiprocessing (arcgispro-py3) C:\Program Files\ArcGIS\Pro\bin\Python\Scripts>
... View more
01-24-2021
06:50 AM
|
0
|
6
|
170
|
POST
|
Great job. Now others can benefit from having an example available.
... View more
12-21-2020
01:50 AM
|
1
|
0
|
207
|
IDEA
|
As requested. Enhanced version of the Geoprocessing History's Copy Python Command Existing Format (example return) arcpy.cartography.AggregatePoints("Multipoint_11", r"C:\00Lidar\LidarProject\LidarProject.gdb\Multipoint_11_AggregatePoint", "10 Feet") New Parameterized Format (example return) in_features = "Multipoint_11" out_feature_class = r"C:\00Lidar\LidarProject\LidarProject.gdb\Multipoint_11_AggregatePoint" aggregation_distance = "10 Feet" arcpy.cartography.AggregatePoints(in_features, out_feature_class, aggregation_distance) This Idea is so obvious. It enhances usability and adds structure to the Python code.
... View more
12-21-2020
01:44 AM
|
0
|
0
|
163
|
POST
|
Good luck. Just curious, what products will you be producing from you Terrain Dataset? We generated a statewide 10ft grids of elevations and have bare earth points by pyramid from the Terrains for our customer needs. For CADD we are a Microstation shop and full resolution Lidar is normally to much for it to handle for the size of projects we do.
... View more
12-21-2020
01:40 AM
|
0
|
1
|
193
|
IDEA
|
Enhanced version of the Geoprocessing History's Copy Python Command Existing Format (example return) arcpy.cartography.AggregatePoints("Multipoint_11", r"C:\00Lidar\LidarProject\LidarProject.gdb\Multipoint_11_AggregatePoint", "10 Feet") New Parameterized Format (example return) in_features = "Multipoint_11" out_feature_class = r"C:\00Lidar\LidarProject\LidarProject.gdb\Multipoint_11_AggregatePoint" aggregation_distance = "10 Feet" arcpy.cartography.AggregatePoints(in_features, out_feature_class, aggregation_distance) This Idea is so obvious. It enhances usability and adds structure to the Python code.
... View more
12-20-2020
08:14 AM
|
0
|
0
|
206
|
IDEA
|
The Idea is to add an additional Right click Menu item to the Geoprocessing History menu. It could be labeled as: Copy Python Command with Env It would Copy the Python command and open a checkbox selection list of the environment variables to also be copied. The checkbox list should include top level option like: Environments use with Geoprocessing tool Non Default Environment All selected Environments Say we run a geoprocess task that includes a Processing Extent and we use the "Current Display Extent" option. The Copy Python Command with Env could return the selected Environments Python commands and the Geoprocessing tool's Python command. (simple example) arcpy.env.extent = arcpy.Extent(936212.76, 655875.41 , 938212.76, 656875.41 ) arcpy.cartography.AggregatePoints("InData_11","Outdata_11_AggregatePoint", "10 Feet") For the way I work, this would be a big time saver and reduce errors. It would also be a great learning/teaching resource into the arcpy.env world. Thanks All.
... View more
12-20-2020
07:52 AM
|
0
|
0
|
103
|
Online Status |
Offline
|
Date Last Visited |
2 weeks ago
|