Open simjoh opened 5 months ago
@simjoh please see below:
@shenganzhan Thanks for your input. I've changed the code by setting resampling in getConfiguration(). But If it is suggested to set the propery in .getConfiguration() and updateRasterInfo(), then I think 'Resampling' is needed in updateRasterInfo.
Regarding default property my exceprience with the current dataset is that the default is False. Maybe it is a property of the dataset but I try to ovverride inheritence of properties by
'inheritProperties': 1,# inherit just PixelType
'invalidateProperties': 1| 2 | 4 |8, # invalidate histogram and statistics because we are modifying pixel values
In my first post I also mentioned the method -selectRasters() how do I use that. I don't get it to run in my prf.
@simjoh selectRasters works on multiple raster inputs
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.
kwargs['output_info']['Resampling'] = False
has some effect but notkwargs['output_info']['resampling'] = False
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?