Changeset 22493


Ignore:
Timestamp:
03/02/18 10:21:09 (7 years ago)
Author:
Mathieu Morlighem
Message:

BUG: lat lon are in radiant first, and then we convert them to degrees:

Location:
issm/trunk-jpl/src/m/coordsystems
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/coordsystems/xy2ll.m

    r22339 r22493  
    7272[res1,res2] = find(rho(:) <= 0.1);
    7373if res1
    74         lat(res1) = 90. * sgn;
     74        lat(res1) = pi/2. * sgn;
    7575        lon(res1) = 0.0;
    7676end
  • issm/trunk-jpl/src/m/coordsystems/xy2ll.py

    r21303 r22493  
    7373        res1 = np.nonzero(rho <= 0.1)[0]
    7474        if len(res1) > 0:
    75                 lat[res1] = 90. * sgn
     75                lat[res1] = pi/2. * sgn
    7676                lon[res1] = 0.0
    7777       
Note: See TracChangeset for help on using the changeset viewer.