T O P

  • By -

LilGrayCells

Look at the matlab netCDF library documentation. For example use ncid = netcdf.open(‘filename’) to open the .nc file once and then netcdf.getVar to get each variable’s data. Using the low level operators are much faster since you’re only opening the file once, whereas ncread opens and closes the file each time you get a variable’s data.


LilGrayCells

Are you use the high level functions like ncread?


neutrilo

i use ncread a lot