[Thread Prev][Thread Next][Index]
Re: DEFINE REGION LIMITS
Mark,
I think using "define symbol" may be appropriate. I have tested the
following, and it works with a netcdf file/variable of mine. You can
define each region as a string that will be substituted in the plot
command, as follows:
DEFINE SYMBOL POHNPEI = x=158.00E/y=06.875N
Then,
PLOT/($POHNPEI) SST
ought to do the trick. I'd be surprised if there were a limitation on the
number of symbols you can define, but I don't know.
Good luck,
Emilio Mayorga
________________________________________________________________
University of Washington
School of Oceanography emiliom@u.washington.edu
Box 357940 ph. (206) 543-5334
Seattle, WA 98195-7940 USA FAX (206) 685-3351
http://boto.ocean.washington.edu/staff_pages/emilio
On Fri, 4 Apr 1997, Mark Verschell wrote:
> I am trying to pre-define a number of regions for use in my analysis. In
> particular, I am trying to examine data at 33 different locations coincident
> with sea level data locations. I tried setting up a bunch of define regions,
> e.g.:
>
> define region/x=158.00E/y=06.875N POHNPEI
> define region/x=172.75E/y=01.125N BETIO
> define region/x=090.50W/y=00.625S BALTRA
> define region/x=166.75E/y=00.625S NAURU
> etc.
>
> The thinking was that I could then do one of the following, for example:
>
> set region POHNPEI
> plot h
> or
> plot/@POHNPEI h
>
> Unfortunately, I get to the 9th define region and I get the folowing error
> message:
>
> **ERROR: a program limit has been reached: Cancel or redefine a region
>
> Is there a way around this, or possible a different way to accomplish the
> above. One caveat: I realize I could call a journal file and use the if-then
> construction, but I would prefer a method that doesn't appear to be as limiting
> as this.
>
> Thanks, Mark
>
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement