Track Ice Floes using Moderate Resolution Imaging Spectroradiometer (MODIS) data.
See the package's documentation (in development) at https://wilhelmuslab.github.io/IceFloeTracker.jl/
A julia
installation; ensure it is available on the PATH
.
Clone the repository.
$ git clone https://github.com/WilhelmusLab/IceFloeTracker.jl
Now start a Julia session.
$ julia
julia> ]
... to enter package mode.
(@v1.9) pkg> activate IceFloeTracker.jl/
Activating project at `~/IceFloeTracker.jl`
Instantiate the environment and run the tests:
(IceFloeTracker) pkg> instantiate
(IceFloeTracker) pkg> test
There are Jupyter notebooks illustrating the main image processing and tracking functions, in the /notebooks
folder.
See related tools in the IFTPipeline repository, including a Julia Command-line Interface and templates that leverage the Cylc pipeline orchestrator.
Git hooks are used to run common developer tasks on commits (e.g. code formatting, tests, etc.). If you are running git version 2.9 or later run the following from the root of the project to enable git hooks.
git config core.hooksPath ./hooks
To help with passing git hooks, run the formatting script before staging files:
./scripts/format.jl
git add .
git commit -m "some informative message"
git push
- Start a new branch and update the major or minor version numbers in the corresponding field at the top of
Project.toml
- After merging the changes, add
@JuliaRegistrator register
in a comment in the commit you wish to use for the release (not a comment on a PR, but the actual commit)- this bot will open a PR on the Julia registry for the package
- Wait for feedback from the bot to make sure the new version is accepted and merged to the Julia registry
- Create a new version tag
- The bot will generate git commands that you can run in a terminal to add a tag
- Create the new release on the repo console
- Click on
Draft a new release
- Choose the new tag you created
- Click on
Generate release notes
or add a custom description
- Click on
- Head over the
ice-floe-tracker-pipeline
repo and update the[compat]
section of theProject.toml
whereIceFloeTracker
is a dependency.
Note: After the PR for the release is merged, a trigger workflow will force a rebuild of Docker container used in the pipeline.