[ncl-talk] specxy_anal gives maximum frequency less than 0.5

Maria Gehne - NOAA Affiliate maria.gehne at noaa.gov
Mon Sep 15 15:09:19 MDT 2014


Hi all,


not sure if anyone else has noticed this before. The specxy_anal routine
returns maximum frequency values that are less that the 0.5 that it should
return. (The documentation says the last entry of the spectrum is for
frequency 0.5) This doesn't seem like the desired behavior. Or maybe it is?



Here is a 4 line script that reproduces the issue:


a = fspan(1,100,101)

b = fspan(101,200,101)

dof = specxy_anal(a,b,0,3,0.1)

printMinMax(dof at frq,1)


Output:


(0)

(0)     min=0.00990099   max=0.49505



Maria
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20140915/6ac04d21/attachment.html 


More information about the ncl-talk mailing list