Currently, I am trying to extract climate data from netcdf files using ArcGIS and Matlab. However, I am getting different values for the same grid point when I use these two methods. For example, for the grid point of 7.92o latitude and 38.72o longitude, I extract as follows:

For ArcGIS:

- Multidimension Tools

- Make netcdf table view

- For dimension values, I use rlat =7.92 and rlon = 38.72 (rlat and rlon are available when you click drop down box under dimension values (optional))

- It gives some values

For Matlab

I am using the Matlab codes suggested by Jordi Prats modifying to my study area as follows:

- Size: 194x201x1826

- Dimensions: rlon,rlat,time

Thus,

- variable = ncread(fname,'tasmax', [1 1 1], [194, 201, inf], [1 1 1]);

- temp= variable(145, 123, :)

- rlon is 145 and rlat is 123 in this case

These two approaches give different values for the same grid point. However, in some few grid points I get the same values.

Therefore, can you share your opinion in this regard? And also if there is any simplest approach of extracting climate data from netcdf files. Extracting using ArcGIS is time taking because it is not possible to extract for more than one grid points at once.

Thanks,

Similar questions and discussions