Got a working first draft that writes data for 2d+t and 3d+t variables in a pism-like manner