Frequency-scanned gratings consisting of photo-etched arrays