/usr/lib/python3/dist-packages/rasterio/tools/mask.py is in python3-rasterio 0.36.0-2build5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | """
DEPRECATED; To be removed in 1.0
"""
from __future__ import absolute_import
import rasterio.mask
def mask(*args, **kwargs):
import warnings
warnings.warn("Deprecated; Use rasterio.mask instead", DeprecationWarning)
return rasterio.mask.mask(*args, **kwargs)
|