Changeset 288 in lmdz_wrf
- Timestamp:
- Feb 25, 2015, 3:54:32 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/nc_var_tools.py
r287 r288 10722 10722 # circle values 10723 10723 for iz in range(dimz): 10724 tslice = [ slice(it)]+cslicevnoThor10724 tslice = [it]+cslicevnoThor 10725 10725 rvarvalst[iz,:,:] = np.where(circdist[tuple(tslice)] > \ 10726 10726 np.float(Nrad), fillValue, rvarvalst[iz,:,:]) … … 10946 10946 10947 10947 rvarvalst = varobj[tuple(cslicev)] 10948 cdist = circdist[tuple(cslicev noT)]10948 cdist = circdist[tuple(cslicev)] 10949 10949 # circle values 10950 10950 rvarvalst = np.where(cdist > np.float(Nrad),fillValue,rvarvalst) 10951 print it,'Lluis: cdist', cdist, 'Nrad:',Nrad10952 10953 10951 rvarvals[it,:,:] = rvarvalst 10954 10952
Note: See TracChangeset
for help on using the changeset viewer.