Changeset 2894 for trunk


Ignore:
Timestamp:
01/31/14 19:07:26 (11 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-6121

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No

Module(s): Module Names change impacts.

Description: Describe your changes here...

Fix for latitude inversion.


Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asapgrid.py

    r2686 r2894  
    486486                    #print irow
    487487        # show image
    488         extent=[self.trc[0]+0.5*self.cellx,
    489                 self.blc[0]-0.5*self.cellx,
     488        extent=[self.blc[0]-0.5*self.cellx,
     489                self.trc[0]+0.5*self.cellx,
    490490                self.blc[1]-0.5*self.celly,
    491491                self.trc[1]+0.5*self.celly]
  • trunk/src/STGrid.cpp

    r2868 r2894  
    19921992    pix(1) = (Double)(iy);
    19931993    for ( Int ix = 0 ; ix < nx_ ; ix++ ) {
    1994       pix(0) = (Double)(nx_-1-ix);
     1994      pix(0) = (Double)(ix);
    19951995      dircoord_->toWorld(dir,pix);
    19961996      //os << "dir[" << ix << "," << iy << "]=" << dir << LogIO::POST;
Note: See TracChangeset for help on using the changeset viewer.