Hi Vishal,
I do not have any problems with the gdal netcdf driver...
The example netcdf files from the unidata website work well for example.
I am using GDAL 1.5.2 with the latest netcdf 4.0 library.

Maarten

Vishal Mehta schreef:
Hi Frank,

I have tried with 2 netcdf files from different sites - same error 
'segmentation fault'

the first was 60mb, the second was small !260kb.

does anyone in the list have this problem with gdal and netcdf data? earlier 
posts seemed to suggest a conflict between netcdf and hdf4, but i did not 
compile with hdf support so that shouldnt be a problem i thought..

thanks,
vishal


__________________
From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Frank Warmerdam [EMAIL 
PROTECTED]
Sent: Thursday, August 14, 2008 11:12 AM
To: Vishal Mehta
Cc: gdal-dev@lists.osgeo.org
Subject: Re: [gdal-dev] Segmentation fault using gdal 1.4.4 and 1.5.2 on netcdf 
data

On Thu, Aug 14, 2008 at 12:42 PM, Vishal Mehta <[EMAIL PROTECTED]> wrote:

2. I compiled from source gdal1.5.2 from
http://trac.osgeo.org/gdal/wiki/DownloadSource

using the following configure

./configure --with-netcdf=/usr/lib --with-libtiff=yes --with-geotiff=yes 
--with-jpeg=/usr/lib --with-gif=/usr/lib --with-png=/ur/lib 
--with-pg=/usr/bin/pg_config --with-libgrass=yes

make

sudo make install

and made sure the libgdal link was referring to the new one.

I tried
gdalinfo file.nc

and again got 'segmentation fault'

it works for other data types; only netcdf does not work (just like before with 
gdal1.4.4)

Vishal,

Have you tried with other netcdf files?  How big is "big"?   Perhaps
you are encounter a 2GB file size limit?

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, [EMAIL PROTECTED]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.138 / Virus Database: 270.6.3/1611 - Release Date: 8/14/2008 6:20 
AM
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev



--
Maarten Plieger
KNMI, R&D Information and Observation Technology, De Bilt
(t) +31 30 2206330
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to