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

Better handling of unsupported regions for individual models #30

Open
aeisenberg opened this issue May 11, 2020 · 0 comments
Open

Better handling of unsupported regions for individual models #30

aeisenberg opened this issue May 11, 2020 · 0 comments

Comments

@aeisenberg
Copy link
Contributor

There are two options for better handling of unsupported regions:

  1. Models declare which regions they support in the models.yml file. And when a user requests a simulation run, only models that support the selected region are run. This has the further advantage that we can display in the UI which models support the currently selected region.

  2. When a model fails due to unsupported region, send back a different response so that the UI can display a meaningful message to the user that the region is not supported.

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