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

20031106: NCAGTC: : In Fortran, string too short



Shigan Jiang,

> To: address@hidden
> From: Shigan Jiang <address@hidden>
> Subject: NCAGTC: : In Fortran, string too short
> Organization: SUNY Albany
> Keywords: netCDF Fortran

The above message contained the following:

> When I use the gennet.f to read a netcdf file, the computer gives 
> the following error message,  
> 
> NCAGTC: : In Fortran, string too short
> 
> The data file is from ARM. How can I solve this problem.
> Thanks for your answer!

The above error means that the following function was called:

    NCAGTC(NCID,VARID,ATTNAME,BUF,ATTLEN,RCODE)

and that the value of ATTLEN was less than the length of the character
attribute ATTNAME.

You'll have to look through your code to discover where this occurs.
You can use the ncdump(1) utility to discover the length of the
attribute.

Regards,
Steve Emmerson