equinor / equinor/tagreader-python

Special characters in tags

Ouverte
#469 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
55
Forks
21
Merge moyen
2 j 5 h
PR mergées (30 j)
4

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.