[Thread Prev][Thread Next][Index]

Re: [ferret_users] vertical weighted averagng



Hi Robert,

>With temp[x=@ave,y=@ave], Ferret does compute the area weighted average if the horizontal axes are longitude 
>and latitude.

So in my example the problem is that x and y axis aren't longitude and latitude. Fortunately there are data with names ULONG and ULAT which are lat and log. So the problem is how to tell ferret that x ais should be ULONG and y axis ULAT and then use @AVE to compute weighted average,

One idea is to use "DEFINE AXIS/FROM_DATA" and "@ASN".

I forgot to mention that if your grid spacings aren't regular, the weights won't be exact. The error may or may not matter depending on your application.

The problem is the same as the vertical coordinates we talked about before. For an irregular axis, Ferret cannot know the width of the box unless the locations of the edges are provided (the "_bnds" variable in the CF convention).

Ryo


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement