Hi Martin,
Sorry for the delay in responding to your question.
ncaptc is a subroutine that was in the netCDF-2 Fortran 77 library.
There are two possible replacements, either of which should work to
write a character array into an attribute. One is in the Fortran-77
library and the other is in the current Fortran-90 library:
integer function nf_put_att_text (ncid, varid, name, len, text)
integer function nf90_put_att(ncid, varid, name, values)
These are documented here:
http://www.unidata.ucar.edu/netcdf/docs/netcdf-f77/NF_005fPUT_005fATT_005f-type.html
http://www.unidata.ucar.edu/netcdf/docs/netcdf-f90/NF90_005fPUT_005fATT.html
--Russ
On Thu, Apr 16, 2015 at 6:36 PM, Martin Hoecker-Martinez <msmithma@xxxxxxxxx
> wrote:
> If so what's the recommended replacement FORTRAN call?
>
> --
> Mart!n Hoecker-Mart!nez
> Ph.D. graduate student, Physical Oceanography
> e-mail: mhoecker@xxxxxxxxxxxxxxxxxxxx
> http://wart.coas.oregonstate.edu
> phone: 541-737-9831
> fax: 541-737-2064
> Office: Burt 324
> College of Earth, Ocean and Atmospheric Sciences
> Oregon State University
> 104 CEOAS Administration Building
> Corvallis, OR 97331-5503
>
> _______________________________________________
> netcdfgroup mailing list
> netcdfgroup@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe, visit:
> http://www.unidata.ucar.edu/mailing_lists/
>