Does 'ncread' automatically takes the 'add-offset' and 'scale factor' into account before returning the results?
Show older comments
I am reading some gridded geographical satellite data product in ".nc" format using "ncread" command. I find without multiplying the 'scale factor' and adding the 'add-offset' I am having the geophysicall values already.
I am confused whether 'ncread' automatically takes the 'add-offset' and 'scale factor' into account before returning the results.
Thanks in advance for your answer.
1 Comment
Thumree Sarkar
on 8 Mar 2019
Answers (2)
KSSV
on 8 Mar 2019
0 votes
When you read a variable from netCDF using ncread, it will read the whole variable as it is written/ present in the file. It will read from start to end ...the entire data.
Vijay Sagar
on 11 Nov 2020
Edited: Vijay Sagar
on 11 Nov 2020
0 votes
Sometime It also depends of Netcdf data type. Reference: Matlab help center. Check 'vardata — Variable' data section and apply accordingly.
Categories
Find more on NetCDF in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!