Hi Colm,
It looks like mricron is not filling dim[] quite correctly.
This line is not consistent:
dim 40 8 3 80 80 32 142 1 1 1
The 8 dim values (3 80 80 32 142 1 1 1) say that the dataset is
3 dimensional, yet it has dimensions of 80, 80, 32, 142.
If this is 142 time points of 32 slices of 80x80 images, then
that 3 should be a 4. So try to fix it with the command:
nifti_tool -mod_hdr -mod_field dim '4 80 80 32 142 1 1 1' \
-prefix em0001.run1.new.nii -infiles em0001.run1.nii
That should correct the dim[] array, creating a new dataset
em0001.run1.new.nii .
- rick