Skip to content

Commit 1c91567

Browse files
committed
docstrings create_pam_metadata
1 parent bbda8df commit 1c91567

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/silvimetric/resources/storage.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,14 @@ def build_pam_metadata(
206206
data_type: str,
207207
nbits: int
208208
) -> str:
209+
"""
210+
Create ElementTree containing the metadata for the DataFrame.
211+
212+
:param geotransform: Transform of the metadata
213+
:param data_type: Type of MDI metadata
214+
:param nbits: Number of bits for MDI metadata
215+
:return: String definition of an ElementTree containing the metadata.
216+
"""
209217
tb = ET.TreeBuilder()
210218

211219
tb.start("PAMDataset", {})

0 commit comments

Comments
 (0)