diff --git a/rastervision_core/rastervision/core/data/raster_source/rasterio_source.py b/rastervision_core/rastervision/core/data/raster_source/rasterio_source.py index acb412145..39714d887 100644 --- a/rastervision_core/rastervision/core/data/raster_source/rasterio_source.py +++ b/rastervision_core/rastervision/core/data/raster_source/rasterio_source.py @@ -190,7 +190,7 @@ def __init__(self, uris (Union[str, List[str]]): One or more URIs of images. If more than one, the images will be mosaiced together using GDAL. raster_transformers (List['RasterTransformer']): RasterTransformers - to use to trasnform chips after they are read. + to use to transform chips after they are read. allow_streaming (bool): If True, read data without downloading the entire file first. Defaults to False. channel_order (Optional[Sequence[int]]): List of indices of diff --git a/rastervision_core/rastervision/core/data/raster_source/rasterio_source_config.py b/rastervision_core/rastervision/core/data/raster_source/rasterio_source_config.py index 249083004..1422f81b0 100644 --- a/rastervision_core/rastervision/core/data/raster_source/rasterio_source_config.py +++ b/rastervision_core/rastervision/core/data/raster_source/rasterio_source_config.py @@ -11,7 +11,7 @@ def rasterio_source_config_upgrader(cfg_dict: dict, version: int) -> dict: y_shift = cfg_dict.get('y_shift', 0) if x_shift != 0 or y_shift != 0: raise ConfigError('x_shift and y_shift are deprecated. ' - 'Use the ShiftTrasnformer instead.') + 'Use the ShiftTransformer instead.') try: del cfg_dict['x_shift'] del cfg_dict['y_shift'] diff --git a/rastervision_core/rastervision/core/data/raster_source/xarray_source.py b/rastervision_core/rastervision/core/data/raster_source/xarray_source.py index da01d87a1..3a7bad590 100644 --- a/rastervision_core/rastervision/core/data/raster_source/xarray_source.py +++ b/rastervision_core/rastervision/core/data/raster_source/xarray_source.py @@ -38,7 +38,7 @@ def __init__(self, crs_transformer (CRSTransformer): A CRSTransformer defining the mapping between pixel and map coords. raster_transformers (List['RasterTransformer']): RasterTransformers - to use to trasnform chips after they are read. + to use to transform chips after they are read. channel_order (Optional[Sequence[int]]): List of indices of channels to extract from raw imagery. Can be a subset of the available channels. If None, all channels available in the