This is my science project to simulate microplastics movement in the ocean environment. The work is based on NASA’s ECCO Dataset.
| Tile 11 | Tile 3 | |———|——–| | | |
Anaconda Python 3
Nasa ECCO Python Package. ECCOv4-py
should be installed under home directory or any directory in system environment variable PYTHONPATH.
NASA ECCO Dataset. This simulator uses Version 4 Release 4. The default location is in ~/eccodata/
The simulator takes an input file that specifies inital particle location in .csv
format. Each row represents a particle with format of tile,x,y,k
where k can be omitted (by default 0), where tile is 0-12, x and y are 1-89 and k is 0-49. See ECCO Illustration
python3 ocean_particle_simulator.py input-1027p.csv --plot-all-lonlat
python3 ocean_particle_simulator.py input-50p --plot-1tile 10
python3 ocean_particle_simulator.py input-1027p.csv --kvel 0.2 --fudge-pct 20 --only-compute
python ocean_particle_simulator.py results_input-1027p_f30kv0.15 --only-plot --plot-1tile 2