Tags: DHI/terracotta
Tags
make terracotta compatible with python 3.13 (#364) * make terracotta compatible with python 3.13 * pin marshmallow to <4 * make terracotta compatible with python 3.13 * ignore sqlite3 resource warning * roll back marshmallow pin * also upgrade conda tests --------- Co-authored-by: Dion Häfner <[email protected]>
Optional gamma correction parameter (#350) * add gamma factor parameter * gamma correction for both singleband and rgb * gamma_factor invalid values * include singleband test * add valid rgb gamma correction test * test invalid gamma factor cases * test singleband gamma correction * test both gamma correction and stretch * use color-operations for gamma implementation and utils * use color_operations for custom color transforms * remove gamma correction references * color transform for singleband and rgb * normalize bands before possible color transform * fix docstring * remove unused import * black * fix overflow * contrast stretch first to user defined or default range * remove unused variables * fix applying color ops * update cache action version * update the rest of the cache operations * validate color operations against a test array * test fields * test image * test rgb and singleband identity color transform * remask array for saturation * final nits * add color correction tutorial --------- Co-authored-by: Dion Häfner <[email protected]>
Allows RasterIO to read GeoTiffs from S3 object stores requiring auth… …entication (#354) * Adding support for AWS_ACCESS_KEY and AWS_SECRET_KEY as passthrough connection strings for reading GeoTiffs from an S3 endpoint that requires auth * Updating the way that the AWSSession from boto3 is created for the rasterio.open() method * Moving the AWS Session creation into a memoized function (default lrc cache) * Duck typed get_aws_session for parsing connection variables from settings * Added duck typing for parsing S3 connection params from settings file * Update terracotta/drivers/geotiff_raster_store.py check of RASTER_AWS_S3_ENDPOINT is None before adding url to rasterio kwargs Co-authored-by: Dion Häfner <[email protected]> * Passing in AWS_S3_ENDPOINT to the cached get_aws_session * cleaning up pre-commit issues * apply pre-commit --------- Co-authored-by: Dion Häfner <[email protected]> Co-authored-by: Dion Häfner <[email protected]>
Fix "Terracotta Connect" 403 Error on cloudflare-protected servers. (#… …332) * Add browser-mimicking user-agent headers to the connect requests * Remove accept header * Add reason for this header. --------- Co-authored-by: Pieter Tolsma <[email protected]>
Add rgb_range percentile support (#322) Co-authored-by: Dion Häfner <[email protected]> Co-authored-by: Dion Häfner <[email protected]>
PreviousNext