fix dat-gui for local files with IE
use numpy array for dem