problem with netCDF handling

조회 수: 1 (최근 30일)
Tobias
Tobias 2012년 10월 1일
Hi all,
I'm working on a project where I have to process some netCDF-files and now I have some problem when trying to read them in Matlab. First of all, I'm not really sure where to start. I have tried the netcdf.open() command but all I get is this,
EDU>> ncid = netcdf.open('erainterim.nc', 'NO-WRITE') ??? Error using ==> netcdflib Unrecognized operation: "NO-WRITE"
Error in ==> getConstant at 28 param = netcdflib('parameter', param_name);
Error in ==> open at 38 mode = netcdf.getConstant(mode);
Does anyone know how to solve this?
regards, Tobias

답변 (1개)

John
John 2012년 10월 1일
The mode string you want is 'NOWRITE', not 'NO-WRITE'.

카테고리

Help CenterFile Exchange에서 NetCDF에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by