Changes between Version 5 and Version 6 of Ticket #6404, comment 2


Ignore:
Timestamp:
Mar 7, 2016, 1:03:06 PM (8 years ago)
Author:
aly

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6404, comment 2

    v5 v6  
    1 In my case, I accidently created a large array shape=(3,3), while I have (1,1). However, excess elements should be set to no data since I set nodata as -9999.0. ds.GetRasterBand(1).SetNoDataValue(-9999.0). Because this is a temperature raster array, 0 has a meaning of 0 Celcius while no data has no meaning.
     1In my case, I accidently created a large array shape=(3,3), while I have (1,1). However, excess elements should be set to no data since I set nodata as -9999.0. Because this is a temperature raster array, 0 has a meaning of 0 Celcius while no data has no meaning.
    22
    33try this.