Changeset 633 in lmdz_wrf for trunk


Ignore:
Timestamp:
Sep 18, 2015, 2:49:59 PM (9 years ago)
Author:
lfita
Message:

Fixing a tiny temporal dimensional check issue on 'compute_tevolboxtraj'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r632 r633  
    1122611226        dimt = objfile.variables[timn].shape[0]
    1122711227
    11228     if Tbeg + Ttraj > dimt - 1:
     11228    if Tbeg + Ttraj > dimt:
    1122911229        print errormsg
    1123011230        print '  ' + fname + ': trajectory has ', Ttraj, ' time steps and starts ' + \
    11231         ' at',Tbeg,' and data',varobj.shape[0], '" !!!!!'
     11231        ' at',Tbeg,' and data',dimt, '" !!!!!'
    1123211232        quit(-1)
    1123311233
Note: See TracChangeset for help on using the changeset viewer.