NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Hello, I am trying to add a dimension(limited) to an existing necdf file and I am getting this error - NetCDF : String match to name in use Following is my code in Fortran retval = nf_open(in_cfn,NF_WRITE,ncid) if (retval .ne. nf_noerr) call handle_err(retval) retval = nf_redef(ncid) if (retval .ne. nf_noerr) call handle_err(retval) retval = nf_def_dim(ncid,"dimz_Z",len,dimz_zid) if (retval .ne. nf_noerr) call handle_err(retval) retval = nf_enddef(ncid) This dimension "dimz_Z" does not exist in any of the .nc files in my directory. There are no similar dimension names either. The other dimensions are lat, lon, time and level. Is there any obvious error in my code ? Appreciate the suggestions, Regards, Ashwin.
netcdfgroup
archives: