[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #AMS-956047]: netcdf dimensions NF90_UNLIMITED



Hello,

NetCDF4 files create with CLASSIC_MODE are limited to only one unlimited 
dimension.  You will need to specify a netCDF4 file to have multiple unlimited 
dimension types.

I hope this helps, have a great day,

-Ward

> Hi Support,
> 
> can I use NF90_UNLIMITED as a length for 3 dimensions of my 3D variable, As
> given below
> 
> *stat = NF90_DEF_DIM( ncid_user, i, NF90_UNLIMITED, i_id )*
> * stat = NF90_DEF_DIM( ncid_user, j, NF90_UNLIMITED, j_id )*
> * stat = NF90_DEF_DIM( ncid_user, k, NF90_UNLIMITED, k_id )*
> 
> Also my netcdf file create function is as below:
> 
> *stat = NF90_CREATE( '/home/sachin/output.nc <http://output.nc>',
> NF90_CLOBBER, ncid_user )*
> 
> Because I am getting an error when I am creating netcdf file with
> NF90_CLASSIC_MODE option.
> 
> error: NC_UNLIMITED size already in use (Code -54)
> 
> --
> Thanks and regards,
> Sachin H. Shinde
> Walchand College of Engineering, Sangli.
> 
> 


Ticket Details
===================
Ticket ID: AMS-956047
Department: Support netCDF
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.