Table of contents Frames User guide
Unidata IDV Workshop for version 6.3 > Advanced Topics > Configuring IDV Sites

4.4.3 RBI File
The RBI file specifies where everything is.
  • The RBI (Resource Bundle for the IDV) file is where the real work of configuration is defined. These are XML files that specify where to find all of the resources that the IDV uses to configure itself.
    • Jython libraries.
    • Color tables.
    • Projections.
    • Etc.
  • As a convenience, the IDV places an example resource file in your local directory: idv.rbi
  • Here is the RBI file that the IDV comes with: idvfull.rbi
  • Let's look at how the IDV uses these resources. From the command line run the IDV with the -listresources argument:
    idv  -listresources
    
  • This will show a dialog that lists all of the resources specified by the RBI file (or files).
  • Let's go and change the the local idv.rbi file in ~/.unidata/idv/DefaultIdv and add some resource paths to the color tables entry. e.g.:
      <resources name="idv.resource.colortables" loadmore="true">
        <resource location="some location"/>
        <resource location="some other location"/>
        <resource location="https://www.unidata.ucar.edu/idv/colortables.xml"/>
      </resources>
    
  • Now let's run the IDV again and look at the color tables entry that we just changed.
    idv  -listresources
    

 


Table of contents Frames User guide
Unidata IDV Workshop for version 6.3 > Advanced Topics > Configuring IDV Sites