# How to set xdmf to extract a hyperslab

**URL:** https://discourse.paraview.org/t/how-to-set-xdmf-to-extract-a-hyperslab/474
**Category:** ParaView Support
**Created:** [August 24, 2018, 5:55pm UTC](https://discourse.paraview.org/t/how-to-set-xdmf-to-extract-a-hyperslab/474 "2018-08-24T17:55:47Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![tsar](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/t/b782af/32.png) [@tsar](https://discourse.paraview.org/u/tsar)
#### Post date: [August 24, 2018, 5:55pm UTC](https://discourse.paraview.org/t/how-to-set-xdmf-to-extract-a-hyperslab/474/1 "2018-08-24T17:55:47Z")

</div>

Hi,  
I have a hdf5 Dataset {47, 1, 1, 142}. I want to plot a hyperslab, e.g. {1,1,1,142}, but no matter what I do, I get “memory selection+offset not within extent” error. I get the mesh plotted correctly, but data are totally messed up. The xmf file and the output of h5ls are attached.

Any help is highly appreciated.  
Thanks,  
Ted

==========================================

\<?xml version="1.0" ?\> restart.h5:/cycle000600/rank000000/blk0001/X restart.h5:/cycle000600/rank000000/blk0001/Y restart.h5:/cycle000600/rank000000/blk0001/Z 0 0 0 0 1 1 1 1 0 0 0 142 restart.h5:/cycle000600/rank000000/blk0001/mtrl01/n 

==========================================  
h5ls -l restart.h5/cycle000661/rank000000/blk0001  
X Dataset {143}  
Y Dataset {2}  
Z Dataset {2}  
mtrl01 Group  
h5ls -l restart.h5/cycle000661/rank000000/blk0001/mtrl01  
n Dataset {47, 1, 1, 142}
