comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: IDL:Spherical Polar Data Question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL:Spherical Polar Data Question [message #1933] Mon, 04 April 1994 11:46
eff is currently offline  eff
Messages: 2
Registered: February 1994
Junior Member
|> Hello,
|>
|> I've been working on IDL and was wondering if anyone has
|> any ideas on the best way to enter a spherical polar data set into
|> an array. That is, given R,THETA, & PHI, how best to input the
|> irregulary gridded data set and grid it?
|> All suggestions are welcome.
|>
|> D-
|> daustin@sugar.neosoft.com

It depends on where on the sphere you are primarily interested. If
you are going to be doing interpolations around a pole, then you would be
well advised to use a local stereographic coordinate system there. (e.g.
use coordinates (x= 2acos(phi)cos(theta)/(1+sin(phi), y=
2acos(phi)sin(theta)/(1+sin(phi), r=r). See Haltiner and Williams, "Numerical
Prediction and Dynamic Meteorology" for more details. Away from the pole, you
can get away with a a rectilinear grid in r, phi, theta. These suggestion all
rest on the assumption that the variation in r are much smaller than the average
value of r, so that you can ignore sphericity of surfaces of constant r. As for
gridding, be warned that if you are planning to take derivatives of your gridded
data, the triangulation algorithm provided with IDL can give really screwy
results.
[Message index]
 
Read Message
Previous Topic: Allowing interruption and background processing in MS-Windows
Next Topic: !D.x_px_cm in PV~Wave 4.2

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:49:23 PDT 2025

Total time taken to generate the page: 0.00389 seconds