Yes. The tool does not generate distinct outputs for each file but rather creates a single statistic on the elements found in all files. Note, that you can obtain a more detailed histogram with option --hist-output
Am Mo., 12. Sept. 2022 um 13:37 Uhr schrieb mehmet nedim yavuz < [email protected]>: > Hi Jakob, > When I use --element emissions to obtain statistics of emissions from ten > different tripinfo xml by using attributeStats.py, I obtained the results > as a text file. I am adding the CO2_abs results. > My command line :*python attributeStats.py --element emissions > --attribute fuel_abs 3.trip_info.xml 5.trip_info.xml 7.trip_info.xml > 9.trip_info.xml 11.trip_info.xml 13.trip_info.xml 15.trip_info.xml > 17.trip_info.xml 19.trip_info.xml 21.trip_info.xml>CO2_abs.txt. *In the > result txt file*, *why does the histogram seem like this,is this > expected? Thank you for helping,regards. > > Jakob Erdmann <[email protected]>, 2 Eyl 2022 Cum, 18:09 tarihinde > şunu yazdı: > >> use option --element emissions (because the values are in a child element >> of tripinfo by that name) >> >> Am Fr., 2. Sept. 2022 um 15:50 Uhr schrieb mehmet nedim yavuz < >> [email protected]>: >> >>> Hello again, >>> I have one more question about this topic.I obtained the >>> emissions outputs into the trip info output file by using >>> device.emissions.probability value="1".After that, I would like to obtain >>> emission statistics using attributeStats.py from these tripinfo files. But, >>> it seems that this approach does not work. >>> Result of command line run says:*tripinfo CO2_abss: no values* >>> *2000 elements did not provide attribute 'CO2_abs' Example ids: 'hdv.0', >>> 'hdv.1', 'hdv.10', 'hdv.100', 'hdv.1000', 'hdv.1001', 'hdv.1002', >>> 'hdv.1003', 'hdv.1004', 'hdv.1005'.* >>> In order to use attributeStats.py for emission statistics, Do I need to >>> create a separate emission output file? If possible,it could be useful for >>> processing of emissions results in the tripinfo file by using >>> attributeStats.py. Thank you for helping,regards >>> >>> Jakob Erdmann <[email protected]>, 2 Eyl 2022 Cum, 12:09 tarihinde >>> şunu yazdı: >>> >>>> see >>>> https://superuser.com/questions/460598/is-there-any-way-to-get-the-windows-cmd-shell-to-expand-wildcard-paths >>>> >>>> Am Fr., 2. Sept. 2022 um 11:03 Uhr schrieb mehmet nedim yavuz < >>>> [email protected]>: >>>> >>>>> Hello Jakob, >>>>> I used to runSeeds.py to with 10 different numbers with sumocfg file. >>>>> As a further step,I would like to obtain statistics of timeLoss in these >>>>> trip info output files. In this direction, I used the attributeStats.py >>>>> file. My trip info xml files were created like this: >>>>> "3.trip_info.xml","5.trip_info.xml" etc. I am adding a screenshot of my >>>>> working folder. And then, I used to command like this to obtain >>>>> statistics >>>>> of timeLoss: >>>>> *"python attributeStats.py --element tripinfo --attribute timeLoss >>>>> *.trip_info.xml".* It gives an error:* Invalid argument: >>>>> '*.trip_info.xml'. *How do I incorporate ten files into the command >>>>> line? If I write these 10 files space separated into command ,it >>>>> works.But >>>>> it takes more time.How do I write command? Thank you for helping,regards. >>>>> [image: image.png] >>>>> _______________________________________________ >>>>> sumo-user mailing list >>>>> [email protected] >>>>> To unsubscribe from this list, visit >>>>> https://www.eclipse.org/mailman/listinfo/sumo-user >>>>> >>>> _______________________________________________ >>>> sumo-user mailing list >>>> [email protected] >>>> To unsubscribe from this list, visit >>>> https://www.eclipse.org/mailman/listinfo/sumo-user >>>> >>> _______________________________________________ >>> sumo-user mailing list >>> [email protected] >>> To unsubscribe from this list, visit >>> https://www.eclipse.org/mailman/listinfo/sumo-user >>> >> _______________________________________________ >> sumo-user mailing list >> [email protected] >> To unsubscribe from this list, visit >> https://www.eclipse.org/mailman/listinfo/sumo-user >> > _______________________________________________ > sumo-user mailing list > [email protected] > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
