Previous: Resource Viewer Next: Adding in new GRIB tables Table of contents Images Frames Unidata's Integrated Data Viewer > Miscellaneous > Site Configuration

7.4.3 Configuring Image Defaults
The defaults for the advanced settings of the Image Chooser is set for particular images through a configuration file. You can override the system defaults by creating your own configuration file and placing it in the user directory or sitepath See the section on Site Configuration for more information on the location of these directories. The configuration file (imagedefaults.xml) has the following format:
<?xml version="1.0" encoding="ISO-8859-1"?>
<imagedefaults>
  <default
     pattern=""
     key=""
     place=""
     loc=""
     unit=""
     user=""
     band=""
     proj=""/>
</imagedefaults>
The attributes that can be overridden are:
patterndataset identifier (format: host:group/desc)
keytype of location (LINELE or LATLON)
placeplacement (ULEFT or CENTER)
loclocation of placement (line ele or lat lon)
sizeresulting image size (lines eles)
magmagnification factor (lmag emag)
unitdefault calibration unit
bandband number
projproject number
useruser id (case sensitive)
debug(true to print lots of debug information)
Except for pattern, key and debug, the IDV uses the same keywords/syntax as McIDAS (longitudes are entered as degrees east, however). The entries are hierarchical, so if you specify some defaults for the server, they apply to all datasets on that server unless overridden for specific datasets.

Here are a few examples:

<imagedefaults>

    <default pattern="*" debug="true"/>

    <default
        pattern="adde.ucar.edu:RTIMAGES/GE-IR"
        key="LATLON"
        place="CENTER"
        loc="40 -90"
        unit="BRIT"
        user="foo"
        proj="9999"/>

    <default
        pattern="EUM_AD/M8"
        loc="46 10"
        band="9"
        unit="TEMP"
        size="512 512"/>

    <default
        pattern="CIMSS/CTP"
        key="LATLON"
        loc="35 -100"
        mag="1 1"
        unit="CTOP"/>

    <default
        pattern="GINICOMP/GSN8KVIS"
        key="LINELE"
        place="CENTER"
        loc="504 768"
        size="504 768"
        mag="-2 -2"/>

    <default
        pattern="CCS039/G81KVIS"
        key="LINELE"
        place="ULEFT"
        loc="0 0"
        size="ALL"/>

</imagedefaults>

 


Previous: Resource Viewer Next: Adding in new GRIB tables Table of contents Images Frames Unidata's Integrated Data Viewer > Miscellaneous > Site Configuration