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

[UDUNITS #GIB-402527]: udunits2 warning messages



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