Exemplo n.º 1
0
        public NetCdfDimension AddUnlimitedDimension(string dimName)
        {
            int dimId;

            CheckResult(NetCdfWrapper.nc_def_dim(id, dimName, new IntPtr(NetCdfWrapper.NC_UNLIMITED), out dimId));
            return(new NetCdfDimension(dimId));
        }
Exemplo n.º 2
0
        public NetCdfDimension AddDimension(string dimName, int dimSize)
        {
            int dimId;

            CheckResult(NetCdfWrapper.nc_def_dim(id, dimName, new IntPtr(dimSize), out dimId));
            return(new NetCdfDimension(dimId));
        }