[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20030926: NetCDF Perl usage [NetCDF::open]
- Subject: 20030926: NetCDF Perl usage [NetCDF::open]
- Date: Fri, 26 Sep 2003 15:09:37 -0600
Gary,
> To: address@hidden
> From: "Gary Hodges" <address@hidden>
> Subject: NetCDF Perl usage [NetCDF::open]
> Organization: UCAR/Unidata
> Keywords: 200309241705.h8OH5fk1020626
The above message contained the following:
> I recently upgraded (clean install) from Red Hat 7.2 to KRUD 9.0. I
> installed netcdf-3.5.0 and then the Perl module PDL::NetCDF.
What's "PDL::NetCDF"?
> When I try
> to run my old Perl programs I get the following error:
>
> Reading
> /data1/ARM/TWP/1999/C1_Manus/SKYRAD60/twpskyrad60sC1.a1.19990101.000059.cdf
> Undefined subroutine &NetCDF::open called at
> /home/hodges/Research/BSRN_Format/ARM/TWP/data.pl line 766.
>
> The line of code (line 766) is:
> my $ncid=NetCDF::open("$file",NOWRITE);
>
> I have [use PDL::NetCDF;] at the beginning of the subroutine where the
> above code comes from.
Look at the file "perl/test.pl" in the netcdf-perl source directory.
You'll see that it has the line "use NetCDF;" at the top.
> I hope the address@hidden address is
> where I should direct this question. The description of
> address@hidden seems to indicate so.
address@hidden is the correct address.
> Thanks,
> Gary
Regards,
Steve Emmerson