Skip to content

Small bug in raster reading a NetCDF?

3 messages · Jonathan Greenberg, Ping Yang, Pascal Oettli

1 day later
#
Hello,

Extent and length of latitudes are correct.

In NCEP/NCAR reanalysis, coordinates are the centers of grid cells. 
Thus, for North Pole, the grid extents (+---+), centers (o) and Earth 
"limits" (____) are:


91.25 +-------+-------+-------+-------+
       |               |               | 1.25
       |               |               |
__90__+_______o_______|_______o_______|______
       |               |               |
       |               |               | 1.25
88.75 +-------+-------+-------+-------+
       |               |               | 1.25
       |               |               |
  87.5 +       o       +       o       +
       |               |               |
       |               |               | 1.25
86.25 +-------+-------+-------+-------+
     -1.25     0      1.25    2.5     3.75


180 = 73 x 2.5 - (2 x 1.25)
                       ^
             |91.25-90| + |-91.25+90|

Regards,
Pascal
On 05/26/2013 07:13 AM, Jonathan Greenberg wrote: