[gradsusr] Help in showing the example of using maxloc()

See Hai Ooi axl419 at yahoo.com
Sun Mar 21 09:56:50 EDT 2010


Dear Mr Charles Seman,
 
        Thank you for explaining the use of fndlvl().  As I did not get the picture completely, I failed to use this function to obtain the maximum magnitude of the subtropical jet stream and its corresponding pressure level  (e.g. 200 knots at 200 hPa over the defined area).   

        The followings are what I did :-
 
        sdfopen d:\cdc\uvw\uwnd.2009.nc
        sdfopen d:\cdc\uvw\vwnd.2009.nc
 
        set t 1
        set lat 20 40
        set lon 80 140
        define wind=mag(uwnd,vwnd.2)
 
        ga-> d fndlvl(wind,max(wind,lev=1000,lev=100),lev=1000,lev=100)
        MAXing.  dim = 2, start = 1, end = 12
        Constant field.  Value = 1000
        ga-> d fndlvl(lev,max(wind,lev=1000,lev=100),lev=1000,lev=100)
        MAXing.  dim = 2, start = 1, end = 12
       Cannot contour grid - all undefined values
 
       Where did I go wrong ?  I did not fix the level to a single value else it would show "Cannot contour grid - all undefined values".  Hope you can enlighten me.
 
      Regards.
 
Ooi
 
 
        
 


      Get your preferred Email name!
Now you can @ymail.com and @rocketmail.com. 
http://mail.promotions.yahoo.com/newdomains/aa/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100321/45d4131a/attachment-0003.html 


More information about the gradsusr mailing list