aodn / imos-user-code-library

Code library of helper functions and examples for working with NetCDF data files typically sourced from IMOS
GNU General Public License v3.0
19 stars 15 forks source link

valid_min/max should not be applied on datasets #6

Closed ggalibert closed 10 years ago

ggalibert commented 10 years ago

In the Matlab version, the function cleanNetCDFValues used to change any data value outside the valid_min/max range to a NaN. This shouldn't happen.

I fixed the Matlab version : https://github.com/aodn/imos-user-code-library/commit/edbc7b9a650aaa3a76c364f777ae6ffe833ef985 But I wonder what are the Python and R version doing regarding this. Please can someone check?

mhidas commented 10 years ago

No such data clipping is done in Python.

xhoenner commented 10 years ago

same thing in R, no data clipping is done when data are outside the valid_min/max range.