gdalwarp creates correct ENVI hdr but incomplete raster
|Reported by:||piyushrpt||Owned by:||warmerdam|
I'm trying to warp some swath data using geolocation arrays. All input data is stored in flat binary files with appropriate VRTs. The methodology works for most cases but there were a couple of instances where it resulted in incomplete raster files (missing lines at the bottom).
The resulting mapRaster.dat.hdr is correct with the expected dimensions, but the generated mapRaster.dat has missing lines. One thing to note is that the missing lines should contain nodata (0) and lie outside the support of the geoloc arrays.
I can overcome the issue in two ways:
- Create a Geotiff and then translate it to an ENVI file. This worked fine.
- Increase working memory using "-wm 2000" and this worked as well.
Looks like there could be issues with nodata regions and memory settings when using the ENVI driver to warp raster files. I'm also attaching two log files generated with debug turned on - one for default call using gdalwarp and one using more working memory if it helps.
Change History (6)
comment:1 by , 6 years ago
|Summary:||gdalwarp creates correct ENVI hdr correct but incomplete raster → gdalwarp creates correct ENVI hdr but incomplete raster|