[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[IDV #GMK-393088]: Problem when run IDV through command line
- Subject: [IDV #GMK-393088]: Problem when run IDV through command line
- Date: Fri, 18 Dec 2009 12:44:37 -0700
Hi,
>
> I wrote a Jython file in Local Jython (Jython libraries ) as below :
>
> "...... print " IDV "
> data =
> makeDataSource('dods://motherlode.ucar.edu:8080/thredds/dodsC/modelsNc/NCEP/OCEAN/Global_5x2p5deg/OCEAN_Global_5x2p5deg_20091214_0000.nc',
> 'DODS.GRID')
> print 'datasource :', data
> ......."
>
> When I run this script by manually click in IDV, it works well.
> I also see that it will automatically called and run when I run IDV
> through command line (I used command : runIDV ). However, through
> command line, my script with "makeDataSource", "getData" ... do not
> work.
>
> Can you tell me how to make this script run through command line?
>
There is a "-script" argument:
idv -script <your script file>
Should evaluate the jython script
I see that this is not listed when you do a -help. My bad, I'll add that
-Jeff
Ticket Details
===================
Ticket ID: GMK-393088
Department: Support IDV
Priority: Normal
Status: Closed