Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-7987

Ambiguous conversion between spherical coordinates and unit vectors

    XMLWordPrintable

    Details

    • Story Points:
      1
    • Sprint:
      Alert Production F16 - 11, Alert Production F16 - 11b, Alert Production F16 - 11c
    • Team:
      Alert Production

      Description

      The sphgeom::LonLat and sphgeom::UnitVector3d classes provide constructors for converting between the two types. However, the axis convention used for the conversion is left unspecified, limiting the situations where these classes' interoperability can be used.

      I propose that the axis convention currently used by the implementations of these classes be made part of their APIs, so that external code knows what results to expect:

      (0°, 0°) <--> <1, 0, 0>
      (90°, 0°) <--> <0, 1, 0>
      (*, 90°) <--> <0, 0, 1>
      

        Attachments

          Activity

          krzys Krzysztof Findeisen created issue -
          krzys Krzysztof Findeisen made changes -
          Field Original Value New Value
          Epic Link DM-7640 [ 26833 ]
          krzys Krzysztof Findeisen made changes -
          Epic Link DM-7640 [ 26833 ] DM-7362 [ 26448 ]
          krzys Krzysztof Findeisen made changes -
          Sprint Alert Production F16 - 11 [ 289 ]
          krzys Krzysztof Findeisen made changes -
          Rank Ranked higher
          krughoff Simon Krughoff made changes -
          Sprint Alert Production F16 - 11 [ 289 ] Alert Production F16 - 11, Alert Production F16 - 11b [ 289, 295 ]
          krughoff Simon Krughoff made changes -
          Rank Ranked higher
          krughoff Simon Krughoff made changes -
          Sprint Alert Production F16 - 11, Alert Production F16 - 11b [ 289, 295 ] Alert Production F16 - 11, Alert Production F16 - 11b, Alert Production F16 - 11c [ 289, 295, 296 ]
          krzys Krzysztof Findeisen made changes -
          Status To Do [ 10001 ] In Progress [ 3 ]
          krzys Krzysztof Findeisen made changes -
          Reviewers Serge Monkewitz [ smonkewitz ]
          Status In Progress [ 3 ] In Review [ 10004 ]
          smonkewitz Serge Monkewitz made changes -
          Status In Review [ 10004 ] Reviewed [ 10101 ]
          krzys Krzysztof Findeisen made changes -
          Resolution Done [ 10000 ]
          Status Reviewed [ 10101 ] Done [ 10002 ]
          rhl Robert Lupton made changes -
          Labels SciencePipelines documentation, SciencePipelines documentation documentation,
          rhl Robert Lupton made changes -
          Labels SciencePipelines documentation documentation, SciencePipelines documentation

            People

            Assignee:
            krzys Krzysztof Findeisen
            Reporter:
            krzys Krzysztof Findeisen
            Reviewers:
            Serge Monkewitz
            Watchers:
            Krzysztof Findeisen, Serge Monkewitz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.