Skip to content

Commit

Permalink
geoutils.py: force BIGTIFF (#526)
Browse files Browse the repository at this point in the history
* geoutils.py: force BIGTIFF

* adding total to tqdm

* add the template

* add doc

* Mikhail fix

* Mikhail change

* freeze the env

* fix freezed the env

* update the env

* remove change in the env

* Fix gh actions (#530)

* an update to handle uint16 data

* a fix for handling the OGR geometry type "GEOMETRYCOLLECTION"

* added to gha.yml:
conda config --set channel_priority strict

* removed to gha.yml:
conda config --set channel_priority strict

* python 3.9 to 3.10 in gha.yml:

* python 3.9 to 3.10 in gha.yml:

* python 3.9 to 3.10 in gha.yml:

* python 3.9 to 3.10 in gha.yml:
deleted pytorch-cpu

* python 3.9 to 3.10 in gha.yml:
conda set priority

* python 3.9 in env.yml

* dependencies review

* dependencies review

* dependencies review

* initial but 3.9 in env.yml

* p3.9, no docker-py

* p3.9, updated versions

* p3.9, recreated requirements.

* p3.9, recreated requirements.

* p3.9, recreated requirements, all in pip

* p3.10, recreated requirements, all in pip, update conda

* p3.10, recreated requirements, all in pip, update conda + coverage

* p3.10, recreated requirements, all in pip, update conda + coverage

* p3.10, recreated requirements, all in pip, update conda + coverage + pip

* p3.10, recreated requirements, all in pip, update conda + coverage + pip

* p3.10, recreated requirements, all in pip, update conda + coverage + pip + gdal + ptl

* p3.10, recreated requirements, all in pip

* p3.10, recreated requirements, all in pip

* p3.10, recreated requirements, all in pip

* p3.10, recreated requirements, all in pip, no pytorch-cpu

* p3.10, recreated requirements, all in pip, torch-cu

* p3.10, recreated requirements, all in pip, torch-cpu url

* p3.10, recreated requirements, all in pip, torch-conda

* p3.10, recreated requirements, all in pip, torch-conda

* p3.10, recreated requirements, updated

* p3.10, recreated requirements, updated2

* p3.10, final version

* p3.10, final version no-cpu

* p3.10, final version no-cpu v2

* removed commented rows

* level to the new gh action

* geoutils.py: force BIGTIFF

* geoutils.py: force BIGTIFF

* adding total to tqdm

* Mikhail change

---------

Co-authored-by: rtavon <[email protected]>
Co-authored-by: CharlesAuthier <[email protected]>
Co-authored-by: Mikhail Sokolov <[email protected]>
  • Loading branch information
4 people authored Jul 6, 2023
1 parent ef1ce76 commit 1f1d2ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions utils/geoutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ def create_new_raster_from_base(input_raster, output_raster, write_array, dtype
crs=src.crs,
dtype=dtype,
transform=src.transform,
tiled=True,
blockxsize=256,
blockysize=256,
BIGTIFF='YES',
compress='lzw') as dst:
dst.write(write_array)
# add tag to transmit more information
Expand Down

0 comments on commit 1f1d2ff

Please sign in to comment.