Skip to content

loupote/oildriftgenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

oildriftgenerator

This project is an internship project realized at Tecgraf PUC-Rio, Rio de Janeiro, Brazil. It is based on Opendrift, a Python framework which allows simulations of oil drifting in the ocean (https://opendrift.github.io/index.html)

Project Structure & Features

SimulationGenerator

A module designed to:

  • Run a large number of oil drift simulations
  • Use YAML configuration files to define all simulation parameters
  • Study the optimal time step for numerical integration
  • Process simulation outputs and compute convergence criteria

Initialization

Create a virtual environment

Example on Windows OS:

py -m venv env_name

Activate the virtual environment

Example on Windows OS:

.\env_name\Scripts\activate

Install packages inside the virtual environment

Install all the built-in packages from the requirements.txt file:

pip install -r requirements.txt

Install the required external packages:

To do so: Clone it using its HTTPS URL into a folder, named packages for example:

cd ./packages/
git clone <HTTPS_URL>

Navigate to the cloned package folder:

cd ./opendrift/

Install it into your virtual environment (don't forget the final point):

pip install -e .

Cloning the Opendrift package is sufficient as it will automatically install its dependencies, including the other two packages.

About

GUI to generate simulations of an oil drifting using Opendrift simulator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages