Skip to content

TimeSeriesContainer has no attribute "timezone" #65

@bthetford

Description

@bthetford

The examples show specifying the "timezone" attribute of a TimeSeriesContainer object, but neither "timezone" or "tzid" are attributes. How can I specify the timezone?

I get this error:

AttributeError: 'pydsstools._lib.x64.core_heclib.TimeSeriesContainer' object has no attribute 'timezone'

Running dir() on the object I get this list, with no attribute for timezone:

['__class__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__ne__', '__new__', '__pyx_vtable__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__setstate__', '__sizeof__', '__str__', '__subclasshook__', '_startDateBase', 'granularity', 'interval', 'numberValues', 'pathname', 'setValues', 'startDateTime', 'times', 'type', 'units', 'values']

Similarly, following the read_rts.py example, how can I read the timezone from a dss file?

Thanks,
Beau

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions