Metadata-Version: 2.1
Name: scgt
Version: 0.0.10
Summary: UC Santa Cruz Geographical Toolkit
Author-email: Jasmine Tai <jctai@ucsc.edu>, Natalie Valett <nvalett@ucsc.edu>, Luca de Alfaro <luca@dealfaro.com>
License: Copyright 2023, The Regents of the University of California. 
        
        Redistribution and use in source and binary forms, with or without modification, 
        are permitted provided that the following conditions are met:
        
        1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
        
        2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
        
        THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
        
Project-URL: Homepage, https://github.com/ecoscape-earth/scgt
Project-URL: Bug Tracker, https://github.com/ecoscape-earth/scgt/issues
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE.md
Requires-Dist: GDAL >=3.0.0
Requires-Dist: matplotlib >=3.5.3
Requires-Dist: numpy >=1.20.3
Requires-Dist: rasterio >=1.2.10
Requires-Dist: scipy >=1.7.3

# SCGT

## Santa Cruz Geographical Toolkit

This library provides convenience functions to read and write GeoTiff files, 
including iterating over their tiles. 

**Authors:**

* Luca de Alfaro (luca@ucsc.edu)
* Jasmine Tai (cjtai@ucsc.edu)
* Natalie Valett (nvalett@ucsc.edu)
* Coen Adler (ctadler@ucsc.edu)
* Artie Nazarov (anazarov@ucsc.edu)

## Basic Usage

```
from scgt import GeoTiff, Tile, Reader

gt_in = GeoTiff("somefile.tif")
reader = gt.get_reader(b=border_size, w=block_size, h=block_size)
with gt_in.clone_shape("outputfile.tif") as gt_out:
    for tile in reader:
        new_tile = process(tile)
        gt_out.set_tile(new_tile)
```

For more details, see [the documentation](Documentation.md).

