Hi Fred,<div><br></div><div>Thanks very much for sending me the CUBSPL source code. I'll replace my old codes and see how it goes. I'll also have a look at the Fitgrid package and see if I can migrate to it.</div><div>
<br></div><div>Regards,</div><div>Jemma<br><br><div class="gmail_quote">On Sat, Mar 12, 2011 at 8:10 AM, Fred Clare <span dir="ltr"><<a href="mailto:fredclare@mac.com">fredclare@mac.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Jemma,<br>
<br>
Attached is complete source for the old cubic spline interpolation<br>
package. Dick Valent was able to dig this up. The package has seven<br>
routines: coeff1, terp1, coeff2, terp2, trip, search, interp. All of<br>
these are part of the HLU distribution, except for coeff2 and terp2.<br>
<br>
If you want to stay current, in place of using the cubic spline package,<br>
I would recommend using the more recent functions documented in<br>
the Fitgrid package at:<br>
<br>
<a href="http://ncarg.ucar.edu/ngmath/fitgrid/fithome.html" target="_blank">http://ncarg.ucar.edu/ngmath/fitgrid/fithome.html</a><br><font color="#888888">
<br>
Fred Clare<br>
<br>
</font><br><br>
<br>
<br>
<br>
On Mar 9, 2011, at 10:46 PM, Jemma Wu wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Mary,<br>
<br>
Thanks for your help on installation of ncarg.5.<br>
<br>
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?<br>
<br>
Many thanks.<br>
<br>
Regards,<br>
Jemma<br>
<br>
<br>
_______________________________________________<br>
ncl-install mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br>
</blockquote>
<br>
<br></blockquote></div><br><br clear="all"><br><br>
</div>