> Hi, > > > I'm trying to run a cyclone tracking program and I haven't had sucess because > when I compile a program that convert netcdf to cmp format occurs a error (a > part): > > # g77 -o read_nc2cmp read_nc2cmp.f -L /usr/udunits-1.12.11/lib/libudunits.a > -L /usr/local/netcdf-3.6.2/lib/libnetcdf.a > > _______________________________________________________________ > > read_nc2cmp.f: In program `read_nc2cmp': > read_nc2cmp.f:688: warning: >  call ncvgt(ncid,i_lon,one_index,one_length,lons,rcode) >  1 > read_nc2cmp.f:690: (continued): >  call ncvgt(ncid,i_lon,one_index,one_length,dlons,rcode) >  2 > Argument #5 of `ncvgt' is one precision at (2) but is some other precision at > (1) [info -f g77 M GLOBALS] > /usr/local/udunits-1.12.11/include/udunits.inc: In subroutine `gridread': > /usr/local/udunits-1.12.11/include/udunits.inc:32: >  UD_POINTER utmake >  1 2 > Unrecognized statement name at (1) and invalid form for assignment or > statement-function definition at (2) > /usr/local/udunits-1.12.11/include/udunits.inc:88: >  integer utdec >  1 > read_nc2cmp.f:1326: (continued): >  integer UTMAKE,UTDEC,uttime >  2 > Invalid declaration of or reference to symbol `utdec' at (2) [initially seen > at (1)] > /usr/local/udunits-1.12.11/include/udunits.inc:36: >  integer uttime >  1 > read_nc2cmp.f:1326: (continued): >  integer UTMAKE,UTDEC,uttime >  2 > > __________________________________________ >  > I have a netcdf-4.1.1 and udunits-1.12.11.. > > The NCVGT subroutime don't exist in script read_nc2cmp.f ... this exists in > some netcdf library? > > I don't know what I do... > > Please, help-me! > > Thanks! > >  > Camila Tavares Homann > Bacharel em Meteorologia > LaboratÃrio MASTER - (11) 30914808 > Departamento de CiÃncias AtmosfÃricas > Instituto de Astronomia, GeofÃsica e CiÃncias AtmosfÃricas - IAG > Universidade de SÃo Paulo - USP > E-mail alternativo: address@hidden > > Howdy Camila! The ncvgt function is part of the fortran V2 API. Did this used to work on your machine, and it stopped? Or is this the first time you've tried it? I would suggest getting the latest release: ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-4.1.3.tar.gz Build it like this: ./configure -C --disable-netcdf-4 --prefix=/install/dir && make check Let me know if this doesn't work. Thanks, Ed Ticket Details =================== Ticket ID: LCI-943416 Department: Support netCDF Priority: Normal Status: Closed
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.