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:
   http://www.rap.ucar.edu/~gthompsn/test/nh_snow.gif

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 ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk



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