reorder array indicies

From: Greg Thompson (gthompsn AT XXXXXX)
Date: Sun Feb 23 2003 - 12:05:28 MST

I know I've seen this answer before and I apologize for repeating this
type of question. I need help re-ordering my 2-D array. There's a trick
to doing this without a doubly-nested do loop (expensive) but I cannot
recall how.

I ingest a 2-D array from a variable within a GRIB file:
  snow = file1->SNO_D_GDS5_SFC
and it creates the following plot:

I can easily rotate the map 90 degrees clockwise but I also need to
rotate the data grid the same amount. Thanks for any help offerred.

-- Greg Thompson NCAR/RAP
ncl-talk mailing list
ncl-talk AT

This archive was generated by hypermail 2b29 : Mon Feb 24 2003 - 13:19:26 MST