Thread-topic: [ferret_users] SCRIPT DOESNT SAVE THE OUTPUT
Last email on this….
Sorry, I meant keep in "ppl shaset reset” (as per before) and comment out the line with ppl shakey in it (PPL SHAKEY 1, 0, 0.15, 1, 3, , -8, 4, 0.60, 0.85)
I think it’s that command that is causing everything to hang.
I guess you’re typing “set mode meta” and “can mode meta” before and after your script? (This creates a files called metafile.plt, which you convert to .ps with Fprint)….?
The hanging may have something to do with the call to ppl shakey. There is a long-standing issue where this fails for some scripts (why? who knows!). On a Mac, I find this is is when I ask it to label each increment with no decimal places (“1”
and “(-0)” for the 4th and 5th arguments).
It’s not an ideal solution, but I would suggest experimenting with your ppl shakey call.
I 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.
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