Raman spectroscopy for subsea applications