A new phase is detected within 100micrometers of 24 DEG ab grain boundary (GB) in YBa2Cu3O7-d 50 nm films on SrTiO3 by enhanced (001) anomalous scattering. Site identification and temperature dependence is interpreted using crystallographic weights to distinguish enhanced scattering from total electron yield and fluorescence spectra. The c-axis, c0 indicates that only ortho-I phase is present far from GB, both ortho-I and II phases are present near GB. The phase c0 is constant versus temperature across the transition to superconductivity.