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
When querying from data from the NREL API (particularly for ComStock) using the app UI, sometimes the notebook crashes from an HTTPError (404: Not Found), e.g. when querying marine climate ComStock data (building america data) which does not exist. Ideally the notebook should not crash and the exception should be handled gracefully.
This can be fixed in a couple of ways:
Adjust what options are shown in the drop-down menu to only show where data is available (probably not the best way to handle this, as data availability might change).
Add better handling of the exception thrown, and instead of the marimo app breaking, redirect to an available data option with a clear error statement of what wasn't available.
When querying from data from the NREL API (particularly for ComStock) using the app UI, sometimes the notebook crashes from an HTTPError (404: Not Found), e.g. when querying marine climate ComStock data (building america data) which does not exist. Ideally the notebook should not crash and the exception should be handled gracefully.
This can be fixed in a couple of ways:
This should also be added at the
sg2t
level https://github.com/slacgismo/sg2t/blob/main/sg2t/io/loadshapes/nrel/api.py where these calls are being made.The text was updated successfully, but these errors were encountered: