[MOAB-dev] Reader/Writer filename extension access

Jason Kraftcheck kraftche at cae.wisc.edu
Fri Apr 30 12:44:47 CDT 2010


Paul Wilson wrote:

> 
> It is difficult for a user to determine any kind of unique and robustly
> identifying information about which reader actually was invoked (will be
> invoked) to read the file in question from the MOAB API.  Instead the
> user tends to reimplement the same kind of code that MOAB uses (string
> comparisons on filename extensions) but with little/no code reuse (don't
> actually know which extensions are handled by which reader) and huge
> potential for inconsistency.
> 

If it is sufficient to know which reader was used, why not have MOAB tag the
file set with the file format that the data came from?

- jason






More information about the moab-dev mailing list