get dimension sizes

From: Jeff <jeffelf_at_nyahnyahspammersnyahnyah>
Date: Sun Jan 16 2011 - 11:03:39 MST

Hi Sir/Madam,

I'm looking for a function returning the dimension size for a given
dimension specified via dimension name.

Say, I know there is a dimension called "time" in file f, so a
function(f, "time") will return the size of dimension "time".

I browsed the functions on NCL website, and it seems that all relevant
functions are returning the dimension sizes of all dimensions for
either a file or a var.

Is there any function doing what I'm looking for?

Thanks.
Yaosheng
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sun Jan 16 11:03:46 2011

This archive was generated by hypermail 2.1.8 : Tue Jan 25 2011 - 14:22:15 MST