Spatial dispersion in an array of metallic nanorods