[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[UDUNITS #VJK-900361]: non-dimensional data and udunits2
- Subject: [UDUNITS #VJK-900361]: non-dimensional data and udunits2
- Date: Fri, 23 Oct 2009 12:23:40 -0600
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
release.
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
> NCAR/RAL
> address@hidden
> 303-497-2831
Regards,
Steve Emmerson
Ticket Details
===================
Ticket ID: VJK-900361
Department: Support UDUNITS
Priority: Normal
Status: Closed