User Directions
Table of Contents
How to Install and Use
To install OceanRobots.jl in julia proceed as usual via the package manager (using Pkg; Pkg.add("OceanRobots")).
To run a notebook interactively (.jl files) you want to use Pluto.jl. For example, copy and paste one of the above code links in the Pluto.jl interface. This will let you spin up the notebook in a web browser from the copied URL.
All you need to do beforehand is to install julia and Pluto.jl. The installation of OceanRobots.jl and other Julia packages will then happen automatically when you run the notebook.
You can also download the notebooks folder and run them as normal Julia programs. We recommend runing each notebook in its own environment as shown below.
using Pkg; Pkg.add("Git"); using Git
url="https://github.com/JuliaOcean/OceanRobots.jl"
run(`$(git()) clone $(url)`)using Pkg; Pkg.add("Pluto"); using Pluto
notebook="examples/Float_Argo.jl"
import OceanRobots; path=dirname(dirname(pathof(OceanRobots))) #hide
notebook=joinpath(path,"examples","Float_Argo.jl") #hide
Pluto.activate_notebook_environment(notebook)
Pkg.instantiate()
include(notebook)
Pkg.activate("..") #hideHow to Seek Support
If something is unclear or proves difficult to use, please seek support by opening an issue on the repository.
How to Contribute
Thank you for considering contributing to OceanRobots.jl! If you're interested in contributing we want your help no matter how big or small a contribution you make!
Reporting Bugs
If you encounter a bug, please help us fix it by following these steps:
- Ensure the bug is not already reported by checking the issue tracker.
- If the bug isn't reported, open a new issue. Clearly describe the issue, including steps to reproduce it.
Suggesting Enhancements
If you have ideas for enhancements, new features, or improvements, we'd love to hear them! Follow these steps:
- Check the issue tracker to see if your suggestion has been discussed.
- If not, open a new issue, providing a detailed description of your suggestion and the use case it addresses.
Code Contribution
If you'd like to contribute code to the project:
- Fork the repository.
- Clone your fork:
git clone https://github.com/juliaocean/OceanRobots.jl - Create a new branch for your changes:
git checkout -b feature-branch - Make your changes and commit them with a clear message.
- Push your changes to your fork:
git push origin feature-branch - Open a pull request against the
masterbranch of the main repository.
Pull Request Process
Please ensure your pull request follows these guidelines:
- Adheres to the coding standards.
- Includes relevant tests for new functionality.
- Has a clear commit history and messages.
- References the relevant issue if applicable.
Please don't hesistate to get in touch to discuss, or with any questions!
License
By contributing to this project, you agree that your contributions will be licensed under the LICENSE file of this repository.