Bryan,
Attached is the "wrf_user.f" file, which has quite a few of the WRF-NCL functions. The one you want is called DINTERP3DZ.
I'll be interested to hear if you are successful in wrapping this and using it from within Python.
--Mary
On Jul 14, 2011, at 1:55 PM, Bryan Woods wrote:
> Mary,
>
> That is exactly what I am looking for. The Fortran code could be very useful.
>
> Thanks,
> Bryan
>
> On 7/14/11 3:52 PM, Mary Haley wrote:
>> Do you mean something like the NCL "wrf_interp_3d_z" function?
>>
>> http://www.ncl.ucar.edu/Document/Functions/Built-in/wrf_interp_3d_z.shtml
>>
>> We don't have any WRF-specific functions in PyNGL, but we could certainly give you the Fortran code and you could use f2py or swig to wrap it yourself.
>>
>> --Mary
>>
>> On Jul 13, 2011, at 8:52 AM, Bryan Woods wrote:
>>
>>> Does anyone have a Python function to interpolate WRF fields to constant pressure and altitude levels from the native model coordinates?
>>>
>>> Thanks,
>>> Bryan
>>> <bwoods.vcf>_______________________________________________
>>> pyngl-talk mailing list
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
> <bwoods.vcf>
_______________________________________________
pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
This archive was generated by hypermail 2.1.8 : Fri Jul 29 2011 - 08:51:37 MDT