Handles variables with no time dimension (e.g. elevation)

Other minor changes