[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20021226: Unidata gribdec.tar.Z bundle (cont.)

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: 20021226: Unidata gribdec.tar.Z bundle (cont.)
  • Date: Thu, 26 Dec 2002 13:21:41 -0700

>From: "HOETH, BRIAN R. (JSC-ZS) (LM)" <address@hidden>
>Organization: JSFC
>Keywords: 200211192250.gAJMoQ427093 McIDAS gribdec gbtbpds001.bv1

Brian,

>I know it's the holidays, so I don't expect you to be around to answer this
>right away,

Unfortunately, I am here.

>but I just wanted to touch base with you.   Did you ever talk
>with Dave Santek?  Any word on how to deal with the Lat/Lon extents?

I havn't have a chance to talk with Dave yet, but I did take a little
time to look at the problem.  I think that the most expedient solution
is to reorganize the grid points so that they fall within "normal"
McIDAS Lat,Lon bounds.

What I mean is that the grid that looks like:

          (90,0)
             +----------+----------+----------+----------+
             |                      #####################|
             |                      #####################|
             |                      #####################|
             |                      #####################|
             |                      #####################|
             |                      #####################|
             |                      #####################|
             |                      #####################|
             +----------+----------+----------+----------+
                                                   (-90,-360)

will need to be transformed to look like:


          (90,180)              (90,0)
             +----------+----------+----------+----------+
             |#####################                      |
             |#####################                      |
             |#####################                      |
             |#####################                      |
             |#####################                      |
             |#####################                      |
             |#####################                      |
             |#####################                      |
             +----------+----------+----------+----------+
                                                   (-90,-180)


After reading the Mcmkmcgrid.c code a bit, I decided that since the
grid point values are already being moved from their original ordering
to that required by McIDAS, the reordering will not add much new
overhead.

Your email was timely 'cause I was going to look more at the code
today.  I guess I am now committed to do so :-(.

Tom