edpmay
January 2, 2025, 7:26pm
1
Given the following model:
the HB Read Tabular Data
component outputs nothing (no values, no col_names, no row_names)?
If I look at the SQL file in something like SQLViewer, there is plenty of the data in the file though:
but the GH Component does not show it? It doesn’t give any errors or warnings either though?
If anyone has any ideas why that may be, I’d appreciate it?
thanks!
@edpmay
Environment:
MacOS Sequoia 15.1.1
Rhino v8 (8.15.24352.13002, 2024-12-17)
Ladybug Tools v 1.8.61
Example File:
Hi @edpmay , I don’t have any ideas but wanted to share that I dont think this is OS specific, I think I’m getting the same results on my windows machine:
for whatever that’s worth!
Best
-trevor
Hi @TrevorFedyna @edpmay
this is an open issue on the EP Dev team
opened 11:49AM - 17 Sep 24 UTC
NewFeatureRequest
Issue overview
--------------
* Original issue: #5360
* #9848 (v23.1.0) add… ed it to the CSV and JSON native outputs
It would be great if something similar could be done for the `Output:SQLite`, maybe by supporting the existing `OutputControl:Timestamp` object.
Writing an ISO 8601 timestamp (opt-in) to the `Time` table of the sqlite database would allow that (at the expense of space, if the year, Month, Day, Hour and Minute columns are retained too), but I'd also be fine if only the Hour & Day columns would be changed (so that given a day `D`, `D 24:00` is changed to `D+1 0:00` with an end of timestamp convention used)
If the ISO 8601 timestamp is used, I'd say it probably would be a good idea to include the DST in it, meaning use something like
```
2022-12-07T01:00:00+00:00 # no dst
2022-12-07T01:00:00+01:00 # DST
```
(The view `ReportVariableWithTime` would probably need to be adjusted if a new column is added)
This would allow for better parsing in external tools and languages. (Most, like Python, only accept hour in the [0, 23] range)
Related:
* #9272
### Details
Some additional details for this issue (if relevant):
- Platform (Operating system, version): all
- Version of EnergyPlus (if using an intermediate build, include SHA): v24.2.0-IOFreeze
### Checklist
Add to this list or remove from it as applicable. This is a simple templated set of guidelines.
- [ ] Defect file added (list location of defect file here)
- [ ] Ticket added to EnergyPlus Defect Complexity (Github Project)
- [ ] Pull request created (the pull request will have additional tasks related to reviewing changes that fix this defect)
maybe write on this page, to accelerate solving the issue
1 Like
edpmay
January 2, 2025, 10:04pm
4
I see now… for some reason I was thinking this component allowed me to access any arbitrary table from the SQL file - but it actually only reads data from the HTML output.
so not like… ‘database table’… but just ‘table table’… from the HTML
I get it now…
thanks!!
@edpmay
2 Likes