Exemple #1
0
        /// <summary>
        /// Retrieves the GRIB key's type name.
        /// </summary>
        /// <param name="vt">The vt.</param>
        /// <returns></returns>
        public static string AsString(this GribValueType vt)
        {
            if ((int)vt >= (int)GribValueType.IntArray)
            {
                return(vt.ToString());
            }

            return(GribApiProxy.GribGetTypeName((int)vt));
        }