Class: NetCDF_Grid | VolumeData/netcdf/netcdf_grid.py | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Read NetCDF 3 dimensional array data.Use variables or global attributes xyz_origin and xyz_step, each triples of floats, to define embedding of 3D data matrices in xyz coordinate space. 3D array variables can have any name. Every 3D array is considered. Each becomes a separate component. If they don't all have the same size then one size is chosen arbitrarily and only 3D arrays with that size are used. A color can be associated with each 3D array saved as an rgba value
as an attribute called rgba or with a variable with name matching the
array name with NetCDF doesn't have unsigned integral types. To indicate a 3D integer array is supposed to be unsigned save the Numeric Python typecode in an attribute called numeric_python_typecode or in a variable named the same as the 3D array with "_typecode" appended.
|