[ncl-talk] removing -99 value from the ouput

Dennis Shea shea at ucar.edu
Sat Sep 20 08:05:47 MDT 2014


do nt = 0,ntim-1,1
     format = "%H:%M:%S Hours"
    stime  = cd_string(time,format)

    if (.not.ismissing(s_point)) then
        print("time= "+stime(nt) + " wind_speed="+s_point)
    end if

  end do



On Sat, Sep 20, 2014 at 3:16 AM, Muhammad Omer Mughal <
m.mughal1 at postgrad.curtin.edu.au> wrote:

>
>  Hi
>
>
>  Every one the attached code prints out the wind speed from the netcdf
> files at a certain time .The problem is that it is also including the value
> -99 (see file temp) which i need to remove .Can anyone help with that ?
>
>  *Regards*
> *Muhammad Omer Mughal*
> *Department of Applied Physics*
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20140920/b64d227b/attachment.html 


More information about the ncl-talk mailing list