/// <summary> /// Gets the next value in a series. /// </summary> /// <param name="isMissingFlag">The is missing flag.</param> /// <param name="gsVal">The gs value.</param> /// <returns>False if there are no more values.</returns> public bool Next(double isMissingFlag, out GridCoordinateValue gsVal) { double lat, lon, val; bool success = GribApiProxy.GribIteratorNext(this, out lat, out lon, out val) != 0; gsVal = new GridCoordinateValue(lat, lon, val, val == isMissingFlag); return(success); }