[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[UDUNITS #VJK-900361]: non-dimensional data and udunits2

Hi Jim,

> I've always had trouble figuring out how to deal with non-
> dimensional data in udunits. Mainly, converting values
> in a 0-1 range into percent. In udunits v1, setting units='1'
> and then asking for 'percent' works, but udunits2 does not
> know what 'percent' is. This should really just be a constant
> operation (*100) but I'm having trouble understanding the
> udunits2 syntax so I've hit an impasse. Is there a way to
> do this in udunits2?

I can't believe I left out the percent unit.  Guess I'll have to make a new 

In the meantime, you can always use "0.01".

> Also, now that the database is in XML, it is hard to look at.
> Is there an interactive XML parsing tool you can recommend
> for looking at these files?

Sorry.  I use vi(1) for looking at the XML files.

> Thanks
> -jim
> --
> Jim Cowie
> address@hidden
> 303-497-2831

Steve Emmerson

Ticket Details
Ticket ID: VJK-900361
Department: Support UDUNITS
Priority: Normal
Status: Closed

NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.