Setting binfile griddata to the data type read in - without this, byte swapping won't work