[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #LCI-943416]: help-me!



> 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.