[ncl-talk] Interpolating to iso-surface with non-monotonic data

David Jones jonesd647 at yahoo.ca
Mon Dec 1 15:19:53 MST 2014


Dear NCL-talk,

I was wondering if there is a way to interpolate to an iso-surface, when the variable I'm interpolating against is *not* monotonically in/decreasing?

For example, the examples here - https://www.ncl.ucar.edu/Applications/iso.shtml - use int2p_n_Wrap. This will obviously work well when I'm interpolating to pressure levels, because pressure decreases monotonically with height. But part (b) of the example iso_1.ncl on that page would only work if the temperature changes monotonically across levels. 

I'm interested in interpolating to an iso-surface defined by a value of the Bulk Richardson Number, which doesn't necessarily increase monotonically with height, especially within the PBL. However, int2p_n_Wrap returns a missing value for every column where the BRN is not monotonic, i.e. the majority of columns. 

Are there any smart ways around this problem? 

Best wishes,
Dave.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20141201/dba95bb4/attachment.html 


More information about the ncl-talk mailing list