# Pulling Range data from head instead of the calculated Range

**URL:** https://discourse.vtk.org/t/pulling-range-data-from-head-instead-of-the-calculated-range/4013
**Category:** Support
**Created:** [August 18, 2020, 5:08pm UTC](https://discourse.vtk.org/t/pulling-range-data-from-head-instead-of-the-calculated-range/4013 "2020-08-18T17:08:15Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![samm-vs](https://discourse.vtk.org/user_avatar/discourse.vtk.org/samm-vs/32/2173_2.png) [@samm-vs](https://discourse.vtk.org/u/samm-vs)
#### Post date: [August 18, 2020, 5:08pm UTC](https://discourse.vtk.org/t/pulling-range-data-from-head-instead-of-the-calculated-range/4013/1 "2020-08-18T17:08:15Z")

</div>

Is there a way to select the range given by the meta-data for my scaler point array in vtk instead of pulling the calculated one from dataarray.getRange()? In another word how can I find the min and max of my dataset while ignoring the no data value? An example would be, my data set contain -100 as my no data value and my actual data values are from -10 to 10 but it can vary depending on the file given. Is there a way for me to find the min and the max of the dataset while ignoring -100.
