You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a zero-D environment in julia powered by Darwin and MITgcm
3
2
4
3
Built off of Gael Forget's MITgcmTools! (https://github.com/gaelforget/MITgcmTools.jl)
5
4
6
-
# Setup
7
-
8
-
Dar_One can be run in one of two ways.
9
-
1) In a **docker container** using the dar_one_docker image, where all dependencies are handled for you
10
-
2) On your local machine, where you have to set up the environment, download dependencies, etc
11
-
- this is more time consuming, and I strongly recommend using the docker image
12
-
- instructions for local setup are below
13
5
14
6
## Overview of program structure
15
7
16
8
Dar_One is a Julia interface for using the [MITgcm](https://mitgcm.org/) with a [Darwin](https://darwinproject.mit.edu/) configuration to include biogeochemical forcing for marine microbes. This means it's composed of two main parts
17
-
-[Dar_One Julia](https://github.com/barbara42/Dar_One) - interface for organizing experiments and setting up parameters for model runs
9
+
-[Dar_One](https://github.com/barbara42/Dar_One) - Julia interface for organizing experiments and setting up parameters for model runs
18
10
-`MITgcm_path` variable should point to darwin3
19
11
-[darwin3](https://github.com/darwinproject/darwin3) - MITgcm source code set up to include all things Darwin
20
12
-`dar_one_config` - folder for the base configuration files for Dar_One, which lives in the darwin3/verification/ folder. ([dar_one_config github](https://github.com/barbara42/dar_one_config))
21
13
14
+
15
+
Dar_One can be run in one of two ways.
16
+
1) In a **docker container** using the dar_one_docker image, where all dependencies are handled for you
17
+
2) On your local machine, where you have to set up the environment, download dependencies, etc
18
+
- this is more time consuming, and I strongly recommend using the docker image
19
+
- instructions for local setup are below
20
+
22
21
# Setting up with docker
23
22
24
23
(1) Download and install [docker desktop](https://www.docker.com/).
@@ -37,22 +36,17 @@ Dar_One is a Julia interface for using the [MITgcm](https://mitgcm.org/) with a
37
36
- this runs the container in interactive mode (`-i`) with terminal access (`-t`)
38
37
- you should see the prompt change to `root@some-number:/dar_one_docker#`
39
38
40
-
You're now ready for the [beginner tutorial](beginner_tutorial/README.md)!
39
+
You're now ready for the [beginner tutorial](beginner_tutorial)!
41
40
# Setting up on local machine
42
41
43
42
If you have a windows machine, abandon all hope or dual boot linux
44
43
45
-
TODO!
44
+
TODO
46
45
47
46
# Contributing
48
47
49
-
We have three main branches
50
-
- main
51
-
- test
52
-
- dev
53
-
54
-
All other branches are feature branches. Once a feature has been implemented, tested, and documented you can make a pull request to merge it into the `dev` branch. From there, it will be deployed (hopefully in the future). If the deploy passes, it will automatically get merged into the `test` branch.
48
+
We have three main branches: `main`, `test`, and `dev`.
55
49
56
-
This branch is for people who deeply understand the code and want to beta test new features. Once apropriate testing and tutorials have been created, there will be a merge planned for `main`.
50
+
All other branches are feature branches. Once a feature has been implemented, tested, and documented you can make a pull request to merge it into the `dev` branch.
57
51
58
-
`main` is the most recent and stable version of the code. This branch is used for the docker image.
52
+
`main` is the most stable version of the code. This branch is used for the docker image.
0 commit comments