Re: overlaying contour data of different resolutions

From: <shea_at_nyahnyahspammersnyahnyah>
Date: Tue May 08 2012 - 09:02:11 MDT

NCL syntax

   x(lat,lon), z(y,x)

x = x(::-1,:) ; reorder the variable 'in-place'
z = z(::-1,:)

Aslo

xNew = x(::-1,:)
zNew = z(::-1,:)

> I think I am making headway on this problem, but the function - linint2,
> requires
> the latitude dimension to be monotonically increasing. My lat arrays go
> from north to south (decreasing).
>
> Is there a simple function to flip the data? or another interpolation
> function that doesn't require latitude
> to be monotonically increasing?
>
> On Mon, May 7, 2012 at 6:26 PM, Micah Sklut <micahs2005@gmail.com> wrote:
>
>> Here is my problem:
>>
>> I have two arrays of contour data.
>> array1 is of resolution 1/6 degree.
>> array2 is of resolution 1/2 degree.
>>
>> I want to create a contour graph that overlays array1, when data in
>> array1
>> is not -999.
>>
>> Step 1, I need to conform array2 to 1/6 degree resolution.
>> Step 2, I need to overlay only if the data is non fill.
>>
>> Any thoughts on functions to use or best approaches is appreciated.
>>
>> Thank you,
>>
>> --
>> Micah Sklut
>>
>>
>>
>
>
> --
> Micah Sklut
> _______________________________________________
> 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 Tue May 8 09:02:18 2012

This archive was generated by hypermail 2.1.8 : Thu May 10 2012 - 16:57:50 MDT