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

[IDV #VFI-330308]: Question about command line parameters: setting a display



Hi Eric,

> 
> I am experimenting with my IDV instance and web start.  I have launched the 
> IDV with a
> specific -data argument referencing an opendap url which works nicely.  Now I 
> would like
> to use the "-display" argument to configure a specific display.  For example:
> 
> -display "Temperature @ isobaric" "Contour Plan View"
> 
> or in the JNLP:
> 
> <argument>-display</argument>
> <argument>"Temperature @ isobaric"</argument>
> <argument>"Contour Plan View"</argument>
> 
> However, the display is not created (though the datasource is).  As far as I 
> can tell, no error log is generated either.
> Am I using the -display command line argument correctly?
> 


First of all, the -display argument has been around for a  long time and is 
somewhat
limited in that the display that is created just has its default configration.

That said, the parameter argument needs to be the short name of the parameter, 
not the
description. In the field selector mouse over the parameter name and a tooltip 
will
show up that has the actual name, e.g., "T"

Also, the display needs to be one of the display control ids listed in teh 1st 
column here:
http://www.unidata.ucar.edu/software/idv/release/nightly/docs/userguide/isl/controls.txt

You can also use isl in interactive mode (run -islinteractive <isl file>) to 
define
data and displays. This gives you more flexibility in creating displays. See 
here:
http://www.unidata.ucar.edu/software/idv/release/nightly/docs/userguide/isl/DataAndDisplays.html#datasource
and here:
http://www.unidata.ucar.edu/software/idv/release/nightly/docs/userguide/isl/DataAndDisplays.html#datasource


Right now the argument -islinteractive points to a url or file. We could 
probably change
it so it actually is the isl inline like we do with the -b64bundle argument.

-Jeff

-Jeff


Ticket Details
===================
Ticket ID: VFI-330308
Department: Support IDV
Priority: Normal
Status: Open