Reducing the rank of an arbitrary variable

From: Jan Ploski <Jan.Ploski_at_nyahnyahspammersnyahnyah>
Date: Wed, 5 Dec 2007 14:29:17 +0100

Hello,

A few days ago I learned from Dennis how to increase dimensionality
(rank), and now I am running into trouble with the opposite procedure.
Given a variable V, which has n dimensions (n is not known until run time)
and an index i, how can I efficiently copy V(i,:,:,...,:) to a new
variable X with n-1 dimensions?

Regards,
Jan Ploski
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Dec 05 2007 - 06:29:17 MST

This archive was generated by hypermail 2.2.0 : Wed Dec 05 2007 - 10:17:04 MST