Fixed some issues in the yearly processing of the spatial data