Project

General

Profile

using expr to accomplish the same thing as remapbil, remapbic

Added by Jason Lambert 4 months ago

Hello

I am trying to use some custom interpolations around some boundary areas.
I am curious if there are examples out there that let you do a remapbil or remapbic but utilizing the expr operator.
this would be a great starting place for what i am trying to accomplish.


Replies (2)

RE: using expr to accomplish the same thing as remapbil, remapbic - Added by Ralf Mueller 4 months ago

Hi Jason!

In my opinion interpolation consists of separate tasks:

  1. find relevant source points for the target points
  2. compute interpolations weights
  3. apply the weights on the source by a matrix-vector-operation to compute the value on the target point

All tasks highly depend on the interpolation method. in-fact some methods might be excluded already.

Methods offered by the expr operator module do not include point search, especially for multiple grids. same for free-form-matrix-vector operations and connectivity of cells. I don't thing that this module can help you, sry.

Depending on what exactly you want to do, a post-processing of data might be sufficient (just guessing here). In case you need full fledged interpolation, YAC might be helpful. Parts of it is used in CDO and it offers a so-called interpolation stack, which lets the user choose another interpolation if the initial one was not successful on the target cell.

I think I don;t know enough about ur problem to help better

best wishes
ralf

    (1-2/2)