# extract to array plotDataOverTime

**URL:** https://discourse.paraview.org/t/extract-to-array-plotdataovertime/16878
**Category:** ParaView Support
**Tags:** python
**Created:** [June 30, 2025, 9:42am UTC](https://discourse.paraview.org/t/extract-to-array-plotdataovertime/16878 "2025-06-30T09:42:34Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![otaolafr](https://discourse.paraview.org/user_avatar/discourse.paraview.org/otaolafr/32/3595_2.png) [@otaolafr](https://discourse.paraview.org/u/otaolafr)
#### Post date: [June 30, 2025, 9:42am UTC](https://discourse.paraview.org/t/extract-to-array-plotdataovertime/16878/1 "2025-06-30T09:42:34Z")

</div>

Hello,  
I have a filter (plotDataOverTime), and i would like to recover its value to an array. eg., avg(alpha.air). i can see the values in a spreadsheet viewer if i am in row data. what i would like is to get an array where each value corresponds to a timestep (ie., a value of a line of the data i see for plotDataOverTime in the spreadsheet).  
generally I do something like this:

```auto
filter= GetActiveSource()
data=dsa.WrapDataObject(servermanager.Fetch(filter))
fieldWanted=data.PointData['fieldWanted'].tolist().copy()

```

but there is no Point/CellData here.  
PS. is there any documentation specifically for fetching etc data? I would like to get an answer but furthemore read more about this, each time i want to do something like this is a hit or miss situation…

PS2. the plotDataOverTime is used over a integrateVariables filter (in case that it is helpfull)  
thanks

---

<div class="post-metadata">

### Author: ![Kenichiro-Yoshimi](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/k/ecc23a/32.png) [@Kenichiro-Yoshimi](https://discourse.paraview.org/u/Kenichiro-Yoshimi)
#### Post date: [July 2, 2025, 1:47pm UTC](https://discourse.paraview.org/t/extract-to-array-plotdataovertime/16878/2 "2025-07-02T13:47:24Z")

</div>

Does the following code work as expected?

```python
from paraview import servermanager
from paraview.vtk.numpy_interface import dataset_adapter as dsa

filter= GetActiveSource()
table = dsa.WrapDataObject(servermanager.Fetch(filter).GetBlock(0))
fieldWanted = table.RowData['fieldWanted'].tolist().copy()

```
