[MOAB-dev] Reader/Writer filename extension access

Tim Tautges tautges at mcs.anl.gov
Fri Apr 30 13:22:59 CDT 2010


I think sometimes you want to know ahead of time which will be used.

- tim

Jason Kraftcheck wrote:
> 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
> 
> 
> 
> 
> 

-- 
================================================================
"You will keep in perfect peace him whose mind is
   steadfast, because he trusts in you."               Isaiah 26:3

              Tim Tautges            Argonne National Laboratory
          (tautges at mcs.anl.gov)      (telecommuting from UW-Madison)
          phone: (608) 263-8485      1500 Engineering Dr.
            fax: (608) 263-4499      Madison, WI 53706



More information about the moab-dev mailing list