[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


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.