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

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

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • 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