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

Re: NetCDF library problems (fwd)

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.


  • Subject: Re: NetCDF library problems (fwd)
  • Date: Thu, 01 Jul 2004 16:43:52 -0600

Robb,

>Date: Thu, 1 Jul 2004 14:50:47 -0600 (MDT)
>From: Robb Kambic <address@hidden>
>To: Steve Emmerson <address@hidden>
>Subject: Re: NetCDF library problems (fwd)

The above message contained the following:

> One other thing, what really confused me is that the following worked ok:
> 
> NetCDF::varget( $ncid, $depth_id, \( 0 ), \( 30 ), \@data ) ;
> 
> and this did not:
> 
> NetCDF::varget
> ( $ncid, $current_u_id, \( $i, 0, 0, 0 ), \( 1, 30, 1, 1 ), \@data ) ;
> 
> but this worked ok:
> 
> NetCDF::varget
> ( $ncid, $current_u_id, [ $i, 0, 0, 0 ], [ 1, 30, 1, 1 ], \@data ) ;

That would confuse me, too.

> the inconsistency caused problems.

I don't doubt it.  The problem appears to be perl(1)'s however.

Regards,
Steve Emmerson