Error on GIS preprocessing

48 views
Skip to first unread message

kingstn

unread,
Apr 19, 2024, 3:08:45 AMApr 19
to wrf-hydro_users
Hello Users,
I can't able to simulate "WRF_Hydro_routing_grids.zip". in every of my trial, an error occurred.
Can anyone help me to fix it?

error message .docx
file.rar

Kevin

unread,
Apr 19, 2024, 2:06:17 PMApr 19
to wrf-hydro_users, kingstn
Kingstn,

This error (ERROR 999999) is a generic Esri error, and could mean anything. Sometimes this is caused by running out of memory or disk space on your system. 

Another user encountered this error and resolved it by specifying the full path to the output ZIP file on disk. Instead of specifying "WRF_Hydro_routing_grids.zip" as the Output ZIP File, try specifying "E:\WRF Hydro\Tana\ WRF_Hydro_routing_grids.zip", which gives the full path. Otherwise ArcGIS Pro will default to writing your ZIP file into the default working directory, which is often a GeoDatabase. You cannot write files such as GeoTiff, etc. (our intermediate raster format) into a GeoDatabase. If you provide a full path to a location on disk (not in a geodatabase), the tool may work.

Thanks,

Kevin

kingstn

unread,
Apr 20, 2024, 12:37:38 PMApr 20
to wrf-hydro_users, Kevin, kingstn
Thank you, Kevin.
I tried what you suggested but the   "WRF_Hydro_routing_grids.zip" is created. The error still sustains.
when I tried in both ArcMap 10.8 and ArcGIS Pro. While I use ArcMap 10.8 the "scratchdir" is created but not in  ArcGIS Pro.

Kevin

unread,
Apr 20, 2024, 2:12:58 PMApr 20
to wrf-hydro_users, kingstn, Kevin
Kingstn,

You are saying that the "WRF_Hydro_routing_grids.zip" is created, so it sounds like the suggestion I made resolved the issue. If the zip file is created, then you should have what you need to proceed with WRF-Hydro. Is that not the case? If there is still an error during the processing with the WRF-Hydro ArcGIS Pre-processing tool, is it the same error as before? Can you provide a screenshot or other error message? More information is needed to properly troubleshoot the issue.

The 'scratchdir' directory is a temporary directory created by the tool to store temporary outputs. It is cleaned up when the tool exits. You would not expect to see this directory if the tool exits normally.

Thanks,

Kevin

kingstn

unread,
Apr 20, 2024, 2:38:52 PMApr 20
to wrf-hydro_users, Kevin, kingstn
I am sorry, I forgot to say "not created"
Here is the screenshot and a copy of some lines of the error message.
Thank you for your timely response.

Traceback (most recent call last):

  File "<string>", line 405, in execute

  File "E:\WRF Hydro\wrf_hydro_arcgis_preprocessor-5.2.0\wrf_hydro_functions.py", line 1440, in create_high_res_topogaphy

    arcpy.ProjectRaster_management(MosaicLayer, mosprj, sr2, ElevResampleMethod, cellsize2)

  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 13417, in ProjectRaster

    raise e

  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 13414, in ProjectRaster

    retval = convertArcObjectToPythonObject(gp.ProjectRaster_management(*gp_fixargs((in_raster, out_raster, out_coor_system, resampling_type, cell_size, geographic_transform, Registration_Point, in_coor_system, vertical), True)))

  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 520, in <lambda>

    return lambda *args: val(*gp_fixargs(args, True))

arcgisscripting.ExecuteError: ERROR 999999: Something unexpected caused the tool to fail. Contact Esri Technical Support (http://esriurl.com/support) to Report a Bug, and refer to the error help for potential solutions or workarounds.

Failed to create raster dataset

Failed to execute (ProjectRaster).

 

Failed to execute (ProcessGeogridFile).

Failed at Sunday, April 21, 2024 3:11:57 AM (Elapsed Time: 0.87 seconds)

error.png

kingstn

unread,
Apr 22, 2024, 1:51:57 PMApr 22
to wrf-hydro_users, kingstn, Kevin
Hello Kevin,

 The "WRF_Hydro_routing_grids.zip" is successfully created when I change from ArcMap 10.8 to ArcMap 10.7.
Reply all
Reply to author
Forward
0 new messages