Changeset 586 in lmdz_wrf for trunk/tools


Ignore:
Timestamp:
Jul 8, 2015, 2:45:34 PM (10 years ago)
Author:
lfita
Message:

Adding 360 deg transformation for the position of the points on `draw_points'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/drawing_tools.py

    r585 r586  
    26222622    if not mapv is None:
    26232623        vlon = np.where(vlon[:] < 0., 360. + vlon[:], vlon[:])
     2624        xvala = np.array(xval)
     2625        xvala = np.where(xvala < 0., 360. + xvala, xvala)
     2626        xval = list(xvala)
    26242627
    26252628        map_proj=mapv.split(',')[0]
Note: See TracChangeset for help on using the changeset viewer.