Changeset 2305 in lmdz_wrf


Ignore:
Timestamp:
Jan 30, 2019, 9:41:55 PM (6 years ago)
Author:
lfita
Message:

Trying to fix. HGT values are transpose!!! (Due to Fortran retrieving indices?)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r2304 r2305  
    2852428524
    2852528525    sliceNAt = sliceNA.transpose()
     28526    sliceNBt = sliceNB.transpose()
     28527
    2852628528    sliceinAt = sliceinA.transpose()
    28527     sliceNBt = sliceNB.transpose()
    2852828529    sliceinBt = sliceinB.transpose()
     28530    ## We are in Fortran thus (dx,dy) and 1st:1 !!!!
     28531    #sliceinAt0 = sliceinA.transpose()
     28532    #sliceinBt0 = sliceinB.transpose()
     28533    #sliceinAt = np.ones((sliceinAt0.shape), dtype=np.float)*gen.fillValueF
     28534    #sliceinBt = np.ones((sliceinBt0.shape), dtype=np.float)*gen.fillValueF
     28535    #sliceinAt[...,0] = sliceinAt0[...,1]+1
     28536    #sliceinAt[...,1] = sliceinAt0[...,0]+1
     28537    #sliceinBt[...,0] = sliceinBt0[...,1]+1
     28538    #sliceinBt[...,1] = sliceinBt0[...,0]+1
    2852928539
    2853028540    NpointsABt, pointsABt, inpA, inpB = fsci.module_scientific.coincident_gridsin2d( \
Note: See TracChangeset for help on using the changeset viewer.