fixes for irregular grid handling of coordinate variables