This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
> I get a segmentation fault when reading a netcdf file. The file was created
> by a python script using the NETCDF3_CLASSIC format
>
> The fortran code is being compiled using gfortran 4.3.2, netcdf 4.1.1
> (compiled for f90 with hdf5, netcdf4) on SUSE SLE11
>
> ncview can read the files and ncdump has no problem with them either
>
> Code is simple:
> ecode = nf90_open('myfile',nf90_nowrite,ncid)
> if (ecode.ne.nf90_noerr) call handle_err(ecode)
>
> Thanx
> gaby
>
> --
> Gabriella Turek
> Sr. Software Engineer
> National Institute for Water & Atmospheric Research (NIWA)
>
>
>
Howdy Gaby!
I need the file to look at this problem. ;-)
Thanks,
Ed
Ticket Details
===================
Ticket ID: SIG-623263
Department: Support netCDF
Priority: Critical
Status: Closed