Skip to content

comparing positive and negative angles in degrees_east #119

Description

@dcherian
from cf_xarray.units import units

220 * units.degrees_east == (-140 * units.degrees_east)

is False. Can this be True instead?

Activity

  1. changed the title [-]comparing positive and negative angles[/-] [+]comparing positive and negative angles in `degrees_east`[/+] on Jul 8, 2021
  2. jthielen commented on Jul 8, 2021

    @jthielen
    Collaborator

    This would be a good thing to ask upstream in Pint! I'm not aware of any modular arithmetic support, but I definitely see something like this being useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions