resample_raster
Resample raster datasets by adjusting resolution with a scale factor using methods like nearest neighbor, bilinear, or cubic resampling. Save outputs to predefined paths.
Instructions
Resample a raster dataset by a scale factor and save the result.
Parameters:
- source: local path or HTTPS URL of the source raster.
- scale_factor: multiplicative factor for width/height
(e.g., 0.5 to halve resolution, 2.0 to double).
- resampling: resampling method name: "nearest", "bilinear", "cubic", etc.
- destination: local filesystem path for the resampled raster.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
destination | Yes | ||
resampling | Yes | ||
scale_factor | Yes | ||
source | Yes |
Input Schema (JSON Schema)
{
"properties": {
"destination": {
"title": "Destination",
"type": "string"
},
"resampling": {
"title": "Resampling",
"type": "string"
},
"scale_factor": {
"title": "Scale Factor",
"type": "number"
},
"source": {
"title": "Source",
"type": "string"
}
},
"required": [
"source",
"scale_factor",
"resampling",
"destination"
],
"title": "resample_rasterArguments",
"type": "object"
}