Code

prevent writing to xml when initializing grid. fixes not working default units.