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.
Mike, > When I call > > ut_read_xml(NULL) > > in udunits2, I get the following output: > > Definition of "kt" in "/usr/local/share/udunits2-common.xml", line 80, > overrides prefixed-unit "1000000 kilogram" > Definition of "microns" in "/usr/local/share/udunits2-common.xml", line > 290, overrides prefixed-unit "1e-15 second" > Definition of "ft" in "/usr/local/share/udunits2-common.xml", line 387, > overrides prefixed-unit "1e-12 kilogram" > Definition of "yd" in "/usr/local/share/udunits2-common.xml", line 395, > overrides prefixed-unit "8.64e-20 second" > Definition of "pt" in "/usr/local/share/udunits2-common.xml", line 616, > overrides prefixed-unit "1e-09 kilogram" > Definition of "at" in "/usr/local/share/udunits2-common.xml", line 1013, > overrides prefixed-unit "1e-15 kilogram" > Definition of "ph" in "/usr/local/share/udunits2-common.xml", line 1531, > overrides prefixed-unit "3.6e-09 second" > Definition of "nt" in "/usr/local/share/udunits2-common.xml", line 1538, > overrides prefixed-unit "1e-06 kilogram" > > Is there some way to force this to be silent? Use "ut_set_error_message_handler(ut_ignore)". It's described in the package documentation under "Error Handling". > Thanks > > Mike Dixon Regards, Steve Emmerson Ticket Details =================== Ticket ID: GIB-402527 Department: Support UDUNITS Priority: Normal Status: Closed