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

Kathryn Sellwood - NOAA Affiliate kathryn.sellwood at noaa.gov
Wed Feb 8 10:22:58 EST 2017


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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20170208/8d39a957/attachment-0001.html 


More information about the gradsusr mailing list