Skip to content

Commit

Permalink
disable test_rpc_param_file_crs
Browse files Browse the repository at this point in the history
  • Loading branch information
dugalh committed Dec 24, 2024
1 parent dff2e1f commit 37ea369
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1326,7 +1326,7 @@ def test_rpc_image_crs(rpc_image_file: Path, ngi_dem_file: Path, tmp_path: Path,
assert im.crs == rio.CRS.from_string(crs)


def test_rpc_param_file_crs(
def _test_rpc_param_file_crs(
rpc_image_file: Path,
ngi_dem_file: Path,
rpc_param_file: Path,
Expand All @@ -1336,6 +1336,9 @@ def test_rpc_param_file_crs(
"""Test ``oty rpc`` with ``--crs`` and a ``--rpc-param`` RPC parameter file, generates orthos
with the correct CRS.
"""
# TODO: When this is run directly after test_rpc_image_crs in a conda environment with
# rasterio 1.4.3 and libgdal 1.3.10, there is an intermittent seg fault. Other than seeing
# that this happens in PROJ, I have not gotten far with debugging.
crs = 'EPSG:3857'
cli_str = (
f'rpc --dem {ngi_dem_file} --rpc-param {rpc_param_file} --crs {crs} --res 30 '
Expand Down

0 comments on commit 37ea369

Please sign in to comment.