void create_hfile(string hfile, string dfile, grid g, float val, bool var=false) { if (hfile.size()>120) { RVLException e; e<<"Error: create_hfile\n"; e<<"filename "<