|
POST
|
I was excited to install 2.7 after watching the "what's new.." video. I already expected problems from the upgrade, so I waited until the daily work is done. After seeing Dan's advice on performing a clean install, I'm going to take Dan's advice.
... View more
12-17-2020
11:25 PM
|
0
|
0
|
3358
|
|
POST
|
yes. It 's below. I was hoping there was something that you would see that I missed. AddSHPtoGDB("wwa")
... View more
12-01-2020
03:00 PM
|
0
|
0
|
1465
|
|
POST
|
Yes when executing it from pyCharm, there's nothing in the GDB. There were no errors in pyCharm though.
... View more
12-01-2020
01:59 PM
|
0
|
2
|
1468
|
|
POST
|
I'm having problems with a stand-alone script that uses the FeatureClassToGeodatabase function. When executing it in the IDE, the print statement executes with the output below which looks correct. The code executes fine within the AGP python window, but doesn't work when executing from PyCharm. I'm not new to executing stand-alone scripts, but I can't figure this out! homeDir = r"E:\ArcGIS\Projects\del_testingMDR"
fileName = r"del_testingMDR.aprx"
aprx = arcpy.mp.ArcGISProject(os.path.join(homeDir, fileName))
aprxMap = aprx.listMaps("Map")[0] def AddSHPtoGDB(r):
"""
:param r: function is called during iteration over region list. r is a single region string
:return:
"""
input_files = []
for wx in wx_vars:
for file in os.listdir(ndfd_output + "/" + r):
if file.endswith(".shp"):
if file.lower().startswith(wx.lower()):
input_files.append(os.path.join(ndfd_output, r, file))
in_features = input_files
out_location = r"E:\ArcGIS\Projects\del_testingMDR\wwa_Import.gdb"
arcpy.FeatureClassToGeodatabase_conversion(in_features,out_location)
print("adding {} to {}".format(in_features,out_location)) in_features
['C:\\ndfd\\degrib\\output\\conus\\WWA_12011800.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12011900.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12012000.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12012100.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12012200.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12012300.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12020000.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12020100.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12020200.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12020300.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12020400.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12020500.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12020600.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12020700.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12020800.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12020900.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12021000.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12021100.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12021200.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12021300.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12021400.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12021500.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12021600.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12021700.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12021800.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12021900.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12022000.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12022100.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12022200.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12022300.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12030000.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12030100.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12030200.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12030300.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12030400.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12030500.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12030600.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12030700.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12030800.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12030900.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12031000.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12031100.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12031200.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12031300.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12031400.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12031500.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12031600.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12031700.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12031800.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12031900.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12032000.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12032100.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12032200.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12032300.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12040000.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12040600.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12041200.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12041800.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12050000.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12050600.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12051200.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12051800.shp', 'C:\\ndfd\\degrib\\output\\conus\\WWA_12060000.shp'] out_location
'E:\\ArcGIS\\Projects\\del_testingMDR\\wwa_Import.gdb'
... View more
12-01-2020
12:38 PM
|
0
|
4
|
1478
|
|
POST
|
Hi. I have a NetCDF file which I am trying to add. When I add this using the "Add Data>Add Multidimensional Raster Layers" there is only one time dimension value, versus the approx 58 that are in the file. When adding this using the "Make CDF Raster Layer" GP tool, I see all of these dimension values so I know they're in the file, but this tool isn't set up to add all of them. Why won't all dimensional values show up when adding using the first method? This is really frustrating. Attached is a GIF I took of my work. Using AGP 2.6.0
... View more
11-06-2020
12:42 PM
|
0
|
0
|
1097
|
|
POST
|
Yes, I had to clone the default environment again and add my additional libraries to it.
... View more
10-27-2020
09:57 PM
|
1
|
1
|
2278
|
|
POST
|
That's a separate issue. My old environments run just fine. The issue I'm talking about is that the active environment reverts to the default environment meaning that I open a new project from a template (which was originally saved as having the non-default python env active), I need to change the python environment, save and then restart. This is a new issue with 2.6.2 that I didn't experience with previous updates.
... View more
10-05-2020
12:11 PM
|
0
|
1
|
2278
|
|
POST
|
After I upgraded to 2.6.2 I noticed that the python environment switched to the default for an existing project and for new projects. In some instances, changing back to the preferred environment doesn't stick and multiple program restarts are needed for this change to be reflected. Is anyone experiencing the same thing?
... View more
10-02-2020
11:56 AM
|
0
|
7
|
2447
|
|
POST
|
There was a good post by someone like Dan or Kory that listed the steps to create a new environment with your existing library. I can't find it now though.
... View more
02-17-2020
09:24 AM
|
0
|
0
|
720
|
|
POST
|
I have 2 FCs in 2 different GDBs. I needed to modify both of them, but I only want to save the changes to one layer. The ArcGIS save button doesn't have have an option to only save some edits. Am I missing something?
... View more
02-12-2020
01:26 PM
|
0
|
1
|
603
|
|
POST
|
Are there any error messages (other than straight 9s)?
... View more
02-12-2020
01:16 PM
|
0
|
1
|
2224
|
|
POST
|
I'm sorry to hear that Laura. It's frustrating! I went through uninstalling, reinstalling, uninstalling again and erasing all the registry keys, folders, etc, then reinstalling again, running ArcGIS Pro as an admin, etc. For my situation at work, network security was interrupting the cloning process. The word clone implies (to me anyway) that the existing libraries are being simply copied, but that isn't all that's going on when working through the interface in Pro. Some of Dan Patterson's suggestions worked for me, but I didn't use Spyder. I met with success when I began working through conda directly in the command line environment. There are a few how-to posts on this site.
... View more
02-07-2020
09:57 AM
|
0
|
2
|
2224
|
|
POST
|
I'm trying to convert a DEM mosaic from meters to feet, which is a pretty simple operation. When operating on a mosaic dataset, the status bar progresses to 3% and stays there. Last night, I opened a new instance of ArcGIS Pro (2.4.3), ran the same operation on each individual DEM raster (obtained from the TNM site), mosaicked the output and completed everything before the mosaic dataset was complete. Is this weird, or expected behavior?
... View more
02-06-2020
12:22 PM
|
0
|
0
|
734
|
|
IDEA
|
When animating, it would be cool to have the range slider values input from a table. I'm looking at river gauges on certain dates and it would be nice to have the overlay text display the date, with the ranges driven from a table, rather than just sweeping through a max/min.
... View more
02-04-2020
10:19 AM
|
2
|
0
|
782
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 01-08-2019 04:16 PM | |
| 1 | 01-14-2020 04:09 PM | |
| 4 | 08-26-2021 09:00 PM | |
| 1 | 01-24-2019 10:20 AM | |
| 1 | 04-16-2019 02:39 PM |
| Online Status |
Offline
|
| Date Last Visited |
06-01-2023
07:29 PM
|