[netcdfgroup] Udunits2: Problem with ut_parse/ut_get_status

Hello,

Another question.
When I try to parse the unit "meter @ 100 @ 10" using
ut_parse a NULL pointer is returned. It is normal according
to the grammar, the unit should have been written as
"(meter @100) @ 10".

But my program try to explain why there is an error by
using the ut_get_status() function. I filter UT_SYNTAX
and UT_UNKNOWN which are user errors from others
which are 'system' or 'program' error.
But what is returned by ut_get_status() is UT_SUCCESS.

Is it normal, or do I miss something ?

Thanks again,
Philippe
-- 
Philippe Poilbarbe - CLS Space Oceanography Division



  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: