Re: [netcdfgroup] has ncaptc been removed from netCDF fortran interface?

  • To: Martin Hoecker-Martinez <msmithma@xxxxxxxxx>
  • Subject: Re: [netcdfgroup] has ncaptc been removed from netCDF fortran interface?
  • From: Russ Rew <russ@xxxxxxxxxxxxxxxx>
  • Date: Tue, 21 Apr 2015 09:14:22 -0600
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/
>
  • 2015 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: