필터 지우기
필터 지우기

How to create a large netcdf file (>2GB) with 64BIT_OFFSET format?

조회 수: 6 (최근 30일)
俊 马
俊 马 2022년 6월 13일
댓글: Ninad 2023년 9월 12일
Hi,
My matlab is R2020a, i want to create a large netcdf file (>2GB) with 64bit format, however, when I set :
ncid= netcdf.create(filename,'64BIT_OFFSET'); or netcdf.setDefaultFormat('NC_FORMAT_64BIT'); , I met the error:
netcdf is meeting error when excuting 'putatttext' library- 'operation not allowed in data mode (nc_enotindefine)
when I change the format to 'NETCDF4', it worked, however, I expected the format to be '64bit', do you know how to fix it ? thanks a lot
  댓글 수: 2
MJFcoNaN
MJFcoNaN 2022년 6월 14일
Hello,
ncid= netcdf.create(filename,'64BIT_OFFSET') gives me normal result without error.
Could you provide more code and more error information?
Ninad
Ninad 2023년 9월 12일
Hello,
I have tried the netcdf.create function in R2020a. Seems to work fine for me.
Request you provide the program along with the specific error message, that might help me reproduce the issue at my end.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

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

태그

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by