Re: Regridding

From: Dennis Shea (shea AT ucar.edu)
Date: Sat Oct 29 2005 - 11:42:11 MDT

  • Next message: Anders Ăman: "Volume transports in the Atlantic"

    > How to compare a 73x144 fixed grid field with a 40X48 gaussian R15 grid
    > field?
    > Is it something like:
    >
    > field1 = f2gsh (field1, (/40,48/), 0) ; 73X144 fixed to 40X48 gaussian
        ^^^^^^ ^^^^^^
             * *
       (40,48) (73,144)

        field2 = f2gsh (field1, (/40,48/), 0) ; 73X144 fixed to 40X48 gaussian

    or, if you want meta data [contributed.ncl]

        field2 = f2gsh_Wrap (field1, (/40,48/), 0) ; 73X144 fixed to 40X48 gaussian
    >
    >
    > T = 15
    > a = new ( (/40,25/), float) ; 25=(MLON+2)/2=(48+2)/2
    > b = new ( (/40,25/), float)
    > shagc (field1,a,b)
               field2
    > rhomb_trunc (a,b,T)
    > shsgc (a,b,field1)
                   field2

    >
    > I tried this, but the results seems not quite right.
    >
    > Any comments? Thanks a lot.
    >
    >
    > Muhtarjan Osman
    > ASGG
    > LAWR
    > UC Davis
    >
    >
    > _______________________________________________
    > ncl-talk mailing list
    > ncl-talk@ucar.edu
    > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
    >
    _______________________________________________
    ncl-talk mailing list
    ncl-talk@ucar.edu
    http://mailman.ucar.edu/mailman/listinfo/ncl-talk



    This archive was generated by hypermail 2b29 : Mon Oct 31 2005 - 20:18:27 MST