Borrar filtros
Borrar filtros

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

6 visualizaciones (últimos 30 días)
俊 马
俊 马 el 13 de Jun. de 2022
Comentada: Ninad el 12 de Sept. de 2023
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 comentarios
MJFcoNaN
MJFcoNaN el 14 de Jun. de 2022
Hello,
ncid= netcdf.create(filename,'64BIT_OFFSET') gives me normal result without error.
Could you provide more code and more error information?
Ninad
Ninad el 12 de Sept. de 2023
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.

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by