write reg - write an ascii version of an regular field in the "LBL" field file format.
Name write reg
render
field uniform
filename
The write reg module will write an ASCII representation of an input uniform field to a file. The file format is the "LBL" uniform field file format, and is readable by the "read uniform" input module. This module is useful for looking at uniform fields, for example, after some processing step in a data flow network. INPUTS field (any type, size, dimensionality) uniform PARAMETERS filename - a browser is supplied to let the user specify the filename to which the ascii representation will be written.
1. The first example shows a network in which a uniform field is read in. Next, a filtering operation is performed (thresh), then the converted field is written back out to a file. READ UNIFORM | THRESH | WRITE REG
read uniform
The data values in the field are written out in floating point format. The input data field must be in floating point format. Lawrence Berkeley Laboratory 16 Apr 1991 Wes Bethel