[Gdal-dev] problems warping a netcdf file

Markus Neteler neteler at osgeo.org
Fri Nov 14 12:13:16 EST 2008


On Fri, Nov 14, 2008 at 6:06 PM, edfialk <wef1 at cec.wustl.edu> wrote:
>
> Hello, I'm fairly new to reprojection and my experience with gdal is limited,
> so I'll do my best to keep up.  I have tried searching through a number of
> messages without finding anything quite like my problem.
>
> I've been completely unsuccessful trying to reproject a netcdf file for some
> time now and I'm becoming fairly desperate for some help.  I'm going for
> changing "Lambert Conformal with a perfect sphere geoid with earth
> radius=6370km centered at 40N, 97W with standard latitudes at 33N, 45N to
> geographic lat, long (flat) projection."
>
> First, a little gdal info on one particular subdataset for the netcdf file:
> Warning 1: No UNIDATA NC_GLOBAL:Conventions attribute
> Driver: netCDF/Network Common Data Format
> Size is 148, 112
> Coordinate System is `'
> ...
> ad then coordinates, cdate, ctime, xcent, ycent, etc. etc.  I was wondering
> if NC_Global or the coordinate system being `' might cause a problem.

This has been recently fixed in SVN-trunk, but...

> and then, running the command (going to mercator just to get a successful
> reprojection, I'll deal with lat/lon later):

... gdalwarp still fails. See
 http://trac.osgeo.org/gdal/ticket/2584

Somewhere the coordinates get lost, see last two entries in the
trac report.

best,
Markus


More information about the gdal-dev mailing list