[Thread Prev][Thread Next][Index]
[ferret_users] Follow-up on: bins in frequency_histogram.jnl
All,
I did some tooling around and found an answer to my question. It looks like the routine "frequency_histogram.jnl" look for values within the desired bin CENTERED on the value and INCLUDING the edges....
yes? SET DATA levitus_climatology
yes? GO frequency_histogram temp[X=0:360,Y=0:45N,Z=0] 0 32 0.5
I looked at temp 27.50 and found 1107 occurrences. To check the number is correct the search must look like this...
yes? let test = if temp[X=0:360,Y=0:45N,Z=0] ge 27.25 and temp[X=0:360,Y=0:45N,Z=0] le 27.75 then temp[X=0:360,Y=0:45N,Z=0]
yes?let good = test[i=@ngd,j=@ngd,k=@ngd]
This verifies the value of 1107. It was useful for me to know that information, hope it will be for others, too.
Steve
=======================================================
Stephen R. Guimond
Graduate Research Assistant
Florida State University
Center for Ocean-Atmospheric Prediction Studies (COAPS)
=======================================================
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Privacy Policy | Disclaimer | Accessibility Statement