This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
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 > address@hidden Regards, Steve Emmerson Ticket Details =================== Ticket ID: ITS-697598 Department: Support netCDF Perl Priority: Normal Status: Closed