DVscat_bin
Synopsis
Places scattered data into a uniform mesh.
module DVscat_bin {
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
&in (Grid+Node_Data)
A reference to a field containing any type of mesh or grid with node data
rndim
number of dimensions in the output field
rdims
dimensions of the output field
min_xyz
minimun extent of the output field
max_xyz
maximun extent of the output field
Output
out (Mesh_Unif+Node_Data)
File
v/dv.v
Example
none