<html><head>

<meta name="Generator" content="Novell Groupwise Client (Version 14.2.0  Build: 122092)">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head>
<body style="font: 10pt/normal Segoe UI; font-size-adjust: none; font-stretch: normal;"><div class="GroupWiseMessageBody" id="GroupWiseSection_1513621041000_Jacob.Adams@cachecounty.org_D22C8C8009180000A2B40C0C8530ABB4_"><div>*facepalm*</div><div><br></div><div>Happy Monday, everyone. </div><div><br></div><div>Jake<br></div>
<meta name="qrichtext" content="1"><style type="text/css">
p, li { white-space: pre-wrap; }
</style><div class="GroupWiseMessageBody" id="GroupWiseSection_1513621040000_Jacob.Adams@cachecounty.org_D22C8C8009180000A2B40C0C8530ABB4_"><span class="GroupwiseReplyHeader">>>> Even Rouault <even.rouault@spatialys.com> 12/18/2017 11:04 AM >>><br></span><div>
<div style="margin: 0px; text-indent: 0px; -qt-block-indent: 0; -qt-user-state: 0;">Jake,</div>
<div style="margin: 0px; text-indent: 0px; -qt-block-indent: 0; -qt-paragraph-type: empty;"> </div>
<div style="margin: 0px; text-indent: 0px; -qt-block-indent: 0; -qt-user-state: 0;">> </div>
<div style="margin: 0px; text-indent: 0px; -qt-block-indent: 0; -qt-user-state: 0;">>     mem_s_fh = gdal.GetDriverByName("MEM").Create('', temp_cols, temp_rows,</div>
<div style="margin: 0px; text-indent: 0px; -qt-block-indent: 0; -qt-user-state: 0;">> 1, gdal.GDT_Float32) mem_s_fh.SetGeoTransform([0, cell_size, 0, 0, 0,</div>
<div style="margin: 0px; text-indent: 0px; -qt-block-indent: 0; -qt-user-state: 0;">> cell_size])</div>
<div style="margin: 0px; text-indent: 0px; -qt-block-indent: 0; -qt-user-state: 0;">>     mem_s_fh.SetNoDataValue(s_nodata)</div>
<div style="margin: 0px; text-indent: 0px; -qt-block-indent: 0; -qt-paragraph-type: empty;"> </div>
<div style="margin: 0px; text-indent: 0px; -qt-block-indent: 0; -qt-user-state: 0;">SetNoDataValue() is a rasterband level method, not dataset.</div>
<div style="margin: 0px; text-indent: 0px; -qt-block-indent: 0; -qt-paragraph-type: empty;"> </div>
<div style="margin: 0px; text-indent: 0px; -qt-block-indent: 0; -qt-user-state: 0;">So should be s_band.SetNoDataValue(s_nodata)</div>
<div style="margin: 0px; text-indent: 0px; -qt-block-indent: 0; -qt-paragraph-type: empty;"> </div>
<div style="margin: 0px; text-indent: 0px; -qt-block-indent: 0; -qt-user-state: 0;">>     s_band = mem_s_fh.GetRasterBand(1)</div>
<div style="margin: 0px; text-indent: 0px; -qt-block-indent: 0; -qt-paragraph-type: empty;"> </div>
<div style="margin: 0px; text-indent: 0px; -qt-block-indent: 0; -qt-user-state: 0;">Even</div>
<div style="margin: 0px; text-indent: 0px; -qt-block-indent: 0; -qt-paragraph-type: empty;"> </div>
<div style="margin: 0px; text-indent: 0px; -qt-block-indent: 0; -qt-user-state: 0;">-- </div>
<div style="margin: 0px; text-indent: 0px; -qt-block-indent: 0; -qt-user-state: 0;">Spatialys - Geospatial professional services</div>
<div style="margin: 0px; text-indent: 0px; -qt-block-indent: 0; -qt-user-state: 0;">http://www.spatialys.com</div></div></div></div></body></html>