Skip to content

Commit

Permalink
Create writeRaster.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yotarazona committed Mar 11, 2024
1 parent e53c40d commit fc43ac3
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions docs/writeRaster.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<!-- markdownlint-disable -->

<a href="..\scikeo\writeRaster.py#L0"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>

# <kbd>module</kbd> `writeRaster`





---

<a href="..\scikeo\writeRaster.py#L6"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>

## <kbd>function</kbd> `writeRaster`

```python
writeRaster(arr, image, filename=None, filepath=None, n=1)
```

This algorithm allows to save array images to raster format (.tif).



**Parameters:**



- <b>`arr`</b>: Array object with 2d (rows and cols) or 3d (rows, cols, bands).


- <b>`image`</b>: Optical images. It must be read by rasterio.open().


- <b>`filename`</b>: The image name to be saved.


- <b>`filepath`</b>: The path which the image will be stored.


- <b>`n`</b>: Number of images to be saved.

Return: A raster in your filepath.




---

_This file was automatically generated via [lazydocs](https://github.com/ml-tooling/lazydocs)._

0 comments on commit fc43ac3

Please sign in to comment.