[ncl-install] questions about ncarg library for interpolation routines

Fred Clare fredclare at mac.com
Fri Mar 11 14:10:55 MST 2011


Jemma,

Attached is complete source for the old cubic spline interpolation
package.  Dick Valent was able to dig this up.  The package has seven
routines: coeff1, terp1, coeff2, terp2, trip, search, interp.  All of
these are part of the HLU distribution, except for coeff2 and terp2.

If you want to stay current, in place of using the cubic spline package,
I would recommend using the more recent functions documented in
the Fitgrid package at:

   http://ncarg.ucar.edu/ngmath/fitgrid/fithome.html

Fred Clare

-------------- next part --------------
A non-text attachment was scrubbed...
Name: CUBSPL.f
Type: application/octet-stream
Size: 129948 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-install/attachments/20110311/4ca280cb/attachment-0001.obj 
-------------- next part --------------




On Mar 9, 2011, at 10:46 PM, Jemma Wu wrote:

> Hi Mary,
>
> Thanks for your help on installation of ncarg.5.
>
> Now I have managed to make the old Fortran codes (which used to run  
> with ncarg.v4 if you remember) to run with ncarg.v5. However, the  
> results are not very correct. I found the codes call some ncarg  
> interpolation subroutines (coeff2, terp2, interp, etc) which were in  
> the cubspl package (?) of version 4. But I couldn't find this  
> package in the ncarg.v5 lib that I installed. Could you point to me  
> which package they are in? and are these subroutines still the same  
> with version 4?
>
> Many thanks.
>
> Regards,
> Jemma
>
>
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install



More information about the ncl-install mailing list