Adding arm_time_variables to write method

Similar to the previous commit, but this time adding the
arm_time_variables to the Grid object write method.