[ncl-talk] query_regarding_sine_angle

Kunal Bali kunal.bali9 at gmail.com
Tue Sep 20 11:20:18 MDT 2016


Dear NCL users

I need to calculate the given equation

             =  var1*10^5/ 2*7.292*10*sin(latitude)


I am calculating the equation as

    var1       = a->TAUYWTR(0,:,:)


   lat1 =  a->lat
   lon1 =  a->lon

   sin_f = sin(lat1)

    var2     = (var1)*(100000)/(2)*(7.2921)*(sin_f)

but I am getting an error as
fatal:Mul: Number of dimensions do not match, can't continue


Could anyone please let me know, how to solve it.


Regards
Kunal Bali
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160920/75490c8b/attachment.html 


More information about the ncl-talk mailing list