-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch to the timeseries to read data instead of accessing mongodb directly #29
Comments
Keeping the issue open to track the hack removals by @AlirezaRa94 |
Note that if there is no data, this fails with
We may want to highlight that there is no data in this case instead of letting the error be swallowed silently |
@AlirezaRa94 This does not have any errors, but: I am fixing (2), which is fairly straightforward but not sure why (1) doesn't work. |
(1) does not work because there are no additional paths identified in the
|
After adding a bunch of logs, these values are being returned but not displayed. I note that the values that are displayed (except for
|
I can confirm that if I comment out this line
from d977851#diff-1c6b8e6d103286796ce21a8276c4a4d8b258e29d6b9cc6df516a92accf4674d1R72 then I do see the expected columns. So either it is the |
It is not the I changed
and reinstated the
The records looked like
but the end str was not displayed It looks like there is some additional filtering happening, potentially against the |
Aha! I think I figured it out. In
and the allowed trip columns are basically only the ones in
|
@AlirezaRa94 This is seriously problematic because it means that we will not be able to display any labels, which means that the trip table is largely useless for admins. |
Ok so refactored the code in a somewhat sloppy fashion to create a new
But now I get an error
Although the start coordinates seem to be formatted the same way in both cases.
|
Set up the multilabel defaults, corresponding to
and although I have commented out the code to drop the paths, I don't see the paths and only the labels. |
I had flagged this initially as a "best practice"
#7 (comment)
#7 (comment)
However, this turned into a P0 because AWS DocumentDB (which NREL uses as a managed instance of MongoDB, and is close but not 100% compatible with it) does not seems to support the projections that are used.
We get the error
Per NREL IT,
The NREL core team makes sure that the timeseries calls work against both MongoDB and DocumentDB, so using them exclusively to make DB calls would reduce maintenance burden overall.
The text was updated successfully, but these errors were encountered: