Water masses ************ There is no comparison with data in this part. It's only a hydrologic diagnostic from the model's outputs It relies on a specific algorithm that define the Water masses in the western basin of mediterreanea. It has been developped by Barral et al (*Assessment of water mass dynamic over the Western Mediterranean in the MEDRYS1V2 reanalysis*) It allow to separate water masses given their hydrology properties (Temperature, Salinity and density) #. Development of the algorithm The algorithm has been adapated from Matlab to python * For each time step, the fraction of each water mass is computed from T,S on the whole grid (horizontal and vertical) * The transport of both current components is then computed and vertically integrated taking into account the fraction of the water masses * The volume of each water mass is also computed at each time step * There is at last a file by water mass with the depth-averaged transport along u and v and the volume of the water mass #. Plots To make the plot, the mean annual volume associated with the mean annual transport are plotted for each water mass .. image:: images/SUIVI_ME/water_masses_transport.png #. What scripts ? * **water_masses.ipynb** or water_masses.py is the script that compute transport and write a Netcdf file by water mass * **plot_water_masses.ipynb** is the script to do the plots