# unable to read XDMF Set or Subset

**URL:** https://discourse.paraview.org/t/unable-to-read-xdmf-set-or-subset/3775
**Category:** ParaView Support
**Created:** [March 9, 2020, 12:32pm UTC](https://discourse.paraview.org/t/unable-to-read-xdmf-set-or-subset/3775 "2020-03-09T12:32:38Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![AF-IR](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/e9bcb4/32.png) [@AF-IR](https://discourse.paraview.org/u/AF-IR)
#### Post date: [March 9, 2020, 12:32pm UTC](https://discourse.paraview.org/t/unable-to-read-xdmf-set-or-subset/3775/1 "2020-03-09T12:32:38Z")

</div>

Trying to select a portion on the grid and assign different values to. Tried using Set and SubSet both fail.  
Been reading the documentation of both XDMF and Paraview and tried everything but to no avail. From the 3 readers that ParaView offers, only the first reads the set or subset name, but not displaying any data. Other readers crash.  
Very small example attached for both Set and SubSet (commented out). In this example, intentionally selecting all cells, but an attempt to select just some also fails miserably.  
[3dCoRect\_export.xdmf](https://discourse.paraview.org/uploads/short-url/acRJp3ktPmhoBP5OdyhMz5POG8F.xdmf) (2.0 KB)

Please help, Thanks

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [March 10, 2020, 5:09am UTC](https://discourse.paraview.org/t/unable-to-read-xdmf-set-or-subset/3775/2 "2020-03-10T05:09:26Z")

</div>

Here is a valid .xmf file if that helps you :

[testFile.xmf](https://discourse.paraview.org/uploads/short-url/7jWqccFUf0usOjgSfRWDkqF7DhA.xmf) (2.0 KB)

---

<div class="post-metadata">

### Author: ![AF-IR](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/e9bcb4/32.png) [@AF-IR](https://discourse.paraview.org/u/AF-IR)
#### Post date: [March 10, 2020, 9:41am UTC](https://discourse.paraview.org/t/unable-to-read-xdmf-set-or-subset/3775/3 "2020-03-10T09:41:31Z")

</div>

Thank you for your help Mathieu, but this is not addressing my problem.  
The testFile you attached is not using Set nor SubSet.

Are these supported?

---

<div class="post-metadata">

### Author: ![AF-IR](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/e9bcb4/32.png) [@AF-IR](https://discourse.paraview.org/u/AF-IR)
#### Post date: [March 17, 2020, 9:27am UTC](https://discourse.paraview.org/t/unable-to-read-xdmf-set-or-subset/3775/4 "2020-03-17T09:27:43Z")

</div>

has anyone been able to work with XDMF sets or subsets?

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [March 21, 2020, 2:02am UTC](https://discourse.paraview.org/t/unable-to-read-xdmf-set-or-subset/3775/6 "2020-03-21T02:02:05Z")

</div>

I suspect we just don’t have the support for it implemented in the Xdmf readers we have. I’m not familiar enough with libxdmf or the code in the reader itself to know whether it’s even trying or not though.
