[gradsusr] Display only a contour line equal to a threshold

Lyndon Mark Olaguera olagueralyndonmark429 at gmail.com
Wed Feb 8 11:33:54 EST 2017


Dear Ma'am Kathryn,

Many thanks for the reply.

I figure it out a while ago.That one line command solved my problem.

Sincerely,

Lyndon Mark Olaguera

On 9 Feb 2017 00:24, "Kathryn Sellwood - NOAA Affiliate" <
kathryn.sellwood at noaa.gov> wrote:

> set clevs 0
>
> On Wed, Feb 8, 2017 at 3:49 AM, Lyndon Mark Olaguera <
> olagueralyndonmark429 at gmail.com> wrote:
>
>> Dear All,
>>
>> I'm plotting the zonal wind (from a netcdf file) as contours and I would
>> like to display only the contour lines that are equal to "ZERO".
>>
>> I tried this but it doesnt work:
>>
>> 'set z 3'
>> 'set t 42'
>> if(uwnd=0)
>> 'set gxout contour'
>> 'd uwnd'
>> endif
>>
>>
>> I also tried using CDO but the output are all missing values.
>>
>> cdo eqc,0 ifile.nc ofile.nc
>>
>> Can anyone suggest how can I do this in grads?
>>
>>
>> Ill appreciate any help.
>>
>> Sincerely,
>>
>> *Lyndon Mark P. Olaguera*
>>
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20170209/eff04728/attachment.html 


More information about the gradsusr mailing list