re: mask

From: Maurice (mchughm AT XXXXXX)
Date: Thu Aug 02 2001 - 09:02:13 MDT


Hi:

A quick question about how to mask a 3d field (lat,lon,time) against a 2d field (lat,lon) without looping through each and every time element (I have 756 time periods).
At the moment my code loops through the 756 time periods and takes forever to complete.

I have tried to use the following code with to no avail...

sst3d = mask(data3d,(data2d.ne.0),True)

I receive an error saying that parameters don't have the same dimension size.

Thanks for your suggestions!

Maurice

Maurice McHugh
Geography Department
University of Wisconsin Oshkosh
Oshkosh WI 54901

mchughm@uwosh.edu



This archive was generated by hypermail 2b29 : Thu Aug 02 2001 - 14:48:04 MDT