Changeset 1192 in lmdz_wrf for trunk/tools


Ignore:
Timestamp:
Oct 17, 2016, 5:10:38 PM (8 years ago)
Author:
lfita
Message:

Fixing calculation of the meridians and parallels on `draw_2D_shadow'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/drawing_tools.py

    r1191 r1192  
    40664066        dy = lat0.shape[0]
    40674067
    4068         nlon = lon0[0,0]
    4069         xlon = lon0[dy-1,dx-1]
    4070         nlat = lat0[0,0]
    4071         xlat = lat0[dy-1,dx-1]
     4068#        nlon = lon0[0,0]
     4069#        xlon = lon0[dy-1,dx-1]
     4070#        nlat = lat0[0,0]
     4071#        xlat = lat0[dy-1,dx-1]
     4072        nlon = np.min(lon0)
     4073        xlon = np.max(lon0)
     4074        nlat = np.min(lat0)
     4075        xlat = np.max(lat0)
    40724076
    40734077# Thats too much! :)
Note: See TracChangeset for help on using the changeset viewer.