[Thread Prev][Thread Next][Index]

Re: [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.




On 7 Apr 2016, at 11:20, afwande juliet <afwandej965@xxxxxxxxx> wrote:

my script is attached below
help me see where the error is

On Thu, Apr 7, 2016 at 1:18 PM, Young, Paul <paul.j.young@xxxxxxxxxxxxxxx> wrote:
I’d suggest keep playing with ppl shaset reset (or try it without that command). Otherwise, I’m out of ideas.

On 7 Apr 2016, at 11:17, afwande juliet <afwandej965@xxxxxxxxx> wrote:

thanks Its strange error; still it has not solved the hanging; it has only increased the color scale but the plot still hnags not being saved
I am using Ubuntu Ferett v6.93
NOAA/PMEL TMAP
     FERRET v6.93 
     Linux 2.6.32-504.el6.x86_64 64-bit - 11/13/14
      7-Apr-16 13:14    

This is strange. I have been plotting before without these hanaging error issues.

On Thu, Apr 7, 2016 at 1:07 PM, Young, Paul <paul.j.young@xxxxxxxxxxxxxxx> wrote:
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. 

E.g. replace

PPL SHAKEY 1, 0, 0.15, 0, 3, 11, -8, 4, 0.60, 0.85

with 

PPL SHAKEY 1, 0, 0.15, 1, 3, , -8, 4, 0.60, 0.85

Paul (not Russ!)



On 7 Apr 2016, at 10:50, afwande juliet <afwandej965@xxxxxxxxx> wrote:

Russ thanks
Now the warning of PPL disappears but still no output as in it cant still save the output. it still hangs at the end of script instaed
I dont know why

On Thu, Apr 7, 2016 at 12:38 PM, Young, Paul <paul.j.young@xxxxxxxxxxxxxxx> wrote:
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 A1
let 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 fill
go focean 5 white
go land 1 " " 1 
label 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:

Hi Russ
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.



On Thu, Apr 7, 2016 at 12:00 PM, afwande juliet <afwandej965@xxxxxxxxx> wrote:
Hi Russ thanks
what 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



<MAM1984_ICS.jnl>






<MAM1984_ICS.jnl>


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

Privacy Policy | Disclaimer | Accessibility Statement