Update small mistake of attributeerror (#2162)

This commit is contained in:
Sieger Falkena 2024-07-12 14:28:33 +02:00 коммит произвёл GitHub
Родитель b6e22fc4fe
Коммит ff66eba3c4
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -20,7 +20,7 @@ with rio.open(os.path.join(ROOT, FILENAME), "r") as src:
dtype = src.profile["dtype"]
Z = np.random.randint(np.iinfo(dtype).max, size=(SIZE, SIZE), dtype=dtype)
with rio.open(FILENAME, "w", **src.profile) as dst:
for i in dst.profile.indexes:
for i in dst.indexes:
dst.write(Z, i)
```