[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Clarification on gennet
- Subject: Re: Clarification on gennet
- Date: Wed, 30 May 2001 08:55:00 -0600
>To: address@hidden
>From: K V Ramesh <address@hidden>
>Subject: Re: 20000529: Clarification on gennet
>Organization: Indian Institute of tropical Meteorology;Climate and Global
>Modelling Division
>Keywords: gennet.f NCAGTC long_name
Ramesh,
> Thankyou very much for your help. I have one more small
> problem, i.e., when I compile like this " f77 gennet.f -o gennet -L
> /local/netcdf/lib -lnetcdf" , it gives an executable named
> gennet. while executing this it gives the following error.
>
> "/usr2/ramesh/netcdf$./gennet
> ENTER NETCDF FILE NAME
> example.nc
> NCAGTC: : Attribute not found"
It appears that the GENNET program requires variables to have a
"long_name" attribute. You might be able to remove this restriction
by deleting the line
call ncagtc(ncid,i,'long_name',long_name(i),mtlen,rcode)
and instead just set long_name(i) to the returned variable name in
VARNAM(I) after the subsequent call to NCVINQ, in case the variable
doesn't have a "long_name" attribute.
GENNET is a contributed program that was not written here, so most
questions about GENNET should be sent to the author, Barry Schwartz.
The last email address I have for him is <address@hidden>.
--Russ