From 5b66e0193cb233382621156ce5fd2eee9d30b859 Mon Sep 17 00:00:00 2001 From: isaaccorley <22203655+isaaccorley@users.noreply.github.com> Date: Sat, 16 Oct 2021 20:31:21 -0500 Subject: [PATCH] updated docstrings --- torchgeo/datasets/bigearthnet.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/torchgeo/datasets/bigearthnet.py b/torchgeo/datasets/bigearthnet.py index 599acb54c00..0235fd8942e 100644 --- a/torchgeo/datasets/bigearthnet.py +++ b/torchgeo/datasets/bigearthnet.py @@ -49,6 +49,7 @@ class BigEarthNet(VisionDataset): * Sentinel-1 bands: (VV, VH) * Sentinel-2 bands: (B01, B02, B03, B04, B05, B06, B07, B08, B8A, B09, B11, B12) * All bands: (VV, VH, B01, B02, B03, B04, B05, B06, B07, B08, B8A, B09, B11, B12) + * Sentinel-2 bands are of different spatial resolutions and upsampled to 10m Dataset classes: @@ -274,7 +275,7 @@ def _load_image(self, index: int) -> Tensor: paths = self._load_paths(index) images = [] for path in paths: - # Images are of different spatial resolutions + # Bands are of different spatial resolutions # Resample to (120, 120) with rasterio.open(path) as dataset: array = dataset.read(