This project has moved. For the latest updates, please go here.

Crash on interpolating precipitation

Sep 18, 2014 at 2:05 AM
A student in my class is getting an error on a pretty simple operation.

Windows 8.1, ASUS laptop, after loading in a subset of NLDAS precipitation, clicks "Deterministic Method" in the "Interpolation Tool". Gets:

System.InvalidCastException: Unable to cast object of type 'DotSpatial.Data.InRamImageData' to type 'DotSpatial.Data.IFeatureSet'.
at GeostatisticalTool.Classes.ConfigurationMethod.UpdataLayer()
at GeostatisticalTool.Classes.ConfigurationMethod..ctor(Map map, ListBox method, ComboBox layer, ComboBox field)
at GeostatisticalTool.Forms.DeterministicMethods.DeterministicMethods_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)