[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 19990719: perl netCDF problem: NetCDF::ncvarinq()
- Subject: Re: 19990719: perl netCDF problem: NetCDF::ncvarinq()
- Date: Mon, 19 Jul 1999 10:10:14 -0600
Bill,
Thanks for sending the ncdump(1) output.
I don't think you're passing-in the right dimension ID array-argument to
varinq(). The argument needs to be a reference to an array rather than
the array itself (i.e. it needs to have a "\" prefix. Try changing the
line
$status = NetCDF::varinq ( $ncid , $var_id , $cdummy , $type , $ndims ,
@dim_ids , $idummy );
to
$status = NetCDF::varinq ( $ncid , $var_id , $cdummy , $type , $ndims ,
\@dim_ids , $idummy );
and see if that works.
--------
Steve Emmerson <http://www.unidata.ucar.edu>