[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[IDV #KAA-850692]: skew-T in jython
- Subject: [IDV #KAA-850692]: skew-T in jython
- Date: Tue, 16 Apr 2013 10:54:23 -0600
> R/Sir
>
> skew-T in jython
>
> Is it possible to do that?
>
> regards
> Ghansham
>
>
I think you can do it in jython, maybe easier in ISL:
ds = makeDataSource(filename, 'file.grid')
display_type = 'skewT'
temperature=getData(ds.getName(), 'temperature')
relhumidity=getData(ds.getName(), 'humidity')
dewpoint = DerivedGridFactory.createDewpoint (temperature, relhumidity)
skewt = DerivedGridFactory.combineGrids(temperature, dewpoint)
createDisplay(display_type, skewt)
.....
this just some idea, I didn't test it.
Yuan
Ticket Details
===================
Ticket ID: KAA-850692
Department: Support IDV
Priority: Normal
Status: Closed