After each of your plots, you should type ppl shaset reset. (This is overkill, but it will work).
E.g., from you script:
SET VIEWPORT A1let WRF_Mar=Rain1984_March[d=1,x=28E:50E,y=12S:6N]fill /nolabel/nokey WRF_Mar!fill /nolabel/nokey/level=(0,1100,30)(inf) WRF_Mar!ppl fillgo focean 5 whitego land 1 " " 1label 38,6.6,0,0,0.19 @as Simulated Rain(Mar)ppl shaset reset !add this line
On 7 Apr 2016, at 10:08, afwande juliet <afwandej965@xxxxxxxxx> wrote:
<MAM1984_ICS.jnl>Hi RussI still get warning like below . I have attached my script kindly check
PPL warning: You're attempting to use more colors than are available.
Using PPL SHASET RESET to re-use protected colors may help.
go focean 5 white
PPL warning: You're attempting to use more colors than are available.
Using PPL SHASET RESET to re-use protected colors may help.
On Thu, Apr 7, 2016 at 12:00 PM, afwande juliet <afwandej965@xxxxxxxxx> wrote:
Hi Russ thankswhat do you mean by partial output
On Thu, Apr 7, 2016 at 10:55 AM, Russ Fiedler <russell.fiedler@xxxxxxxx> wrote:
Hi,
The warning that you are getting is telling you that you have run out of colours (probably because you have done lots of fill/shade plots on the current page). It's likely the problem lies elsewhere in the script.
Issue the command
PPL SHASET RESET
before you do your precipitation plot to clear things out.
This might be why you get a hang too. Can you save partial output before the the plot in viewport C4?
Russ
On 07/04/16 17:07, afwande juliet wrote:
Hi ferret Users
When I launch ferret as ferret in terminal, the plots are made correctly but the they are not being saved; the scripts hangs at the end instead of saving the output
But when I launch as ferret -gif
the ploting is done at the background and saved well but the scale is wrong. Below is part of the script
SET VIEWPORT C4
let GPCC=precip[d=11,x=28E:50E,y=12S:6N,l=84]
fill/set_up/nolabel/level=(0,500,30)(inf) GPCC
!fill/set_up/nolabel GPCC
PPL SHAKEY 1, 0, 0.15, 0, 3, 11, -8, 4, 0.60, 0.85
PPL fill
PPL warning: You're attempting to use more colors than are available.
Using PPL SHASET RESET to re-use protected colors may help.
go focean 5 white
PPL warning: You're attempting to use more colors than are available.
Using PPL SHASET RESET to re-use protected colors may help.
go land 1 " " 1
label 38,6.6,0,0,0.19 @as GPCC-OND
frame/file=OND1984_CTL.gif