equinor / equinor/tagreader-python

Special characters in tags

Offen
#469 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
55
Forks
21
Ø Merge
2 T. 5 Std.
Gemergte PRs (30 T.)
4

Beschreibung

There are some problems when the tags contains special characters, e.g., # and %.
Especially for some manual sampling points, the system number is folled by # then the sample point number, and what was measured at the sample point, e.g. "47#13-SULPH". This I was able to solve by replacing "#" with "%23". This is maybe a fix you could implement in the base code?

But the real issue appear to be when the tag contains "%". For some measurements, a percentage recovery is stated, e.g. "50#12-5%REC". Here I can replace the #, but if I replace "%" with "%25", Tagreader does not return any values. If I paste the XML payload URL into by browser, I can get the output which Tagreader should have gotten.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.