Re: Need help with wrf_user_intrp3d

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu Aug 22 2013 - 10:01:10 MDT

Sangeeta,

If you read the documentation for wrf_user_intrp3d:

http://www.ncl.ucar.edu/Document/Functions/WRF_arw/wrf_user_intrp3d.shtml

the "Description" section says:

   This function interpolates data from model levels to either a horizonal or vertical plane.

This basically means that your 3D array will be interpolated to a 2D array, which is exactly what is happening in your case.

Perhaps you need to create a 3D array yourself with the "new" statement, and then call wrf_user_intrp3d in a loop across your three heights.

I've CC'ed wrfhelp. Please correspond with them if you have further questions on your script.

--Mary

Begin forwarded message:

> From: sangeeta maharjan <sangeetamaharjan@gmail.com>
> Subject: Re: (no subject)
> Date: August 22, 2013 4:50:33 AM MDT
> To: ncl-talk <ncl-talk@ucar.edu>
>
> Dear NCL Users,
> I missed to attach my ncl script in the previous mail. It has been
> attached here. Please find it .
> Thanks.
> Sangeeta Maharjan.
>
> On 8/22/13, sangeeta maharjan <sangeetamaharjan@gmail.com> wrote:
>> Dear NCL users,
>>
>> I need to interpolate the u and v component of uvmet to heights of
>> 30m, 60m and 80m inorder to calculate the wind speed at the
>> corresponding heights. I tried to interpolate with my best knowledge
>> but it didn't happen. u_int and v_int are my variables holding
>> interpolated values of u and v component. I was expecting the
>> dimension of u_int and v_int to be [Time | 715] x [bottom_top | 3]
>> x [south_north | 51] x [west_east | 51] but unfortunately they are of
>> [Time | 715] x [south_north | 51] x [west_east | 51] dimension
>> only. Can you please kindly go through my ncl script to identify the
>> problems.
>>
>> Thanks & Regards,
>> Sangeeta Maharjan.
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>

> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

Received on Thu Aug 22 10:01:24 2013

This archive was generated by hypermail 2.1.8 : Fri Aug 30 2013 - 14:04:57 MDT