C:\Program Files\RIVM\OURS-UI 2.0\python>Python.exe cpt_tool.py -i"D:\Users\XXXX\Documents\Projectdocumenten\OURS\input.json" -o "D:\Users\XXXX\Documents\Projectdocumenten\OURS"
WARNING:root:Checking if index exists, if index does not exist it should be created, this may take a while...
WARNING:root:Found 121 CPTs in intersecting polygons.
WARNING:root:Found 0 CPTs in circle.
Traceback (most recent call last):
File "C:\Program Files\RIVM\OURS-UI 2.0\python\pandas\core\indexes\base.py", line 3621, in get_loc
return self._engine.get_loc(casted_key)
File "pandas\_libs\index.pyx", line 136, in pandas._libs.index.IndexEngine.get_loc
cpdef get_loc(self, object val):
File "pandas\_libs\index.pyx", line 163, in pandas._libs.index.IndexEngine.get_loc
return self.mapping.get_item(val)
File "pandas\_libs\hashtable_class_helper.pxi", line 5198, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas\_libs\hashtable_class_helper.pxi", line 5206, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'localFriction'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files\RIVM\OURS-UI 2.0\python\cpt_tool.py", line 389, in <module>
analysis(props, methods, settings, args.output, args.plots)
File "C:\Program Files\RIVM\OURS-UI 2.0\python\cpt_tool.py", line 307, in analysis
jsn, is_jsn_modified = read_cpt(data, methods_cpt, settings_cpt, output, properties, plots, idx,
File "C:\Program Files\RIVM\OURS-UI 2.0\python\cpt_tool.py", line 191, in read_cpt
data_quality = cpt.parse_bro(cpt_BRO[idx_cpt],
File "C:\Program Files\RIVM\OURS-UI 2.0\python\cpt_module.py", line 104, in parse_bro
if all(cpt["dataframe"][k] == 0):
File "C:\Program Files\RIVM\OURS-UI 2.0\python\pandas\core\frame.py", line 3506, in __getitem__
indexer = self.columns.get_loc(key)
File "C:\Program Files\RIVM\OURS-UI 2.0\python\pandas\core\indexes\base.py", line 3623, in get_loc
raise KeyError(key) from err
KeyError: 'localFriction'
Hello,
I'm trying to run the example file in OURS v2.0, however I keep getting the error "No ground data available" in the GUI.
I ran
cpt_tool.pyseparately from a command prompt as described in this issue to see which error occurs exactly, which had the following output:I am using the latest BRO data,
brocptvolledigeset.gpkg, downloaded from https://service.pdok.nl/bzk/brocptvolledigeset/atom/v1_0/downloads/brocptvolledigeset.zip.I also updated the file
bro.pywith the latest version on this repository, however this resulted in the same error.How can I get OURS working?