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

[IDV #HSY-189050]: IDV isl scripting

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [IDV #HSY-189050]: IDV isl scripting
  • Date: Thu, 15 Apr 2010 10:39:42 -0600

Hi Jun,
It is really hard to tell what is going on.

Why don't you try to just do the bundle loading to simplify things. Remove the 
explicit datasource and display creation and just do the following to see if 
that works. Then do an isl with just the explicit datasource creation to see if 
that works.

Also - the property setting is not working:
   <datasource id="${pid}_${hr}hr" url="${dir}/${aqfile}.nc">
              <property name="${pid}_${hr}hr" value="${aqfile}.nc"/>

Did you mean:
 <property name="name" value="${aqfile}.nc"/>
That should set the name of the datasource.

-Jeff




 <isl
   debug="true"
   loop="26"
   offscreen="false">
  <property name="hr" value="24"/>
  <property name="pid" value="PM25"/>
  <if expr="${loopindex}&gt;10">
    <property name="dir" 
value="/t1/CMAQ4.6_SAPRC99_AE3_aq/2000-01_winter/basecase/MM5"/>
    <property name="aqfile" 
value="M01-IB01-J02-E02.${hr}hr.200101${loopindex}"/>
    <property name="metfile" value="met/METDOT3D_200101${loopindex}"/>
    <bundle
       clear="true"
       file="${islpath}/WindVectors.xidv"
       height="600"
       width="600">
      <setfiles datasource=".f*" file="${dir}/${metfile}.nc"/>
    </bundle>
    <pause seconds="20"/>
  </if>
</isl>

  

Ticket Details
===================
Ticket ID: HSY-189050
Department: Support IDV
Priority: Normal
Status: Closed