Just to update this old thread, I added ASCII support to the NRRD reader. It should be available when 4.0 is released.
-Ken On 1/4/13 3:18 PM, "Moreland, Kenneth" <[email protected]> wrote: >I hadn't any plans to implement ASCII encoding in the NRRD reader, and I >don't know of anyone else making any edits to it. > > >The problem with ASCII encoding is that there is no straightforward way to >implement parallel reading of the data (because offsets cannot be >determined), and one of the main practical functions of the NRRD reader is >to be able to read very large raw arrays from files. > >I wouldn't think it would be too hard to implement ASCII encodings. It >could just fail or do something stupid if run in parallel. > >-Ken > >On 1/4/13 2:15 PM, "Russell M. Taylor II" <[email protected]> wrote: > >>The NRRD specification >>(http://teem.sourceforge.net/nrrd/format.html#general.4, paragraph 4) >>states that all readers must support raw and ASCII encoding, but when >>I open a NRRD file with either ascii or ASCII encoding, ParaView >>reports ERROR: In >>C:\DBD\pvs-x64\paraview\src\paraview\VTK\IO\Image\vtkNrrdReader.cxx, >>line 377 vtkPNrrdReader (000000000CF65C70): Unsupported encoding: ascii. >> >>If I lie to it and tell it that it is raw encoding, the file loading >>completes (with garbage values, of course), so it does not seem to be >>a problem with the format of the NRRD header file I am using. >> >>Unfortunately, this is preventing me from switching from legacy VTK >>readers to the NRRD reader as my conversion example in by >>visualization class being taught this spring. I like the >>detatched-headers feature of NRRD, which keeps folks from having to >>hand-edit their giant data files, but I do need to be able to have >>them support the reading of ASCII files. >> >>Is implementing ASCII support on the future list? If so, any idea of >>the timeline? >> >>Thanks, >>Russ >> >> >>--- >>Russell M. Taylor II, Ph.D. [email protected] >>CB #3175, Sitterson Hall www.cs.unc.edu/~taylorr >>University of North Carolina, Voice: (919) 962-1701 >>Chapel Hill, NC 27599-3175 FAX: (919) 962-1799 >> >>_______________________________________________ >>Powered by www.kitware.com >> >>Visit other Kitware open-source projects at >>http://www.kitware.com/opensource/opensource.html >> >>Please keep messages on-topic and check the ParaView Wiki at: >>http://paraview.org/Wiki/ParaView >> >>Follow this link to subscribe/unsubscribe: >>http://www.paraview.org/mailman/listinfo/paraview >> > > >_______________________________________________ >Powered by www.kitware.com > >Visit other Kitware open-source projects at >http://www.kitware.com/opensource/opensource.html > >Please keep messages on-topic and check the ParaView Wiki at: >http://paraview.org/Wiki/ParaView > >Follow this link to subscribe/unsubscribe: >http://www.paraview.org/mailman/listinfo/paraview > _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
