Ignore:
Timestamp:
Mar 16, 2010 1:37:48 PM (15 years ago)
Author:
heinze
Message:

Using the NCL scripts by means of the shell script palmplot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/NCL/cross_sections.ncl

    r418 r513  
    8282      shape = 1
    8383   end if
    84    
     84
    8585   if (xyc .NE. 0 .AND. xyc .NE. 1)then
    8686      print(" ")
     
    13521352         data!4 = "x" 
    13531353
    1354          MinVal(varn) = min(data(varn,:,:,:,:))
    1355          MaxVal(varn) = max(data(varn,:,:,:,:))
     1354         MinVal(varn) = min(data(varn,start_time_step:end_time_step,0:(ze-zs),0:(ye-ys),0:(xe-xs)))
     1355         MaxVal(varn) = max(data(varn,start_time_step:end_time_step,0:(ze-zs),0:(ye-ys),0:(xe-xs)))
    13561356         
    13571357         unit(varn) = data_att@units
     
    16231623                 
    16241624                  if ( sort .eq. "layer" ) then
    1625                      if (z_d(zs+li) .eq. -1) then
     1625                     if (z_d(li) .eq. -1) then
    16261626                        if (delta_z .EQ. -1) then
    16271627                           level = "-average"
     
    17211721
    17221722                  if ( sort .eq. "time" ) then
    1723                      if ( x_d(xs+lo) .eq. -1 ) then
     1723                     if ( x_d(lo) .eq. -1 ) then
    17241724                        level = "-average"
    17251725                     else
     
    17441744
    17451745                  if ( sort .eq. "layer" ) then
    1746                      if ( x_d(xs+li) .eq. -1 ) then
     1746                     if ( x_d(li) .eq. -1 ) then
    17471747                        level = "-average"
    17481748                     else
Note: See TracChangeset for help on using the changeset viewer.