# NRRD space tag not parsed

**URL:** <https://discourse.slicer.org/t/nrrd-space-tag-not-parsed/4006>\
**Category:** Support\
**Created:** [September 6, 2018, 5:40pm UTC](https://discourse.slicer.org/t/nrrd-space-tag-not-parsed/4006 "2018-09-06T17:40:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/83011_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [September 6, 2018, 5:40pm UTC](https://discourse.slicer.org/t/nrrd-space-tag-not-parsed/4006/1 "2018-09-06T17:40:53Z")

</div>

Is this expected? This is with r27390 on windows 10.

ReadImageInformation: Error reading C:/Users/amaga/Box Sync/PI\_Murat/grant\_proposals/Nsf\_Informatics/data\_dropbox/Chris.Percival/dont\_work.nhdr:  
[nrrd] nrrdLoad: trouble reading “C:/Users/amaga/Box Sync/PI\_Murat/grant\_proposals/Nsf\_Informatics/data\_dropbox/Chris.Percival/dont\_work.nhdr”  
[nrrd] nrrdRead: trouble  
[nrrd] \_nrrdRead: trouble reading NRRD file  
[nrrd] \_nrrdFormatNRRD\_read: trouble parsing space info |“LPS”|  
[nrrd] \_nrrdReadNrrdParse\_space: couldn’t parse space ““LPS””

This is the header.  
NRRD0004  
type: short  
dimension: 3  
sizes: 622 642 1085  
byteskip: 3195  
data file: ./PERCIVAL\_370.AIM  
endian: big  
encoding: raw  
space: “LPS”  
space directions: (0.02,0,0) (0,0.02,0) (0,0,0.02)

“LPS” is a valid NRRD tag. If I do something like this, it works fine:

NRRD0004  
type: short  
dimension: 3  
sizes: 622 642 1085  
byteskip: 3195  
data file: ./PERCIVAL\_370.AIM  
endian: big  
encoding: raw  
space dimension: 3  
space directions: (-0.02,0,0) (0,-0.02,0) (0,0,0.02)

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [September 6, 2018, 6:03pm UTC](https://discourse.slicer.org/t/nrrd-space-tag-not-parsed/4006/2 "2018-09-06T18:03:01Z")

</div>

Do you actually have LPS in quotation marks: `"LPS"` instead of `LPS`?  
What software was used to create this file?

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/83011_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [September 6, 2018, 6:20pm UTC](https://discourse.slicer.org/t/nrrd-space-tag-not-parsed/4006/3 "2018-09-06T18:20:35Z")

</div>

Yes, LPS was in the quotes. I just used a text-editor (notepad) to generate the header. I removed the quotes and it is working now.
