Skip to content

Commit fefe104

Browse files
authored
Release 3.9.4 with patch, Merge pull request #500 from sentinel-hub/develop
Add tiny patch for docs included for 3.9.4 release
2 parents 8f3f70e + 593459c commit fefe104

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

sentinelhub/base.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,8 @@ def _filter_repeating_items(download_list: list[DownloadRequest]) -> tuple[list[
214214
def _preprocess_request(self, save_data: bool, return_data: bool) -> None:
215215
"""Prepares requests for download and creates empty folders
216216
217-
:param save_data: Tells whether to save data or not
218-
:param return_data: Tells whether to return data or not
217+
:param save_data: Save data
218+
:param return_data: Return data
219219
"""
220220
if not self.is_valid_request():
221221
raise ValueError("Cannot obtain data because request is invalid")

sentinelhub/geo_utils.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def utm_to_pixel(
137137
:param east: east coordinate of point
138138
:param north: north coordinate of point
139139
:param transform: georeferencing transform of the image, e.g. `(x_upper_left, res_x, 0, y_upper_left, 0, -res_y)`
140-
:param truncate: Whether to truncate pixel coordinates. Default is `True`
140+
:param truncate: Truncate pixel coordinates. Default is `True`
141141
:return: row and column pixel image coordinates
142142
"""
143143
column = (east - transform[0]) / transform[1]
@@ -171,7 +171,7 @@ def wgs84_to_pixel(
171171
:param lat: latitude of point
172172
:param transform: georeferencing transform of the image, e.g. `(x_upper_left, res_x, 0, y_upper_left, 0, -res_y)`
173173
:param utm_epsg: UTM coordinate reference system enum constants
174-
:param truncate: Whether to truncate pixel coordinates. Default is `True`
174+
:param truncate: Truncate pixel coordinates. Default is `True`
175175
:return: row and column pixel image coordinates
176176
"""
177177
east, north = wgs84_to_utm(lng, lat, utm_epsg)

sentinelhub/io_utils.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ def write_data( # noqa: C901
109109
:param filename: name of file to write data to
110110
:param data: image data to write to file
111111
:param data_format: format of output file. Default is `None`
112-
:param compress: whether to compress data or not. Default is `False`
113-
:param add: whether to append to existing file or not. Only supported for TXT. Default is `False`
112+
:param compress: Compress data. Default is `False`
113+
:param add: Append to existing file. Only supported for TXT. Default is `False`
114114
:raises: exception if numpy format is not supported or file cannot be written
115115
"""
116116
_create_parent_folder(filename)

0 commit comments

Comments
 (0)