3 | | For this reason, the buffers on memory file must be initialized to no data value as in geotiff only if no data value is set prioir. 0 has a meaning so in my case, when I have temperature data, you initialize the raster with 0 Celcius instead of no data value. You are right when I don't set no data value explicitly. I can not fill the array on memory file with -9999 because I don't know the output array shape before reprojection. It is being calculated by reproject function. |
| 3 | For this reason, the buffers on memory file must be initialized to no data value as in geotiff only if no data value is set by the user. You are only right when I don't set no data value explicitly. 0 has a meaning so in my case, when I have temperature data, you initialize the raster with 0 Celcius instead of no data value. |
| 4 | |
| 5 | Besides, I can not fill the array on memory file with -9999 because I don't know the output array shape before reprojection. It is being calculated by reproject function. |