Skip to content

Commit

Permalink
temporarily set default threads to 1 to avoid threading env errors
Browse files Browse the repository at this point in the history
  • Loading branch information
perrygeo committed Mar 22, 2016
1 parent 10b2716 commit 6a86710
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions rasterio/rio/warp.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ def x_dst_bounds_handler(ctx, param, value):
@click.option('--resampling', type=click.Choice([r.name for r in Resampling]),
default='nearest', help="Resampling method.",
show_default=True)
@click.option('--threads', type=int, default=2,
@click.option('--threads', type=int, default=1,
help='Number of processing threads.')
@click.option('--check-invert-proj', type=bool, default=True,
help='Constrain output extent to valid coordinate region in dst-crs')
help='Constrain output to valid coordinate region in dst-crs')
@options.force_overwrite_opt
@options.creation_options
@click.pass_context
Expand Down
2 changes: 1 addition & 1 deletion rasterio/warp.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def calculate_default_transform(
----
Must be called within a raster.drivers() context
Some behavior determined by the
Some behavior of this function is determined by the
CHECK_WITH_INVERT_PROJ environment variable
YES: constrain output raster to extents that can be inverted
avoids visual artifacts and coordinate discontinuties.
Expand Down

0 comments on commit 6a86710

Please sign in to comment.