Skip to content

resample_spatial: resolution=0 preserves resolution? #567

Description

@soxofaan

from

"name": "resolution",
"description": "Resamples the data cube to the target resolution, which can be specified either as separate values for x and y or as a single value for both axes. Specified in the units of the target projection. Doesn't change the resolution by default (`0`).",

Doesn't change the resolution by default (0).

What does that practically mean?
When changing projection in the general case (e.g. say from UTM to lonlat), you can not "preserve" the resolution in a meaningful way because the transformation between the pixel grids is fundamentally non-linear.

It would indeed be possible to approximately preserve resolution in a small enough local area, but the current description does not reflect all the caveats and subtleties that are in play here.

e.g. do you aim to preserve approximate resolution in the center of the area of interest? Do you aim to preserve GSD in some sense? Do you aim to avoid up-sampling or down-sampling?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions