Changeset 1648 in lmdz_wrf


Ignore:
Timestamp:
Sep 12, 2017, 8:22:38 PM (7 years ago)
Author:
lfita
Message:

Getting lons as [-180., 180.] in 'plot_2D_shadow'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/drawing_tools.py

    r1605 r1648  
    42814281        quit(-1)
    42824282
     4283    # Getting the right lon values for plotting
     4284    if mapv is not None:
     4285        dimxv = np.where(dimxv > 180., dimxv-360., dimxv)
     4286
    42834287    # Axis ticks
    42844288    # Usually axis > x must be the lon, thus...
Note: See TracChangeset for help on using the changeset viewer.