Hi all, I am trying to create some metrics with the spdmetrics tool and for that purpose I use this simple xml file with only one metric in it:
<?xml version="1.0" encoding="UTF-8" ?> <spdlib:metrics xmlns:spdlib="http://www.spdlib.org/xml/"> <spdlib:metric metric="meanheight" field="MeanH" return="All" class="NotGrd" lowthreshold="2" /> </spdlib:metrics> I've followed the step of the tutorial 6 that I found here[1], but when I run this command: $ spdmetrics --ascii -m meanheight.xml -o raster_metrics.env -i file_height.spd I get this error: Reading XML file: meanheight.xml 1 metrics where found. terminate called after throwing an instance of 'std::out_of_range' what(): basic_string::substr Aborted (core dumped) I have tried different xml files and the results are always the same, the out_of_range error followed by the "core dumped" abort message Any hint about what it is going on? [1] http://www.spdlib.org/doku.php?id=spdlib:users:tutorials:basic:tutorial_6 Thank you! Roberto -- Roberto Antolín https://twitter.com/Tolanss ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk _______________________________________________ spdlib-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/spdlib-develop
