[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[IDV #PGR-337100]: problem with colobar
- Subject: [IDV #PGR-337100]: problem with colobar
- Date: Thu, 09 Oct 2008 13:02:21 -0600
Hi Katie,
> Hello. I'm trying to use an .isl file to generate a movie. The movie
> contains a map of Hawaii and some turbulence data. Each thing (terrain on
> Hawaii and the turbulence data) has its own colorbar, but I only want to
> show the turbulence data colorbar. How do I specify just the one colorbar?
> The colorbar documentation suggests I do it this way:
>
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <isl debug="true" loop="1" offscreen="false" sleep="60.0minutes">
> <!-- iterate 1 -->
> <echo message="Loading wrf2idv_MKWC_d03_20080601000000.nc"/>
> <bundle clear="true" file="${islpath}/mess_around.xidv" wait="true">
> <setfiles datasource=".*" file="wrf2idv_MKWC_d03_20080601000000.nc"/>
> </bundle>
> <movie file="${islpath}/test_20080601.mov"
> imagedir = "${islpath}/test"
> imagetemplate = "image_%time:yyyyMMddHHmm%"
> imagesuffix="png">
> <colorbar display='143' orientation="right" tickmarks="5" width="40"
> height="800" showlines="true" anchor="MR" place="MR,-200,5" showunit="true"
> color="white" />
> <!-- <overlay text="Simulation of the Index of Refraction Structure
> function Between Haleakala and Mauna Loa" color="white" fontsize="24"
> place="UM" anchor="UR"/> -->
> </movie>
>
> </isl>
>
> where '143' is the id number attatched to the colorbar. This gives me an
> error. (same error occurs when I used 'id143' for my display parameter).
> This is clearly where my error is. Could you please explain to me the right
> way to use the display parameter in colorbar? Or is this another way to have
> only 1 color bar displayed?
>
The display attribute is the id of the display control that we get the color
bar from.
Load in the bundle you are using and bring up the properties for the display
control whose color
bar you want to use. There is an "ID:" field in the dialog. Set the id to be
"143" (or
whatever you use in the isl script) and save off the bundle.
You can also just turn on the display of the color bar in the main view window
for the
display control through the properties. Then, save off the bundle and don't use
the colorbar
tag in your isl. The movie will just capture whatever is being shown. With this
you don't have the
exact control over color bar placement as you do when using the colorbar tag
though.
-Jeff
Ticket Details
===================
Ticket ID: PGR-337100
Department: Support IDV
Priority: Normal
Status: Closed