[Thread Prev][Thread Next][Index]

[ferret_users] array dims; plotting the last row of a netcdf array



Dear Ferret Users
This is probably a very simple question to answer. I am trying to figure out how to plot a line plot of the last row of a netcdf 2D array.

if I knew beforehand the maximum row number (i.e. MAXJ) then I could do something like:

plot/vs/line/vlimits=-0.05:0.85/hlimits='$hlimits' xc,w[j=MAXJ]*DIC[j=MAXJ]

This size is unknown unless the user looks at the array manually.

Is there a way to get the size of the array? like sizeof() or dims() in other languages? Or is there a better way to do what I want to do?

PM
---------------------------------------------
http://geosci.uchicago.edu/~mcguire/
---------------------------------------------
Department of the Geophysical Sciences
University of Chicago



[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement