startR (version 0.0.1)

CDORemapper: CDO Remap Data Transformation for 'startR'

Description

This is a transform function that uses CDO software to remap longitude-latitude data subsets onto a specified target grid, intended for use as parameter transform in a call to the function Start() in the package 'startR'. This function complies with the input/output interface required by Start() defined in the documentation for the parameter transform of that function.

This function uses the function CDORemap() in the package 's2dverification' to perform the interpolations and hence requires having CDO installed in the machine.

Usage

CDORemapper(data_array, variables, file_selectors, ...)

Arguments

data_array

Input data array to be transformed. See details in the documentation of the parameter transform of the function Start().

variables

Auxiliary variables required for the transformation, automatically provided by Start(). See details in the documentation of the parameter transform of the function Start().

file_selectors

Information on the path of the file the input data array comes from. See details in the documentation of the parameter transform of the function Start().

Additional parameters to adjust the transform process, as provided in the parameter transform_params in a call to the function Start(). See details in the documentation of the parameter transform of the function Start().

Value

An array with the same amount of dimensions as the input data array, potentially with different sizes, and potentially with the attribute 'variables' with additional auxiliary data. See details in the documentation of the parameter transform of the function Start().

See Also

CDORemap

Examples

Run this code
# NOT RUN {
## Check https://earth.bsc.es/gitlab/es/startR for step-by-step examples 
## of Start() that use CDORemapper().
# }

Run the code above in your browser using DataLab