Changeset 2523 in lmdz_wrf


Ignore:
Timestamp:
May 9, 2019, 11:42:13 AM (6 years ago)
Author:
lfita
Message:

Working version of `compute_slices_stats_areaweighted' for lon,lat boxes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r2521 r2523  
    3043530435                 di1=d1, di2=d0, ds1=ssh[2], ds2=ssh[1], ds3=ssh[0],                 \
    3043630436                 maxngridsin=sin.shape[1])
     30437           elif Nvdims == 2 and len(sN.shape) == 2:
     30438               voutt=fsci.module_scientific.multi_spaceweightstats_in2drkno_slc2v2(  \
     30439                 varin=varvt, ngridsin=sNt, gridsin=sint, percentages=spt,           \
     30440                 di1=d1, di2=d0, ds1=ssh[1], ds2=ssh[0],                             \
     30441                 maxngridsin=sin.shape[1])
    3043730442           elif Nvdims == 1 and len(sN.shape) == 3:
    3043830443               voutt=fsci.module_scientific.multi_spaceweightstats_in1drkno_slc3v3(  \
     
    3044730452               print ' var_rank: 3   slice_rank: 3'
    3044830453               print ' var_rank: 2   slice_rank: 3'
     30454               print ' var_rank: 2   slice_rank: 2'
    3044930455               print ' var_rank: 1   slice_rank: 3'
    3045030456               quit(-1)
Note: See TracChangeset for help on using the changeset viewer.