This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
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