{Refractive index modulation gratings, e.g. Bragg gratings characterised by means for compensating environmentally induced changes due to temperature fluctuations based on treating the fibre, e.g. post-manufacture treatment, thermal aging, annealing }