equinor / equinor/tagreader-python

Special characters in tags

Open
#469 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
55
Forks
21
Avg merge
2d 5h
Merged PRs (30d)
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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.