Hi,
Computation of an annual cycle is done in Ferret with "modulo regridding" operations, and our terminology for this is "climatologies". Here is an FAQ about that,
http://ferret.pmel.noaa.gov/Ferret/faq/how-do-i-calculate-climatologies-and-climatological-anomalies
As a general suggestion, when writing a script, it's a good idea to plot things separately, and with default settings, before putting everything together for your final script. For instance, your script has these lines:
plot/vlimits=-2.5:2.5:0.5/nolabel/line=8 pr1[d=1]*30but those commands are returning a blank plot. so, try the plot commands separately,
plot/level=(0,600,30)(inf)/vlimits=-2.5:2.5:0.5/over/nolabel/line=14 pr2[gt=pr1@asn]*30
plot/level=(0,600,30)(inf)/vlimits=-2.5:2.5:0.5/over/nolabel/line=15 pr3[gt=pr1@asn]*30
plot pr1[d=1]*30; pauseNow you may start to see what is happening with the definition of the variables and the plot commands. Once you have the definitions right, then put them together with overlaying and different colors, and work with labeling etc to get the final plot.
plot pr2[gt=pr1@asn]*30; pause
plot pr3[gt=pr1@asn]*30; pause
(By the way, the /LEVEL qualifier is for setting color levels on a color fill plot. It can be used on a 1-D "plot" command, but only when you are coloring the line according to some second quantity. See RIBBON plots, http://ferret.pmel.noaa.gov/Ferret/documentation/users-guide/commands-reference/PLOT#_PLOT_RIBBON)
Ansley
On 6/28/2016 7:42 AM, afwande juliet wrote:
Dear FerretersI want to plot annual cycles like the ones below. These ones are examples are copied from some online sources. I am using this script attached but only getting empty space figure also attached. I have used this http://www.precisrcm.com/GRACE/KL_worksheets/worksheet_KL_2a.html to calculate annual cycel before plotting in ferret but gets empty space. Could someone show me how to go about this. The data am using is monthly data in kg/m2/s2
Attachment:
JJA_Annual_test.jnl
Description: Binary data
Attachment:
pre_GME_MT_1980-2009_ext_monmean.nc
Description: Cdf file