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

add endpoint for calibration level #183

Open
jeffeaton opened this issue Dec 5, 2020 · 1 comment
Open

add endpoint for calibration level #183

jeffeaton opened this issue Dec 5, 2020 · 1 comment
Assignees

Comments

@jeffeaton
Copy link
Collaborator

jeffeaton commented Dec 5, 2020

Currently spectrum calibration level gives options "None", "National", "Subnational" for all cases. Ideally this should only show "None" or "National" if it's a national Spectrum file. This endpoint can be delivered based on if the all(spectrum_region_code == 0) in the area hierarchy.

This applies to the Population calibration on the Model options page, and all four calibration options on the Model calibration page.

@jeffeaton jeffeaton self-assigned this Dec 5, 2020
@r-ash
Copy link
Contributor

r-ash commented Dec 8, 2020

To get this working on the calibration options page requires a bit of a change as currently the endpoint takes no inputs. We would have to update the endpoint to take PJNZ file or areas file to be able to know if national/subnational Spectrum file.

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

2 participants