Fred,

Is there another parameter (say, a "cell type") that could provide a more robust source of the invalid flag? If so you could use convert this to your field's "Invalid connections" component.

Warning: Slab often crashes when given invalid connections (see bug list).

Kent

--On Friday, June 25, 2004 10:12:47 AM -0700 Fred Ramsing <[EMAIL PROTECTED]> wrote:

Hi all,

Is there any way besides the Include module to mark data as invalid?  I
have a list of invalid values that fall close to or within the data range,
but I don't want to convert the values.

For example, in the MODFLOW data set I'm reading:

        -999.0 represents inactive (invalid) cells,
         999.0 represents dry cells,
and     9999.0 represents dry stream cells in inactive cells.

Obviously, I should use values that don't fall within my range of data,
but I have no control over that.  Right now I convert each of these values
to -9999.0, -9998.0, and -9997.0 respectively using a series of Compute
modules, and then use Include with a minimum of -9996.0 to mark these as
invalid.

Is there a simpler, more efficient way to do this?  Possibly with a
ScalarList or a Compute equation?  Something like

        new_field = Compute( "$0 In $1 ? Invalid : $0", field, list);

TIA,


Fred Ramsing

Reply via email to