Skip to content

Commit 2f899ec

Browse files
Merge pull request #64 from geodynamics/baagaard/docs-journal-name
DOCS: Add journal name to Pyre component documentation.
2 parents 026ee71 + 8ef0b32 commit 2f899ec

24 files changed

+77
-62
lines changed

docs/user/components/geocoords/CSCart.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# CSCart
22

33
% WARNING: Do not edit; this is a generated file!
4-
Full name: `spatialdata.geocoords.CSCart`
4+
:Full name: `spatialdata.geocoords.CSCart`
5+
:Journal name: `cscart`
56

67
Python manager for Cartesian coordinate systems.
78

docs/user/components/geocoords/CSGeo.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# CSGeo
22

33
% WARNING: Do not edit; this is a generated file!
4-
Full name: `spatialdata.geocoords.CSGeo`
4+
:Full name: `spatialdata.geocoords.CSGeo`
5+
:Journal name: `csgeo`
56

67
Python manager for geographic coordinate systems.
78

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# CoordSys
22

33
% WARNING: Do not edit; this is a generated file!
4-
Full name: `spatialdata.geocoords.CoordSys`
4+
:Full name: `spatialdata.geocoords.CoordSys`
5+
:Journal name: `coordsys`
56

67
Python abstract base class for coordinate systems.
78

docs/user/components/spatialdb/CompositeDB.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# CompositeDB
22

33
% WARNING: Do not edit; this is a generated file!
4-
Full name: `spatialdata.spatialdb.CompositeDB`
4+
:Full name: `spatialdata.spatialdb.CompositeDB`
5+
:Journal name: `compositedb`
56

67
Virtual spatial database implemented as a combination of two spatial databases.
78
This spatial database is useful when you need to provide additional values beyond those present in an existing spatial database or some values have a different layout than others.
@@ -19,10 +20,10 @@ Implements `SpatialDB`.
1920

2021
## Pyre Properties
2122

22-
* `description`=\<str\>: Descriptive description for database.
23+
* `description`=\<str\>: Description for database.
2324
- **default value**: ''
2425
- **current value**: '', from {default}
25-
- **validator**: <function validateDescription at 0x11c2979d0>
26+
- **validator**: <function validateDescription at 0x112cb1dc0>
2627
* `values_A`=\<list\>: Names of values to query with database A.
2728
- **default value**: []
2829
- **current value**: [], from {default}
@@ -40,12 +41,12 @@ values_A = [density]
4041
values_B = [vp, vs]
4142

4243
db_A = spatialdata.spatialdb.UniformDB
43-
db_A.label = Density spatial database.
44+
db_A.description = Density spatial database.
4445
db_A.values = [density]
4546
db_A.data = [3000*kg/m**3]
4647

4748
db_B = spatialdata.spatialdb.SimpleDB
48-
db_B.label = Wave speed spatial database.
49+
db_B.description = Wave speed spatial database.
4950
db_B.iohandler.filename = vpvs.spatialdb
5051
:::
5152

docs/user/components/spatialdb/GravityField.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,25 @@
11
# GravityField
22

33
% WARNING: Do not edit; this is a generated file!
4-
Full name: `spatialdata.spatialdb.GravityField`
4+
:Full name: `spatialdata.spatialdb.GravityField`
5+
:Journal name: `gravityfield`
56

67
Spatial database with gravity field information.
78

8-
Implements `SpatialDB`.
9+
Implements `SpatialDB`.
910

1011
## Pyre Properties
1112

1213
* `acceleration`=\<dimensional\>: Gravitational acceleration.
1314
- **default value**: 9.80665*m*s**-2
1415
- **current value**: 9.80665*m*s**-2, from {default}
15-
* `description`=\<str\>: Descriptive description for database.
16+
* `description`=\<str\>: Description for database.
1617
- **default value**: ''
17-
- **current value**: '', from {default}
18-
- **validator**: <function validateDescription at 0x11c2979d0>
18+
- **current value**: 'Gravity field', from {file='/Users/baagaard/software/unix/py39-venv/pylith-debug/lib/python3.9/site-packages/pythia/pyre/inventory/ConfigurableClass.py', line=26, function='__set__'}
19+
- **validator**: <function validateDescription at 0x112cb1dc0>
1920
* `gravity_dir`=\<list\>: Direction of gravitational body force. (used only with a Cartesian coordinate system.
2021
- **default value**: [0.0, 0.0, -1.0]
2122
- **current value**: [0.0, 0.0, -1.0], from {default}
22-
* `label`=\<str\>: Descriptive label for gravity field.
23-
- **default value**: 'Gravity field'
24-
- **current value**: 'Gravity field', from {default}
2523

2624
## Example
2725

@@ -30,7 +28,6 @@ Example of setting `GravityField` Pyre properties and facilities in a parameter
3028
:::{code-block} cfg
3129
# Specify a gravity field in 2D with gravity in the -y direction.
3230
[gravity_field]
33-
label = Gravity field
3431
gravity_dir = [0, -1]
3532
acceleration = 9.80665*meter/second**2
3633
:::

docs/user/components/spatialdb/SCECCVMH.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# SCECCVMH
22

33
% WARNING: Do not edit; this is a generated file!
4-
Full name: `spatialdata.spatialdb.SCECCVMH`
4+
:Full name: `spatialdata.spatialdb.SCECCVMH`
5+
:Journal name: `sceccvmh`
56

67
Spatial database for the SCEC CVM-H seismic velocity model versions 5.2 and 5.3.
78

@@ -16,13 +17,10 @@ These models are obsolete and no longer available from SCEC.
1617
* `data_dir`=\<str\>: Directory containing SCEC CVM-H data files.
1718
- **default value**: '.'
1819
- **current value**: '.', from {default}
19-
* `description`=\<str\>: Descriptive description for database.
20+
* `description`=\<str\>: Description for database.
2021
- **default value**: ''
21-
- **current value**: '', from {default}
22-
- **validator**: <function validateDescription at 0x11c2979d0>
23-
* `label`=\<str\>: Descriptive label for seismic velocity model.
24-
- **default value**: 'SCEC CVM-H'
25-
- **current value**: 'SCEC CVM-H', from {default}
22+
- **current value**: 'SCEC CVM-H v5.3', from {file='/Users/baagaard/software/unix/py39-venv/pylith-debug/lib/python3.9/site-packages/pythia/pyre/inventory/ConfigurableClass.py', line=26, function='__set__'}
23+
- **validator**: <function validateDescription at 0x112cb1dc0>
2624
* `min_vs`=\<dimensional\>: Minimum shear wave speed.
2725
- **default value**: 500*m*s**-1
2826
- **current value**: 500*m*s**-1, from {default}
@@ -38,7 +36,6 @@ These models are obsolete and no longer available from SCEC.
3836
Example of setting `SCECCVMH` Pyre properties and facilities in a parameter file.
3937

4038
:::{code-block} cfg
41-
label = SCEC CVM-H v5.3
4239
data_dir = data/scec-cvmh
4340
min_vs = 500.0*m/s
4441
squash = False

docs/user/components/spatialdb/SimpleDB.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# SimpleDB
22

33
% WARNING: Do not edit; this is a generated file!
4-
Full name: `spatialdata.spatialdb.SimpleDB`
4+
:Full name: `spatialdata.spatialdb.SimpleDB`
5+
:Journal name: `simpledb`
56

67
Simple spatial database for points with arbitrary layout.
78
Use SimpleGridDB for points on a logically rectangular grid aligned with the coordinate axes.
@@ -16,10 +17,10 @@ Implements `SpatialDB`.
1617

1718
## Pyre Properties
1819

19-
* `description`=\<str\>: Descriptive description for database.
20+
* `description`=\<str\>: Description for database.
2021
- **default value**: ''
2122
- **current value**: '', from {default}
22-
- **validator**: <function validateDescription at 0x11c2979d0>
23+
- **validator**: <function validateDescription at 0x112cb1dc0>
2324
* `query_type`=\<str\>: Type of query to perform.
2425
- **default value**: 'nearest'
2526
- **current value**: 'nearest', from {default}
@@ -31,7 +32,7 @@ Example of setting `SimpleDB` Pyre properties and facilities in a parameter file
3132

3233
:::{code-block} cfg
3334
[db]
34-
label = Material properties
35+
description = Material properties
3536
query_type = linear
3637
iohandler.filename = mat_elastic.spatialdb
3738
:::

docs/user/components/spatialdb/SimpleGridAscii.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# SimpleGridAscii
22

33
% WARNING: Do not edit; this is a generated file!
4-
Full name: `spatialdata.spatialdb.SimpleGridAscii`
4+
:Full name: `spatialdata.spatialdb.SimpleGridAscii`
5+
:Journal name: `simplegridascii`
56

67
ASCII writer for a simple grid spatial database.
78

@@ -10,7 +11,7 @@ ASCII writer for a simple grid spatial database.
1011
* `filename`=\<str\>: Name of database file.
1112
- **default value**: ''
1213
- **current value**: '', from {default}
13-
- **validator**: <function validateFilename at 0x11e4ec310>
14+
- **validator**: <function validateFilename at 0x11d1be0d0>
1415

1516
## Example
1617

docs/user/components/spatialdb/SimpleGridDB.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# SimpleGridDB
22

33
% WARNING: Do not edit; this is a generated file!
4-
Full name: `spatialdata.spatialdb.SimpleGridDB`
4+
:Full name: `spatialdata.spatialdb.SimpleGridDB`
5+
:Journal name: `simplegriddb`
56

67
Simple spatial database on a logically rectangular grid aligned with the coordinate axes.
78
Points along the coordinate axes do not have to be uniformly spaced.
@@ -10,14 +11,14 @@ Implements `SpatialDB`.
1011

1112
## Pyre Properties
1213

13-
* `description`=\<str\>: Descriptive description for database.
14+
* `description`=\<str\>: Description for database.
1415
- **default value**: ''
1516
- **current value**: '', from {default}
16-
- **validator**: <function validateDescription at 0x11c2979d0>
17+
- **validator**: <function validateDescription at 0x112cb1dc0>
1718
* `filename`=\<str\>: Name for data file.
1819
- **default value**: ''
1920
- **current value**: '', from {default}
20-
- **validator**: <function validateFilename at 0x11e502c10>
21+
- **validator**: <function validateFilename at 0x11d1d1ca0>
2122
* `query_type`=\<str\>: Type of query to perform.
2223
- **default value**: 'nearest'
2324
- **current value**: 'nearest', from {default}
@@ -29,7 +30,7 @@ Example of setting `SimpleGridDB` Pyre properties and facilities in a parameter
2930

3031
:::{code-block} cfg
3132
[db]
32-
label = Material properties
33+
description = Material properties
3334
filename = mat_elastic.spatialdb
3435
query_type = linear
3536
:::

docs/user/components/spatialdb/SimpleIOAscii.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# SimpleIOAscii
22

33
% WARNING: Do not edit; this is a generated file!
4-
Full name: `spatialdata.spatialdb.SimpleIOAscii`
4+
:Full name: `spatialdata.spatialdb.SimpleIOAscii`
5+
:Journal name: `simpleioascii`
56

67
ASCII writer for a simple spatial database (SimpleDB).
78

@@ -12,7 +13,7 @@ Implements `SimpleIO`.
1213
* `filename`=\<str\>: Name of database file.
1314
- **default value**: ''
1415
- **current value**: '', from {default}
15-
- **validator**: <function validateFilename at 0x11e502040>
16+
- **validator**: <function validateFilename at 0x11d1beca0>
1617

1718
## Example
1819

0 commit comments

Comments
 (0)