# Could not read dimensions or extents from the file

**URL:** https://discourse.paraview.org/t/could-not-read-dimensions-or-extents-from-the-file/10838
**Category:** ParaView Support
**Tags:** vtk
**Created:** [November 22, 2022, 7:37pm UTC](https://discourse.paraview.org/t/could-not-read-dimensions-or-extents-from-the-file/10838 "2022-11-22T19:37:57Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Phempet07](https://discourse.paraview.org/user_avatar/discourse.paraview.org/phempet07/32/10437_2.png) [@Phempet07](https://discourse.paraview.org/u/Phempet07)
#### Post date: [November 22, 2022, 7:37pm UTC](https://discourse.paraview.org/t/could-not-read-dimensions-or-extents-from-the-file/10838/1 "2022-11-22T19:37:57Z")

</div>

I am having difficulty loading a set of vtk files in Paraview.

Attached is the matlab code for the file and two vtk output files.  
[time\_1.vtk](https://discourse.paraview.org/uploads/short-url/uGaGbmOzJqF066Vm0Iiim7zsfid.vtk) (236.2 KB)  
[time\_100.vtk](https://discourse.paraview.org/uploads/short-url/ewsmR7MtLLZVzPTR8VJpq1JSvw9.vtk) (236.2 KB)  
[write\_vtk\_grid\_values.m](https://discourse.paraview.org/uploads/short-url/pxfY8SyBurYdncA3LBVapiHXh1k.m) (1.8 KB)

---

<div class="post-metadata">

### Author: ![Christos\_Tsolakis](https://discourse.paraview.org/user_avatar/discourse.paraview.org/christos_tsolakis/32/4450_2.png) [@Christos\_Tsolakis](https://discourse.paraview.org/u/Christos_Tsolakis)
#### Post date: [November 22, 2022, 7:46pm UTC](https://discourse.paraview.org/t/could-not-read-dimensions-or-extents-from-the-file/10838/2 "2022-11-22T19:46:56Z")

</div>

There some issues with the files.

1. Line 5 . Remove quote ’
2. Lines 4103 4105 are

```auto
POINT_DATA 4096
SCALARS CONfloat 1
fLOOKUP_TABLEdefault

```

they should be

```auto
POINT_DATA 4096
SCALARS CON float 1
LOOKUP_TABLE default

```

---

<div class="post-metadata">

### Author: ![Phempet07](https://discourse.paraview.org/user_avatar/discourse.paraview.org/phempet07/32/10437_2.png) [@Phempet07](https://discourse.paraview.org/u/Phempet07)
#### Post date: [November 23, 2022, 3:52am UTC](https://discourse.paraview.org/t/could-not-read-dimensions-or-extents-from-the-file/10838/3 "2022-11-23T03:52:15Z")

</div>

It worked. Thank you very much for your prompt response.
