Esri / Esri/raster-functions

Clearification regarding "resampling" in wiki needed

Open
#85 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
204
Forks
80
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.