360fc6fbe7509cc50ae13fe4b952005cbfabd13e,Reference.py,Reference,updatePixels,#Reference#,117

Before Change


        // 
        // The pixelBlocks dictionary does not contain scalars. 
        inputBlock = pixelBlocks["raster_pixels"]                  // get the input raster pixel block.
        inputBlocks = pixelBlocks["rasters_pixels"]                  // get the input raster pixel block.
        red = np.array(inblock[0], dtype="float")                   // extractbandids ensures first band is Red.
        ir = np.array(inblock[1], dtype="float")                    // extractbandids ensures second band is Infrared.

After Change


        // This method can update pixelBlocks["output_pixels"] and pixelBlocks["output_mask"]. 
        // Note: the pixelBlocks dictionary does not contain any scalars parameters.

        if not pixelBlocks.has_key("raster_pixels"):
          raise Exception("No input raster was provided.")

        inputBlock = pixelBlocks["raster_pixels"]           // get pixels of an raster
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: Esri/raster-functions
Commit Name: 360fc6fbe7509cc50ae13fe4b952005cbfabd13e
Time: 2014-08-27
Author: akferoz@esri.com
File Name: Reference.py
Class Name: Reference
Method Name: updatePixels


Project Name: Esri/raster-functions
Commit Name: 54efdc47f1d5b2952033539fa157e2c3b8b2d586
Time: 2015-05-26
Author: akferoz@esri.com
File Name: functions/KeyMetadata.py
Class Name: KeyMetadata
Method Name: updateKeyMetadata


Project Name: Esri/raster-functions
Commit Name: 3a09c2ddfdb1c586f6704363676d6f202c40e65d
Time: 2015-05-26
Author: rsumbaly@esri.com
File Name: functions/KeyMetadata.py
Class Name: KeyMetadata
Method Name: updateKeyMetadata