Hi Olivia,
Please see the attached Fortran code. It's the "arealinint2da" routine that gets called internally when you call area_hi2lores from NCL.
There are a lot of arguments to the Fortran routine:
subroutine arealinint2da(mxi,nyi,ngrd,xi,yi,zi,wxi,wyi,zimsg
+ ,mcyc,ncyc,mxo,nyo,xo,yo,zo,critpc,debug
+ ,ier
+ ,xilft,xirgt, yibot, yitop, dyi
+ ,xolft, xorgt, yiwrk, yowrk
+ ,fracx, fracy, ziwrk, zowrk, indx, indy)
The "xi", "yi" "zi" are the first three arguments passed to area_hi2lores.
"mcyc" is the fourth argument in area_hi2lores.
"wxi" is the fifth argument in area_hi2lores.
"xo","yo","zo" are the last arguments right before the "option" argument.
The rest of the Fortran arguments are either dimension sizes or work arrays.
--Mary
On Sep 21, 2012, at 1:05 PM, Olivia wrote:
> Dear NCL,
>
> I am using the area_hi2lores function to do the regridding from high
> resolution to low resolution. I know how to use it, but I don't know the
> details how it works.
>
> Does anyone have the source code of area_hi2lores?
>
> Please sent it to me (olivia.learn.ncl@gmail.com).
>
> Thanks so much.
>
> Best wishes
>
> Olivia
>
>
> _______________________________________________
> 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
This archive was generated by hypermail 2.1.8 : Fri Sep 21 2012 - 16:22:29 MDT