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

[IDV #MXX-498436]: running IDV in imageserver mode



> I am happy to use isl too. But can we do some operations like linear
> enhancements by calculating histogram and then setting the range based
> on that calculation, creating rgb composites by calling some jython
> functions. If isl is that quick, i am more than happy. Can you send me
> the way in which the user generates those images so quickly? The data
> might be noot
> very heavy. The range of my dataset size varies from 800*800 to 5600*5600.
> Regards
> Ghansham
> 

A sample isl script:

<isl debug="true" offscreen="false">
    <property name="dataTime" value="2010111013"/>

    <procedure name="mkT">
        <!--center useprojection="false"/-->
        <display type="planviewcontourfilled"  param="${ele_name}" >
            <property name="id" value="display1" />
            <property name="displayCategory"  value="Basic"/>
            <property name="colorTableName"  value="Temperature"/>
            <property name="colorScaleInfo" 
value="visible=true;orientation=vertical;placement=left"/>
            <property name="settingsDisplayUnit"  value="c"/>
            <property name="displayListTemplate"  
value="%timestamp%-%longname%"/>
            <property name="displayVisibility"  value="true"/>
            <property name="contourInfo"  
value="interval=4;min=-40;max=140;base=-28;dashed=false;labels=false"/>
            <property name="useProjectionFromData" value="false"/>
        </display>
        <display type="planviewcontour" param="${ele_name}">
            <property name="id" value="display2"/>
            <property name="displayCategory" value="Solid"/>
            <property name="colorTableName" value="Red"/>
            <property name="contourInfo"  
value="interval=4;min=-40;max=140;base=-28;dashed=false;labels=true"/>
            <property name="useProjectionFromData" value="false"/>
            </display>
        <pause/>
        <image file="${islpath}\${dataTime}.png"/>
    </procedure>
    <bundle file="${islpath}\china.xidv" clear="true" >
       <setfiles datasource=".*" file="${islpath}\china.nc" />
    </bundle>
    <mkT dtype="ele_hours" area="china" ele_name="t"  />
    <removeall/>
</isl>

> On 6/21/12, Unidata IDV Support <address@hidden> wrote:
> >> R/Sir
> >>
> >> How can I use imageserver arguement in idv? I have tried to search but
> >> not
> >> found even a single example.
> >
> > The server side feature has not been explored very well, I don's have any
> > experience or example for you.
> > You may take a look at the RAMADDA, the IDV usage in the RAMADDA maybe close
> > to what you are thinking about.
> >
> >> What I am trying to do is I want to generated image chips using jython.
> >> But
> >> I dont want to load/unload jvm every now and
> >> then because it takes atleast 25 % of the total time.
> > It is true, there is a trade off for loading JVM each time. The suggestion I
> > have is to
> > work on the ISL script to make it more efficient. We have a user run the IDV
> > each day to generate
> > 1000 images in less than 6 minutes.
> >
> >> I wanted a server to be running on IDV which I think is running when we
> >> supply imageserver as the arguement.
> >
> >
> >>
> >> Now what I was trying to do was to submit request. I am not able to find
> >> a
> >> single sample for that.
> >> If possible kindly provide one sample. If I could submit a request of
> >> server to execute the jython script. That
> >> will be enough.
> >>
> >> regards
> >> Ghansham
> >>
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: MXX-498436
> > Department: Support IDV
> > Priority: Normal
> > Status: Closed
> >
> >
> 
> 


Ticket Details
===================
Ticket ID: MXX-498436
Department: Support IDV
Priority: High
Status: Closed