sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Desruisseaux (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SIS-414) Multiplication symbol should be omitted when the unit is Units.UNITY
Date Thu, 05 Apr 2018 14:24:00 GMT

     [ https://issues.apache.org/jira/browse/SIS-414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Martin Desruisseaux updated SIS-414:
------------------------------------
    Description: 
When formatting a unit which is {{Units.UNITY}} scaled to some value, since {{Units.UNITY}}
has no symbol, attempts to format it produce confusing strings. Example with the _number of
icebergs per 100 km²_:

| Symbol in netCDF file: | {{1e-2 km-2}} |
| SIS 0.8 representation: | {{1.0E-8⋅∕m²}} |

Note the multiplication immediately followed by division sign above.


  was:
When formatting a unit which is {{Units.UNITY}} scaled to some value, since {{Units.UNITY}}
has no symbol, attempts to format it produce confusing strings. Example:

Number of icebergs per 100 km²
Symbol: "{{1e-2 km-2}}"
Reformatted by SIS 0.8: "{{1.0E-8⋅∕m²}}"

Note the multiplication immediately followed by division sign above.



> Multiplication symbol should be omitted when the unit is Units.UNITY
> --------------------------------------------------------------------
>
>                 Key: SIS-414
>                 URL: https://issues.apache.org/jira/browse/SIS-414
>             Project: Spatial Information Systems
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 0.8
>            Reporter: Martin Desruisseaux
>            Assignee: Martin Desruisseaux
>            Priority: Major
>             Fix For: 1.0
>
>
> When formatting a unit which is {{Units.UNITY}} scaled to some value, since {{Units.UNITY}}
has no symbol, attempts to format it produce confusing strings. Example with the _number of
icebergs per 100 km²_:
> | Symbol in netCDF file: | {{1e-2 km-2}} |
> | SIS 0.8 representation: | {{1.0E-8⋅∕m²}} |
> Note the multiplication immediately followed by division sign above.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message