Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

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

[netCDFPerl #ITS-697598]: I have a question about NetCDFPerl



Dear Shinsaku Nakamura,

> This is Shinsaku Nakamura, and I'm working to create a system with
> NetCDFPerl.
> 
> Now, I have a little trouble on the project, especially on varput(), and
> varput1() modules.
> When I had an array which was consisted of "texts" and tried to put the
> array to my netCDF file, I would had a message like:
> 
> "A" isn't numeric in subroutine entry at ___.pm line #.
> 
> It happened all the time except when I put some numbers on the array.

The netCDF library doesn't support a textual (or string) type of
variable.  Instead, strings are treated as a one-dimensional array
of characters.  For an example of the use of strings, see the file
"src/perl/test.pl" in the source-distribution.  Look for the string
"Hello world".

> My environment to use NetCDF
> OS: Fedora Core 5
> perl: perl 5.8.8
> NetCDF: NetCDF 3.6.2
> 
> I could not get it
> although I've been searching some solutions on the internet or rearrange
> my system.
> 
> I will be very glad if you show me some advice as soon as possible.
> Please.
> 
> Have a nice day anyway.
> 
> 
> Shinsaku A Nakamura
> IMS Laboratory, Tokyo, Japan
> shinsaku.nakamura@xxxxxxxxxxxx

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: ITS-697598
Department: Support netCDF Perl
Priority: Normal
Status: Closed


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690