Adding your first tectonic feature#
Now we are finally ready to get out our brushes and start coloring in the world. We are going to start by adding an oceanic plate to the feature list.
Each feature is an object and is enclosed in curly braces ({}
). You will need to specify the following keys:
The
model
key always defines which feature is being set. In this case it is “oceanic plate”.The
name
key should contain a descriptive name. The name can be anything and is used to help keep the input file readable. Here we name it “Overriding Plate”.The
coordinates
key is a list of 2D coordinates: x,y in Cartesian and long,lat in spherical. A list in JSON is indicated by square brackets ([]
) and the items are separated by commas.(Optional) The
temperature models
key is a list of temperature models. Each temperature model is an object. For now we will just choose the simplest one:uniform
where we set the temperature to293
K.(Optional) The
compositional models
key is a list of compositional models. Each compositional model is an object. Like with the temperature model, we will just chose the simplest one:uniform
and set the composition in compositional field to 0. We will go into more details about how this works later in the tutorial.
There are some other options that will be covered later. The file below shows the result. To focus your attention, by default only the lines of interest are shown but you can always view the full file by clicking on the Full file
tab.
4 "features":
5 [
6 {
7 "model":"oceanic plate", "name":"Overriding Plate",
8 "coordinates":[[0,0],[0,1000e3],[1500e3,1000e3],[1600e3,350e3],[1500e3,0]],
9 "temperature models":[{"model":"uniform", "temperature":293}],
10 "composition models":[{"model":"uniform", "compositions":[0]}]
11 }
12 ]
1{
2 "version": "1.0",
3 "coordinate system":{"model":"cartesian"},
4 "features":
5 [
6 {
7 "model":"oceanic plate", "name":"Overriding Plate",
8 "coordinates":[[0,0],[0,1000e3],[1500e3,1000e3],[1600e3,350e3],[1500e3,0]],
9 "temperature models":[{"model":"uniform", "temperature":293}],
10 "composition models":[{"model":"uniform", "compositions":[0]}]
11 }
12 ]
13 }