Changeset 1409 in lmdz_wrf for trunk/tools/generic_tools.py


Ignore:
Timestamp:
Jan 16, 2017, 4:20:52 PM (8 years ago)
Author:
lfita
Message:

Adding no-sliced variables (by absence of one of the dimensions in the slice) from `curve_section'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/generic_tools.py

    r1405 r1409  
    1107811078            exctcurvloc[icv,0] = np.float(exctcurvloc[icv,0]) + curveweights[icv,ipy,ipx]*(ipy-1.)
    1107911079            exctcurvloc[icv,1] = np.float(exctcurvloc[icv,1]) + curveweights[icv,ipy,ipx]*(ipx-1.)
    11080             print '    ' + fname + 'ip:', ip, 'ipy:', ipy-1., 'wgt:', curveweights[icv,ipy,ipx], \
    11081               'exctcurv:', exctcurvloc[icv,0]
    11082         print '  ' + fname + ' icv:', icv, 'curve:', curve[icv,:], 'ijloc:', ijloc, \
    11083           'cwgt:', curveweights[icv,:,:], 'exctloc:', exctcurvloc[icv,:]
     11080            #print '    ' + fname + 'ip:', ip, 'ipy:', ipy-1., 'wgt:', curveweights[icv,ipy,ipx], \
     11081            #  'exctcurv:', exctcurvloc[icv,0]
     11082        #print '  ' + fname + ' icv:', icv, 'curve:', curve[icv,:], 'ijloc:', ijloc, \
     11083        #  'cwgt:', curveweights[icv,:,:], 'exctloc:', exctcurvloc[icv,:]
    1108411084#    quit()
    1108511085
Note: See TracChangeset for help on using the changeset viewer.