You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
I encountered an error while using pydsstools library in Python when running the following command:
fid = HecDss.Open(dss_file)
The error message I received is:
WARNING:root:-----DSS--- ztsRetrieveReg Warning: Invalid date or time given.
This error seems to be related to retrieving data from the time series in the DSS file. It indicates that the provided date or time value is invalid.
Steps to Reproduce:
To reproduce the issue, you can follow these steps:
Install pydsstools library (version X.X.X) in your Python environment.
Import the necessary modules and classes:
from hec.heclib.dss import HecDss
Open a DSS file using the HecDss.Open method:
fid = HecDss.Open(dss_file)
Replace dss_file with the path to your specific DSS file.
Expected Behavior:
I expected the DSS file to be successfully opened without any warning or error related to invalid date or time values.
Actual Behavior:
The warning message "WARNING:root:-----DSS--- ztsRetrieveReg Warning: Invalid date or time given" is displayed, indicating an issue with the provided date or time.
Additional Information:
I have verified that the date and time values used are valid and correctly formatted according to the requirements of the pydsstools library.
I have checked the documentation for pydsstools but couldn't find any specific guidance related to this warning.
I am running Python 3.9 on Windows 11.
Please let me know if any further information is needed to investigate and resolve this issue. Thank you for your assistance!
The text was updated successfully, but these errors were encountered:
Dear Support team,
Description:
I encountered an error while using pydsstools library in Python when running the following command:
fid = HecDss.Open(dss_file)
The error message I received is:
WARNING:root:-----DSS--- ztsRetrieveReg Warning: Invalid date or time given.
This error seems to be related to retrieving data from the time series in the DSS file. It indicates that the provided date or time value is invalid.
Steps to Reproduce:
To reproduce the issue, you can follow these steps:
Install pydsstools library (version X.X.X) in your Python environment.
Import the necessary modules and classes:
from hec.heclib.dss import HecDss
Open a DSS file using the HecDss.Open method:
fid = HecDss.Open(dss_file)
Replace dss_file with the path to your specific DSS file.
Expected Behavior:
I expected the DSS file to be successfully opened without any warning or error related to invalid date or time values.
Actual Behavior:
The warning message "WARNING:root:-----DSS--- ztsRetrieveReg Warning: Invalid date or time given" is displayed, indicating an issue with the provided date or time.
Additional Information:
I have verified that the date and time values used are valid and correctly formatted according to the requirements of the pydsstools library.
I have checked the documentation for pydsstools but couldn't find any specific guidance related to this warning.
I am running Python 3.9 on Windows 11.
Please let me know if any further information is needed to investigate and resolve this issue. Thank you for your assistance!
The text was updated successfully, but these errors were encountered: