# Creating an array from scalars

**URL:** https://discourse.paraview.org/t/creating-an-array-from-scalars/11403
**Category:** ParaView Support
**Tags:** vtk, python
**Created:** [February 14, 2023, 2:08pm UTC](https://discourse.paraview.org/t/creating-an-array-from-scalars/11403 "2023-02-14T14:08:23Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Fred\_Silva](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/f/ea5d25/32.png) [@Fred\_Silva](https://discourse.paraview.org/u/Fred_Silva)
#### Post date: [February 14, 2023, 2:08pm UTC](https://discourse.paraview.org/t/creating-an-array-from-scalars/11403/1 "2023-02-14T14:08:23Z")

</div>

Hello,

I am working with a cfd vtk dataset which has a number of scalars (chemical species concentrations for instance).

I need to be able to arrange them into an array, like a python list for example, and compute the minimum or maximum values. For example, I need to find the most common species at each domain point. It sounds pretty straightforward but I was unable to do so with either calculator or python calculator.

If for example I try to create a list of the scalars it tells me the scalars don’t exist. But if I try to store the a single scalar I have no issues.

Any help here is appreciated.

Thanks,

Edit: Paraview 5.11.0
