tagreader-python icon indicating copy to clipboard operation
tagreader-python copied to clipboard

A Python package for reading trend data from the OSIsoft PI and Aspen InfoPlus.21 historians

Results 73 tagreader-python issues
Sort by recently updated
recently updated
newest added

Using the following code to search for `11#35-DENS` causes Requests.JSONDecodeError. ```python import os import datetime import tagreader def connect_to_aspen(): print("Venter på svar frå aspen") API = "aspenone" sources = tagreader.list_sources(API)...

Calling get_units() for non-existing tag results in a crash. Provide user with informative feedback. Probably similar issue for other calls that assume existing tags.

when tag is not existing, get_units fails and returns: Error using web_handlers>_get_tag_unit (line 372) Python Error: KeyError while get_descriptions returns empty string

In the case when a tag (e.g. "tag_id") does not exist, tagreader returns a dataframe with a column named "tag-id" and numpy nan values. When get_status=True and a tag does...

I want to see name and type of data server that client is connected to when calling print(client). Will make it fast and easy to pass connection information to loggers...

Make it possible to verify that provided is available for connection prior to / independent of actually attempting query. Our use case can then fail nicely before reading a lot...

Added on GitLab by @smolvik1 2019-06-18

enhancement

Don't just pick the first one, but warn user to specify if more than one default map is found for a tag.

Error in read_tag() during attempted timestamp conversion due to missing key "Timestamp" in empty df from json.

bug