Skip to content

Clearification regarding "resampling" in wiki needed #85

@simjoh

Description

@simjoh

In the documentation on the wiki page of this repo in the section updateRasterInfo() there are some information about the keyword "resampling". I've been playing a little with this parameter while trying to to get a python raster function to behave as we want. I've a few questions regarding this parameter.

  1. Should the parameter name be "Resampling" instead of "resampling"? Using kwargs['output_info']['Resampling'] = False has some effect but not kwargs['output_info']['resampling'] = False
  2. The documentation says that the default value of resampling is False but I've the experience of the opposite. I'm aware of the 'inheritProperties' and 'invalidateProperties' parameters of get configuration. But I'm not able to configure those so that False becomes the default value of 'Resampling'.
  3. In getConfiguration() i've found that adding a keword of "Resampling" or "resampling" has effect on kwargs['output_info']['Resampling'] in updateRasterInfo() . What is the effect of setting this paramter to True/False? Is it the same as changing it in

On the wiki page I also founds some information regarding selectRasters(). But I can't trigger this to run. Is it possilbe to get it to run on a single raster dataset?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions