Code: Select all
Matplotlib Critical Error [Chart Future weather] time data '11-11-2017' does not match format '%Y-%m-%d'
Code: Select all
Matplotlib Critical Error [Chart Future weather] time data '11-11-2017' does not match format '%Y-%m-%d'
By selecting the date format MM-DD-YYYY in the Weather Underground plugin, your date format won't match the required YYY-MM-DD format that Matplotlib expects. At some point, I'll revise the matplotlib plugin to be more agnostic about date formatting, but until then, I'd suggest going back to YYY-MM-DD in WU.If you are successful, the plugin will generate simple CSV data files like the one to the right. The plugin expects a certain structure for the data files it uses, so if you choose to include your own CSV data, your files should contain the following:
- one header row with the first column as the observation timestamp and the second column as the observation to be charted (note that the header value of the data column will be used for chart legend labels),
- each timestamp formatted as YYYY-MM-DD HH:MM:S.S (standard datetime format: %Y-%m-%d %H:%M:%S.%f ), and
- each observation on its own row
Code: Select all
Matplotlib Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "plugin.py", line 433, in runConcurrentThread
File "plugin.py", line 1077, in csv_refresh
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/_strptime.py", line 325, in _strptime
ValueError: time data '' does not match format '%Y-%m-%d %H:%M:%S.%f'
Matplotlib Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Code: Select all
datetime.datetime(2018, 9, 11, 15, 28, 36, 703497)
I wrote out an exceptionally well written and pithy reply stating that I needed a bit more information to understand the result you're seeing (and at least one other user reported) because I was unable to reproduce the error. Then I tried some more stuff and was able to reproduce the error.mclass wrote: Any suggestions?
TIA
mclass