Heikio, > My program uses the udunits1 API. More and more users are now switching > to udunits2 and are just using the compatibility API coming with the > udunits2 library. > > This works well so far, but udunits2 gives lots of warnings: > > * warnings like 'Definition of "kt" in > "/usr/share/udunits/udunits2-common.xml", line 86' > > I found in the mailing list a tip on how to disable those: > > http://www.unidata.ucar.edu/support/help/MailArchives/udunits/msg00757.html > but this solution doesn't seem to be available from the old API. > > > > * warnings like 'ut_get_converter(): Units not convertible' > thrown from utConvert, when trying to test convertibility, so I > expect some non-convertible units, and something like ut_are_convertible > is not available in udunits1. > > > Is there a possibility to disable those warnings from the udunits1 API? I modified the UDUNITS-1 function utInit() so that it shuts-off the printing of UDUNITS-2 error messages. The new version is 2.1.18 and is available at <http://www.unidata.ucar.edu/software/udunits> or <ftp://ftp.unidata.ucar.edu/pub/udunits/udunits-2.1.18.tar.gz>. Let me know. > Best regards, > > Heiko Regards, Steve Emmerson Ticket Details =================== Ticket ID: XSW-532842 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.