Skip to content

Commit c10d691

Browse files
committed
Add example script
1 parent fa7e6c2 commit c10d691

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

write_drillcore.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,16 @@
1616

1717
for hole in drill_holes:
1818
for method in methods:
19-
metadata["metadata"]["title"] = (
20-
f"Hole {hole} - {method} Imaging spectroscopy of the Oman Drilling Project mantle"
21-
)
19+
metadata["metadata"][
20+
"title"
21+
] = f"Hole {hole} - {method} Imaging spectroscopy of the Oman Drilling Project mantle"
2222
if method == "VNIR":
2323
image = "visible and near-infrared (VNIR)"
2424
if method == "SWIR":
2525
image = "shortwave infrared (SWIR)"
26-
metadata["metadata"]["description"] = f"""This record contains {image} data of the
26+
metadata["metadata"][
27+
"description"
28+
] = f"""This record contains {image} data of the
2729
archive halves of the borehole {hole} core recovered by the Integrated
2830
International Continental Scientific Drilling Project (ICDP) Oman Drilling Project (OmanDP; Kelemen et al., 2020).
2931

0 commit comments

Comments
 (0)