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

[IDV #KAA-850692]: skew-T in jython



> 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