Ignore:
Timestamp:
02/18/14 16:43:11 (10 years ago)
Author:
pinsard
Message:

fix thanks to coding rules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/python_script/newgridns_zm.py

    r7 r9  
    3030    for kk in range(0,n): 
    3131        if x[kk] == -180: 
    32            ix[kk] = 3600 
     32            ix[kk] = 3600 
    3333        else: 
    34            ix[kk] = math.ceil((x[kk] - x0)/dx)-1 
     34            ix[kk] = math.ceil((x[kk] - x0)/dx)-1 
    3535 
    3636    for kk in range(0,n): 
    3737        if y[kk] == -90: 
    38            iy[kk] = 0 
     38            iy[kk] = 0 
    3939        else: 
    40            iy[kk] = math.ceil((y[kk] - y0)/dy)-1 
     40            iy[kk] = math.ceil((y[kk] - y0)/dy)-1 
    4141 
    4242 
Note: See TracChangeset for help on using the changeset viewer.