Helium314 / Local-NLP-Backend

Yet another network location backend for the UnifiedNLP/microG project
GNU General Public License v3.0
64 stars 4 forks source link

import data error #20

Closed Nichtraucher closed 11 months ago

Nichtraucher commented 11 months ago

Hey :-)

Previously, I've used Déjà Vu NLP -> I disabled it -> installed "Local NLP Backend" -> import data -> selected a csv file from opencellid -> "keep local emitters unchanged" -> error message: "error: file format unknown". I also tried it with the original, compressed .gz-file - to no avail.

Did I do anything wrong?

cheers

Helium314 commented 11 months ago

The import expects the first line of the csv to be radio,mcc,net,area,cell,unit,lon,lat,range,samples,changeable,created,updated,averageSignal, which to my knowledge is the case for MLS and OpenCelliD (may be outdated though). Is it the same in your file?

Nichtraucher commented 11 months ago

The file is too large to be processed by a spreadsheet editor. I opened it in a text editor and didn't see them on the top. I tried to search for these words within the file, but again, that didn't work because of the size. I can't tell for sure, sorry! :-(

Helium314 commented 11 months ago

The line needs to first, otherwise it will not work. Though maybe the requirement for the line could be removed, and Local NLP could instead try to parse the first line to identify file type...

Nichtraucher commented 11 months ago

may be outdated though

That seems to be the case. I checked the dataset from the mozilla database and it doesn't include the titles for the parameters either.

Helium314 commented 11 months ago

Import without the header should work in the next version.

Nichtraucher commented 10 months ago

It does work, thank you!