Exemplo n.º 1
0
        ///<summary>
        /// Getting dimensions' ids from the NetCDF file.
        /// </summary>
        private void UpdateDimIds()
        {
            if (varid == NcConst.NC_GLOBAL)
            {
                this.dimids = new int[0];
                return;
            }
            int[] dimids = new int[Rank];
            int   res    = NetCDF.nc_inq_vardimid(NcId, varid, dimids);

            NetCDFDataSet.HandleResult(res);
            this.dimids = dimids;
        }