[Thread Prev][Thread Next][Index]

Re: [ferret_users] z range (z=zz:zzz) doesn't limit the plotting within the range



Hi Ansley,

Thank you, thank you.

On Wed, Mar 7, 2018 at 2:43 AM, Ansley C. Manke <ansley.b.manke@xxxxxxxx> wrote:

The VECTOR/Y= /Z=  qualifiers are used to choose the subset of the data that will be sent to the plotting command. With this dataset, the coordinate value of the grid box that contains z=900 is 915.4, so the subset of data that you've requested includes data at z=289, 320, ..., 915.4. 

I'm surprised!   So, the Z= qualifier and the range like VAR[Z=0:900] choose the gridpoints by the grid boxes!  I thought the range chooses the gridpoints within the range.

That is subtle.

What's the most general way to choose gridpoints within the range.  Perhaps

   let var_new = if z[gz=var] ge 0  and z[gz=var] le 900 then var

?

Regards,
Ryo

[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement