<div dir="ltr">I am experiencing strange behavior when reprojecting/converting a GRIB2 file to NetCDF using gdalwarp, where the resulting NetCDF file is missing lots of data (or possibly being set incorrectly to NoData) west of a certain longitude.  However, if I instead reproject from GRIB2 to an intermediate format (e.g. GeoTIFF), then convert to NetCDF using gdal_translate, the result is correct.<div>
<br></div><div>The source projection is the weather service's custom lambert conformal, and the destination is WGS84.  I'm using the following command:</div><div><br></div><div>    gdalwarp -wm 256 -of netcdf -srcnodata 9999.0 -dstnodata 9999.0 -t_srs EPSG:4326 conus-wspd-01.bin <a href="http://conus-wspd-01.nc">conus-wspd-01.nc</a><br>
</div><div><br></div><div>GDAL versions tested were 1.9.2 and 1.10.</div><div><br></div><div>Screenshot of original GRIB2 file (first GRIB message) as displayed in ArcMap: <a href="http://jetstreak.unh.edu/gdal/full.png">http://jetstreak.unh.edu/gdal/full.png</a></div>
<div>Screenshot of resulting NetCDF file (variable Band1) as displayed in ncBrowse: <a href="http://jetstreak.unh.edu/gdal/cropped.png">http://jetstreak.unh.edu/gdal/cropped.png</a></div><div><br></div><div>Original GRIB2 file (6.3mb): <a href="http://jetstreak.unh.edu/gdal/conus-wspd-01.bin">http://jetstreak.unh.edu/gdal/conus-wspd-01.bin</a></div>
<div>Resulting NetCDF file (171mb): <a href="http://jetstreak.unh.edu/gdal/conus-wspd-01.nc">http://jetstreak.unh.edu/gdal/conus-wspd-01.nc</a></div><div><br></div><div>Anyone run into a similar problem or have any ideas for how to resolve this?</div>
<div><br></div><div>Thanks,</div><div>Jason</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>
</div></div>