Changeset 1411 in lmdz_wrf


Ignore:
Timestamp:
Jan 17, 2017, 9:35:35 AM (8 years ago)
Author:
lfita
Message:

Improving error message on output domain boundaries line in `curve_section'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r1410 r1411  
    1863518635            print '    x-curve range must lay between 0,',dimx-1
    1863618636            print '    provided values iBL:', iBL, 'iUR:', iUR
     18637            print '    line must lay within 0, 0 x ',dimx-1,',',dimy-1
     18638            print '    values given: ', iBL,',',jBL,'x',iUR,',',jUR
    1863718639            quit(-1)
    1863818640        if jBL >= dimy or jUR >= dimy:
     
    1864118643            print '    x-curve range must lay between 0,',dimy-1
    1864218644            print '    provided values jBL:', jBL, 'jUR:', jUR
     18645            print '    line must lay within 0, 0 x ',dimx-1,',',dimy-1
     18646            print '    values given: ', iBL,',',jBL,'x',iUR,',',jUR
    1864318647            quit(-1)
    1864418648
Note: See TracChangeset for help on using the changeset viewer.