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

feat: Ice context #283

Merged
merged 1 commit into from
Jun 29, 2023
Merged

feat: Ice context #283

merged 1 commit into from
Jun 29, 2023

Conversation

musoke
Copy link
Contributor

@musoke musoke commented May 3, 2023

This adds basic support for ice climbs with the WI grade scales.

This currently assumes that all contexts use only Winter Ice grades rather than a mix of Alpine Ice and Winter Ice. This is not the case; the grade scale depends on the local climate.

To enable AI grades in future, the ice grades allowed in most contexts should be an array: [GradeScales.AI, GradeScales.WI].


Depends on

  • bump version of sandbag
  • update version requirement here

@vnugent
Copy link
Contributor

vnugent commented May 24, 2023

@musoke @zichongkao can we revisit this PR?

@musoke
Copy link
Contributor Author

musoke commented May 25, 2023

Yup. I was waiting for things to settle with the LCO org and picture rewrite.

@musoke
Copy link
Contributor Author

musoke commented Jun 4, 2023

@actuallyyun, could you take a look at the errors here? I'm updating the version of sandbag here and getting errors relating to GradeScales exports. I'm wondering if this is related to your changes in OpenBeta/sandbag#106

@musoke
Copy link
Contributor Author

musoke commented Jun 19, 2023

blocked by OpenBeta/sandbag#123

@musoke musoke force-pushed the ice-context branch 3 times, most recently from e6b80aa to 1afcc2a Compare June 28, 2023 12:16
The grade contexts know nothing about ice climbing grades. Instead, they
use sport/trad grades.

Add support for ice climbs with WI grades.

This commit assumes that all contexts use only Winter Ice grades.  This
does not completely reflect real world usage - single regions often have
a mix of WI and AI grades.

In the short term, this could be overriden for local areas.
Longer term, ice grades allowed in these contexts should be either of
`GradeScales.AI` and `GradeScales.WI`.
@musoke musoke marked this pull request as ready for review June 28, 2023 12:28
@vnugent vnugent merged commit 9cdb2c6 into OpenBeta:develop Jun 29, 2023
1 check passed
@musoke musoke deleted the ice-context branch June 29, 2023 18:31
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

Successfully merging this pull request may close these issues.

None yet

2 participants