Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in documentation of GridMapping.scale method corrected #1087

Merged
merged 1 commit into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@

* The function `xcube.core.resample.resample_in_space()` now always operates
lazily and therefore supports chunk-wise, parallel processing. (#1

* The explaination of the parameter `xy_scale` in the method
`xcube.core.gridmapping.GridMapping.scale` has been corrected. (#1086)

## Changes in 1.7.1

Expand Down
6 changes: 3 additions & 3 deletions xcube/core/gridmapping/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,10 +206,10 @@ def scale(
) -> "GridMapping":
"""Derive a scaled version of this regular grid mapping.

Scaling factors lower than one correspond to up-scaling
Scaling factors larger than one correspond to up-scaling
(pixels sizes decrease, image size increases).

Scaling factors larger than one correspond to down-scaling.
Scaling factors lower than one correspond to down-scaling.
(pixels sizes increase, image size decreases).

Args:
Expand Down Expand Up @@ -729,7 +729,7 @@ def transform(
Args:
crs: The new spatial coordinate reference system.
xy_res: Optional resolution in x- and y-directions.
If given, speeds up the method by avoiding time-consuming
If given, speeds up the method by avoiding time-consuming
spatial resolution estimation.
tile_size: Optional new tile size.
xy_var_names: Optional new coordinate names.
Expand Down
Loading