smt testing error

89 views
Skip to first unread message

Jeffrey Brzezinski

unread,
Feb 10, 2024, 10:16:32 PM2/10/24
to Sound Mapping Tools Users Group
Hi there, 

Prior to looking into this tool, I considered myself proficient at Arc...now not so much! I'm trying to use the sound mapping tool to model soundscapes at an archaeological site. I'm using ArcMap 10.4 on Windows 10. I ran the system test and got the following error:

Executing: validation2 E:\SOUNDMAP_TEST\testing_v4_4\testing E:\SOUNDMAP_TEST\toolbox_V4_4_2\toolbox
Start Time: Sat Feb 10 17:48:41 2024
Running script validation2...
SPREADTYPE field already exists, and the existing field will be used.
Running model for point 1... model to run is: spreadgis
Use of the old barrier approach for SPreAD-GIS has been deprecated. It has been kept as the default to maintain backwards compatiblity with earlier code. However, use of the new barrier calculations is recommended.
Warning: Intermediate data from prior runs of SPreAD-GIS were deleted and results for the 400 Hz frequency band will be overwritten ...
Calculating spherical spreading loss ...
Calculating atmospheric absorption loss for an elevation of 1781.30 m, air temperature of 28.3 C degrees , and 26.0% humidity ...
Calculating foliage and ground cover loss ...
Calculating upwind and downwind loss for wind blowing from 105 degrees and wind speed of 12.9 k/hr on a clear, windy summer day ...
Calculating decline in sound levels due to barrier loss ...
Identifying areas where ground, barrier, and atmospheric effects dominate ...
Calculating final noise propagation patterns ...
1
Weighting frequencies to perform A-weighting
Summing A-weighted sound levels over all frequencies
Weighting frequencies to perform A-weighting
Summing A-weighted sound levels over all frequencies
SPREADTYPE field already exists, and the existing field will be used.
Running model for point 1... model to run is: spreadgis
A source offset of 0.34 was applied to the data to minimize compuational errors
Unfortunately, the SPreAD-GIS code does not support any source offsets specified in the points shapefile
Unless an NMSim .src file is used as the input
Warning: Intermediate data from prior runs of SPreAD-GIS were deleted and results for the 400 Hz frequency band will be overwritten ...
Calculating spherical spreading loss ...
Calculating atmospheric absorption loss for an elevation of 1781.30 m, air temperature of 28.3 C degrees , and 26.0% humidity ...
Calculating upwind and downwind loss for wind blowing from 105 degrees and wind speed of 12.9 k/hr on a clear, windy summer day ...
Calculating final noise propagation patterns ...
1
Weighting frequencies to perform A-weighting
Summing A-weighted sound levels over all frequencies
Weighting frequencies to perform A-weighting
Summing A-weighted sound levels over all frequencies
NMSIMTYPE FIELD ALREADY EXISTS, THE EXISTING FIELD WILL BE USED
Running model for point 1... model to run is: nmsimgis
processing output array in 2 pieces
p = 0
p = 1
Finished Mosaic
1
Could not set extent 297781.306356 4106079.39976 302780.026356 4109188.35976 for propagation speed raster for unknown reasons
Could not set cellsize 30.48 for unknown reasons
Could not set snapRaster for unknown reasons
Running model for point 2... model to run is: nmsimgis
processing output array in 2 pieces
Failed script validation2...

Traceback (most recent call last):
  File "E:\SOUNDMAP_TEST\toolbox_V4_4_2\toolbox\scripts\B_Validation.py", line 107, in <module>
    vh.validate_arcgis_version(testing_dir, tbx_root, skip_test_run, test_spread, test_nmsim, test_iso, is_GUI)
  File "E:\SOUNDMAP_TEST\toolbox_V4_4_2\toolbox\scripts\validationhlpr.py", line 109, in validate_arcgis_version
    summarize = 1, keep_intermediates = 1, is_GUI = is_GUI)
  File "E:\SOUNDMAP_TEST\toolbox_V4_4_2\toolbox\scripts\soundprophlpr.py", line 271, in SoundPropagation
    temp, rh, freq_lst, point_id, point_fill, freq_fill, tbx_root, my_times, my_time_labels, keep_intermediates, n_processes, is_GUI, model)
  File "E:\SOUNDMAP_TEST\toolbox_V4_4_2\toolbox\scripts\nmsimhlpr.py", line 162, in nmsimgis_setup
    arcpy.ClearEnvironment("extent")
  File "c:\program files (x86)\arcgis\desktop10.4\arcpy\arcpy\__init__.py", line 250, in ClearEnvironment
    return gp.clearEnvironment(environment_name)
  File "c:\program files (x86)\arcgis\desktop10.4\arcpy\arcpy\geoprocessing\_base.py", line 110, in clearEnvironment
    self._gp.ClearEnvironment(*gp_fixargs(args, True)))
AttributeError: Object: Cannot clear environment <extent>

Failed to execute (validation2).
Failed at Sat Feb 10 18:05:16 2024 (Elapsed Time: 16 minutes 35 seconds)
Reply all
Reply to author
Forward
0 new messages