Opened 19 years ago

Last modified 14 years ago

#906 closed defect

NetCDF segmentation fault — at Version 6

Reported by: jdenisgiguere@… Owned by: denis.nadeau@…
Priority: normal Milestone:
Component: GDAL_Raster Version: 1.6.2
Severity: normal Keywords: netcdf
Cc: Mateusz Łoskot, dnadeau, warmerdam, Kyle Shannon

Description (last modified by Mateusz Łoskot)

Hi,

I get some trouble with NetCDF file avalaible on http://nomad.geo.usherb.ca/~level2/2002.07.01/.

When I lauch gdalinfo I get a segmentation fault.

I see on old mailing list message that it is not all version of NetCDF file that are readable with gdal. I think that it could be a good idea that in case that the nc file is not supported, there is a nicer message. :-)

Also, there is a open source library (I don't study the license) that allow reading and writing my problematic file. This is the netcdf-bin package of debian. The source seems to come from

http://my.unidata.ucar.edu/content/software/netcdf/index.html

I test gdalinfo 1.2.6 and today cvs snapshot

Change History (6)

comment:1 by warmerdam, 19 years ago

Jean-Denis, 

Could you indicate what version of GDAL you were using? 

Denis Nadeau is currently working on netcdf support in GDAL, so I will pass
this report on to him.

comment:2 by jdenisgiguere@…, 19 years ago

(In reply to comment #1)
> Jean-Denis, 
> 
> Could you indicate what version of GDAL you were using? 
> 
> Denis Nadeau is currently working on netcdf support in GDAL, so I will pass
> this report on to him.

The bug was reported against version 1.2.6 and cvs snapshot of 2005-08-13.

comment:3 by denis.nadeau@…, 19 years ago

I have done some same for netcdf to support CF conventions.  Could you
provide me with some data where gdal core dumps?


Thanks
Denis

comment:4 by jdenisgiguere@…, 19 years ago

(In reply to comment #3)
> I have done some same for netcdf to support CF conventions.  Could you
> provide me with some data where gdal core dumps?
> 
> 
> Thanks
> Denis

http://nomad.geo.usherb.ca/~level2/2002.07.01/

comment:5 by denis.nadeau@…, 19 years ago

I have solved the problem.  Please update your gdal/frmts/netcdf directory,
recompile and give a try.  I now read latitude and longitude for
geotransformation.  

comment:6 by Mateusz Łoskot, 16 years ago

Cc: Mateusz Łoskot added
Description: modified (diff)
Keywords: netcdf added
Note: See TracTickets for help on using tickets.