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.
Phillippe, > 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". ut_get_status() after parsing the string "meter @ 100 @ 10" should return UT_SYNTAX. It doesn't and that's a bug. I've fixed this bug and will have a new package out this afternoon. Thanks for reporting this. > 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 Regards, Steve Emmerson Ticket Details =================== Ticket ID: JVS-291358 Department: Support UDUNITS Priority: Normal Status: Closed