Hello everyone, I have a question. I want to modify the water attenuation scheme in ROMS. ROMS uses the spectral shape of the diffuse attenuation coefficient
𝐾
𝑑
K
d
proposed by Jerlov (1976) as a classification standard for seawater, dividing ocean water bodies into different types such as I, IA, IB, II, and M. How can I modify the equation for calculating Tr in the source code file imd_swfrac.f, changing it from being based on water types to being based on Chl (chlorophyll)? Also, where in the source code can I modify the related code for reading data?