Skip to content
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

FIX: query.get_hazard_rlz_curves with just toshi_id fails. #6

Open
chrisbc opened this issue May 30, 2022 · 0 comments
Open

FIX: query.get_hazard_rlz_curves with just toshi_id fails. #6

chrisbc opened this issue May 30, 2022 · 0 comments

Comments

@chrisbc
Copy link
Member

chrisbc commented May 30, 2022

  • toshi-hazard-store version: 3.1.0
  • Python version: 3.8+
  • Operating System: Linbux

Description

query with just toshi_id fails..

What I Did

from CDC

for r in query.get_hazard_rlz_curves(m.haz_sol_id):
        print("rlz", r.loc, r.rlz, r.values[0] )
        break
pynamodb.exceptions.QueryError: Failed to query items: An error occurred (ValidationException) on request (H9SDI9LD273B7NT2V9H216QJ7NVV4KQNSO5AEMVJF66Q9ASUAAJG) on table (ToshiOpenquakeHazardCurveRlzs-TEST) when calling the Query operation: One or more parameter values are not valid. The AttributeValue for a key attribute cannot contain an empty string value. Key: imt_loc_rlz_rk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant