Changeset 735


Ignore:
Timestamp:
Jul 24, 2012, 12:51:53 PM (12 years ago)
Author:
aslmd
Message:

UTIL PYTHON: fixed a stupid bug introduced in recent commit. definition of lat/lon was incorrect.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UTIL/PYTHON/planetoplot.py

    r725 r735  
    200200          if slat is not None: sslat = slat 
    201201      ### we define lat/lon vectors. we get what was done in getcoorddef.
    202           lat = lat2d[0,:] ; lon = lon2d[:,0]
     202          lat = lat2d[:,0] ; lon = lon2d[0,:]
    203203      ### we define areas. this is needed for calculate means and weight with area. this is not compulsory (see reduce_field).
    204204          if "aire" in nc.variables:      area = nc.variables["aire"][:,:]
Note: See TracChangeset for help on using the changeset viewer.