[Thread Prev][Thread Next][Index]

Re: [ferret_users] Annual cycle for 30years.



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]*30
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
but those commands are returning a blank plot.  so, try the plot commands separately,
plot pr1[d=1]*30; pause
plot pr2[gt=pr1@asn]*30; pause
plot pr3[gt=pr1@asn]*30; pause
Now 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.

(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 Ferreters
I 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

Inline image 1


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement