Changeset 827 for palm/trunk/SCRIPTS/NCL/profiles.ncl
- Timestamp:
- Feb 20, 2012 1:09:00 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/NCL/profiles.ncl
r783 r827 1010 1010 nt = dimsizes(t_all) 1011 1011 1012 1013 1012 if (nt .EQ. 1)then 1014 1013 delta_t=t_all(nt-1)/nt 1015 1014 else 1016 delta_t=(t_all(nt-1)-t_all(0))/(nt-1) 1017 end if 1015 delta_t_array = new(nt-1,double) 1016 1017 do i=0,nt-2 1018 delta_t_array(i) = t_all(i+1)-t_all(i) 1019 end do 1020 1021 delta_t = min(delta_t_array) 1022 delete(delta_t_array) 1023 end if 1024 1018 1025 1019 1026 ; **************************************************** … … 1205 1212 resP = True 1206 1213 resP@txFont = "helvetica" 1207 resP@txString = f_att@title1214 ;resP@txString = f_att@title 1208 1215 resP@txFuncCode = "~" 1209 1216 resP@txFontHeightF = 0.015
Note: See TracChangeset
for help on using the changeset viewer.