Gaussian weights for Lin-Rood grid

From: Erik Kluzek (erik AT XXXXXX)
Date: Fri Nov 17 2000 - 12:42:49 MST

  • Next message: Dennis Shea: "Re: Gaussian weights for Lin-Rood grid"

    NCL Users

            The routine "gaus" is a very convienent method to get weights and latitudes
    for a Gaussian grid. I need to get Gaussian weights but for a non-standard
    Gaussian grid with pole points. So given a list of latitudes I need to come
    up with the corresponding gaussian weights. Here's an example....

     lat = -90, -64.2857142857143, -38.5714285714286, -12.8571428571429,
        12.8571428571429, 38.5714285714286, 64.2857142857143, 90 ;

     gw = 0.101228536290376, 0.222381034453374, 0.313706645877887,
        0.362683783378362, 0.362683783378362, 0.313706645877887,
        0.222381034453374, 0.101228536290376 ;

    Erik Kluzek, (CGD at NCAR)
    National Center for Atmospheric Research
    Boulder CO, (off) (303)497-1326 (fax) (303)497-1324
    --------- Home page and public PGP key---------------
              http://www.cgd.ucar.edu/~erik
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!



    This archive was generated by hypermail 2b29 : Fri Nov 17 2000 - 15:05:15 MST