VolpeUSDOT / FHWA-DANATool

The Database for Air Quality and Noise Analysis (DANA) Tool provides traffic-related inputs to the Motor Vehicle Emission Simulator (MOVES) vehicle emissions model and the Traffic Noise Model (TNM).
8 stars 1 forks source link

TNMAide bug with calculating future Lden #61

Open AaronHastingsVolpe opened 2 months ago

AaronHastingsVolpe commented 2 months ago

There seems to be a bug when computing Lden using the Lden traffic table.

Lden can be computed when using the Ldn traffic table (see Figure 1), but is inferring traffic data from Ldn (I think).

Lden does not compute when using the Lden traffic table (see Figure 2, which shows no change since it threw an error which can be found in the progress log (see text below Figure 2)

Figure 1 image

Figure 2 image

$${\color{red}SoundPressureLevel.LAeq \textunderscore 24 \textunderscore Hour validation error.}$$

$${\color{red}Dataframe must have exactly 24 rows.}$$

Calculate Future Noise Metrics Calculating 8760 15330 6570 setting up TNMAide Inputs Calculating TNMAide C:\Users\SOPHIE~1.KAY\AppData\Local\Temp_MEI89922\lib\TNMPyAide\Sound_Pressure_Level_Metrics.pyc 64

-----SoundPressureLevel.LAeq_24_Hour validation error. -----Dataframe must have exactly 24 rows. C:\Users\SOPHIE~1.KAY\AppData\Local\Temp_MEI89922\lib\TNMPyAide\Sound_Pressure_Level_Metrics.pyc 89

-----Error in SoundPressureLevel.LEQ_24_HR. C:\Users\SOPHIE~1.KAY\AppData\Local\Temp_MEI89922\lib\TNMPyAide\Sound_Pressure_Level_Metrics.pyc 64

-----SoundPressureLevel.LAeq_24_Hour validation error. -----Dataframe must have exactly 24 rows. C:\Users\SOPHIE~1.KAY\AppData\Local\Temp_MEI89922\lib\TNMPyAide\Sound_Pressure_Level_Metrics.pyc 115

-----Error in SoundPressureLevel.LDN. C:\Users\SOPHIE~1.KAY\AppData\Local\Temp_MEI89922\lib\TNMPyAide\Sound_Pressure_Level_Metrics.pyc 64

-----SoundPressureLevel.LAeq_24_Hour validation error. -----Dataframe must have exactly 24 rows. C:\Users\SOPHIE~1.KAY\AppData\Local\Temp_MEI89922\lib\TNMPyAide\Sound_Pressure_Level_Metrics.pyc 146

-----Error in SoundPressureLevel.LDEN. C:\Users\SOPHIE~1.KAY\AppData\Local\Temp_MEI89922\lib\TNMPyAide\Sound_Pressure_Level_Metrics.pyc 64

-----SoundPressureLevel.LAeq_24_Hour validation error. -----Dataframe must have exactly 24 rows. C:\Users\SOPHIE~1.KAY\AppData\Local\Temp_MEI89922\lib\TNMPyAide\Sound_Pressure_Level_Metrics.pyc 89

-----Error in SoundPressureLevel.LEQ_24_HR. C:\Users\SOPHIE~1.KAY\AppData\Local\Temp_MEI89922\lib\TNMPyAide\Sound_Pressure_Level_Metrics.pyc 64

-----SoundPressureLevel.LAeq_24_Hour validation error. -----Dataframe must have exactly 24 rows. C:\Users\SOPHIE~1.KAY\AppData\Local\Temp_MEI89922\lib\TNMPyAide\Sound_Pressure_Level_Metrics.pyc 115

-----Error in SoundPressureLevel.LDN. C:\Users\SOPHIE~1.KAY\AppData\Local\Temp_MEI89922\lib\TNMPyAide\Sound_Pressure_Level_Metrics.pyc 64

-----SoundPressureLevel.LAeq_24_Hour validation error. -----Dataframe must have exactly 24 rows. C:\Users\SOPHIE~1.KAY\AppData\Local\Temp_MEI89922\lib\TNMPyAide\Sound_Pressure_Level_Metrics.pyc 146

-----Error in SoundPressureLevel.LDEN. Outputting Results Exception in Tkinter callback Traceback (most recent call last): File "tkinter__init.py", line 1892, in call__ File "NTD_05_main_GUI.py", line 1619, in File "NTD_05_main_GUI.py", line 1108, in calc_future_noise_LDEN TypeError: type NoneType doesn't define round method

skaye-volpe commented 2 months ago

Inputs to recreate this bug: