Changeset 267 for palm/trunk/SCRIPTS/NCL/profiles.ncl
- Timestamp:
- Mar 25, 2009 10:25:50 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/NCL/profiles.ncl
r250 r267 73 73 start_f(0) = start_f_1 74 74 end_f(0) = end_f_1 75 76 if (prof3d .EQ. -1)then77 print(" ")78 print("Set 'prof3d' to 0 or 1")79 print(" ")80 exit81 else82 if (prof3d .NE. 0 .AND. prof3d .NE. 1)then83 print(" ")84 print("'prof3d'= "+prof3d+" is invalid; set 'prof3d' to 0 or 1")85 print(" ")86 exit87 end if88 end if89 75 90 76 if (no_files .GT. 1) then … … 372 358 373 359 vNam = getfilevarnames(f_att) 374 360 375 361 if (nof .EQ. 0)then 376 362 vNam0=vNam … … 407 393 print(" ") 408 394 end if 395 396 prof3d = 0 397 do varn = dim-1,0,1 398 if ( isStrSubset( vNam(varn), "zu_3d") .OR. isStrSubset( vNam(varn), "zw_3d")) then 399 prof3d = 1 400 break 401 end if 402 end do 409 403 410 404 ;-----------------------------------------------------below steps only for first file -> nof=0
Note: See TracChangeset
for help on using the changeset viewer.