![]() |
![]() |
![]() |
![]() |
DVscat_bin
Synopsis
Places scattered data into a uniform mesh.
module DVscat_bin { /* interpolates scattered
data into uniform mesh */
Grid+Node_Data+Iparam &in { /* input field */
nnodes+req;
};
int+Iparam rndim;
int+Iparam rdims[rndim];
float+Iparam min_xyz[rndim]
=> in.coordinates.min_vec[0:rndim-1];
float+Iparam max_xyz[rndim]
=> in.coordinates.max_vec[0:rndim-1];
float+notify+IPort2 null_value;
Mesh_Unif+Node_Data+Oparam out { /* output field */
ndim => rndim;
dims => rdims;
nspace => rndim;
};
method+notify_val+notify_inst scat_bin_update<status=1>
= "DVscat_bin_update";
};Description
scat_bin converts a scattered grid into a uniform mesh using a binning algorithm. It does not interpolate to fill in missing values. It fills in missing node values with NULL. It works on all node data components of the input field. A "scattered grid" has a mesh made up of disconnected nodes in space. Connectivity information, if any, is ignored. The grid is "scattered" because there is not data for every latitude, longitude, and elevation that exists.
Input
Output
Example
File
See also
![]() |
![]() |
![]() |
![]() |