[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #WXP-426338]: related to scripting



Please send some sample images.

Thanks,

Sean

> Send some sample code. What i am also doing in my script is setting
> map display to full resolution. I am at home. If you want i can send
> you some sample images.
> Regards
> ghansham
> 
> On 12/27/12, Unidata IDV Support <address@hidden> wrote:
> > Hi Ghansham,
> >
> > You could always create your display in the interactive mode of IDV,
> > zoom out to get the colorbar to appear outside the display area, and
> > save the bundle as an ISL script. Would that work?
> >
> > Sean
> >
> >> I know this option but I wanted colorbar to be outside display area. I
> >> am afraid it is possible to get colorscale there. This is possible
> >> through jython colorbar tag. But then colorbar tag draws colorbars for
> >> all display controls. Just give a thought.
> >>
> >> On 12/26/12, Unidata IDV Support <address@hidden> wrote:
> >> > Greetings Ghansham,
> >> >
> >> > This should be possible. You can do something like the following
> >> > in Jython:
> >> >
> >> > ----
> >> >
> >> > display_type = 'planviewcontour'
> >> > dc = createDisplay(display_type, pressure)
> >> >
> >> > colorScaleInfo = dc.getColorScaleInfo()
> >> > colorScaleInfo.setOrientation(colorScaleInfo.VERTICAL)
> >> > colorScaleInfo.setPlacement(colorScaleInfo.LEFT)
> >> > colorScaleInfo.setIsVisible(True)
> >> >
> >> >
> >> > ----
> >> >
> >> > In this case I'm dealing with a plan view contour image,
> >> > but in general this should work (grab the colorScaleInfo
> >> > from the display control you wish to add the colorbar,
> >> > set the basic location properties and make it visible).
> >> >
> >> > Cheers,
> >> >
> >> > Sean
> >> >
> >> >> R/Sir
> >> >> I want generate an image where SST is overlaid over IR channel.
> >> >> But I want colorbar of SST only. Is it possible to do that?
> >> >>
> >> >> regards
> >> >> Ghansham
> >> >>
> >> >>
> >> >
> >> >
> >> > Ticket Details
> >> > ===================
> >> > Ticket ID: WXP-426338
> >> > Department: Support IDV
> >> > Priority: Normal
> >> > Status: Open
> >> >
> >> >
> >>
> >>
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: WXP-426338
> > Department: Support IDV
> > Priority: Normal
> > Status: Open
> >
> >
> 
> 


Ticket Details
===================
Ticket ID: WXP-426338
Department: Support IDV
Priority: Normal
Status: Open