Re: reading dimensions from a netcdf

From: Scott Capps <scapps_at_nyahnyahspammersnyahnyah>
Date: Wed, 04 Oct 2006 10:06:03 -0700

I use printVarSummary(variablename) to retrieve variable dimensions and
attributes.

Scott

Larry McDaniel wrote:
> Hi
>
> how do I read the array dimensions from netcdf file?
>
> rhythm:/home/lmcd/NARCCAP> ncdump -h air.2m.gauss.1979.nc
> netcdf air.2m.gauss.1979 {
> dimensions:
> lon = 192 ;
> lat = 94 ;
> level = 1 ;
> time = UNLIMITED ; // (1460 currently)
> variables:
>
> thanks
> Larry
>
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Oct 04 2006 - 11:06:03 MDT

This archive was generated by hypermail 2.2.0 : Wed Oct 04 2006 - 17:47:31 MDT