Changeset 769 for palm/trunk/SCRIPTS/NCL/timeseries.ncl
- Timestamp:
- Oct 26, 2011 2:20:45 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/NCL/timeseries.ncl
r758 r769 195 195 delta_t = t_all(nt-1)/nt 196 196 197 if (nt .LE. 1) then 198 print(" ") 199 print("Input file contains only one time step -> " +\ 200 "plot of timeseries is not possible ") 201 print(" ") 202 exit 203 end if 204 197 205 ;**************************************************** 198 206 ; start of time step and different types of mistakes that could be done … … 228 236 st=i 229 237 break 238 else 239 st=0 230 240 end if 231 241 end do … … 233 243 start_time_step .LT. t_all(nt-1)) then 234 244 st=nt-2 235 end if 236 if (.not. isvar("st"))then 237 print(" ") 238 print("'start_time_step' = "+ start_time_step +"h is invalid") 239 print(" ") 240 print("Select another 'start_time_step'") 241 print(" ") 242 exit 245 else 246 st=0 243 247 end if 244 248 … … 286 290 et=i 287 291 break 292 else 293 et=0 288 294 end if 289 295 end do 290 291 if (.not. isvar("et"))then292 print(" ")293 print("'end_time_step' = "+ end_time_step +"h is invalid")294 print(" ")295 print("Select another 'end_time_step'")296 print(" ")297 exit298 end if299 296 300 297 delete(start_time_step)
Note: See TracChangeset
for help on using the changeset viewer.