This idea results from a discussion with one of my colleagues who did not believe oceanic mesoscale eddies cover nearly a third of the ocean surface at any time. The data calculation such as summing up all the areas of eddies is effective but sometimes boring. Thus, how about visualizing it by gathering them together in one place ? The vast Atlantic Ocean covers about 29 percent of the Earth's water surface area according to Wikipedia, making it the perfect domain for this kind of demonstration.
Global Mesoscale Eddy Track Atlas Product released by AVISO (See its breif introduction here, including data structures.)
- Generate property matrix for eddies already in the Atlantic Ocean. Use it as a eddy list for both the original ones that not need to move and those after moved.
- Generate property matrix for eddies outside the Atlantic Ocean which have to moved. So, a moving waiting list.
- Randomly generate a lon/lat coordinate for eddy center after moved.
- Diagnose whether the generated position fall within the region of the Atlantic Ocean and whether it is on land or not.
- Calculate the distances from generated coordinate to 1) the boundary of the Atlantic ocean, 2) the coastline and 3) all existing eddy circles (not eddy centers).
- Continue if the generated coordinate does not fall within any existing eddy circles.
- Find whether there are eddies in the moving waiting list that can be fit into the minimum distance calculated above.
- If so, move the largest one to the generated position. Then, keep moving until all eddies outside the Atlantic Ocean domain have been moved into the domain.
- Lon/Lat coordinate data for the boundary of the Atlantic Ocean, including islands. Here's a .mat version.
- The M_Map toolbox and associated Lon/Lat coordinate data m_coasts.mat
- land_or_ocean.m
Created with R2015a