Changeset 523 for palm/trunk/SCRIPTS/NCL


Ignore:
Timestamp:
Mar 26, 2010 1:34:44 PM (14 years ago)
Author:
heinze
Message:

Bugfix in profiles.ncl concerning no_files>1

File:
1 edited

Legend:

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

    r518 r523  
    17781778            min_value = 0.1
    17791779            max_value = 0.1
    1780          end if
    1781    
     1780         end if       
     1781
    17821782         if (over .EQ. 0) then 
    17831783            res@gsnLeftString      = vNam(varn)
     
    17891789               res@trXMinF            = min(data(varn,:,min_z_int:max_z_int))-min_value
    17901790            else
    1791                res@trXMinF            = xs
     1791               res@trXMinF            = xs     
    17921792            end if
    17931793            if (xe .EQ. -1) then
     
    28542854            print("nof="+nof+" und n="+n)
    28552855            multi_plot(nof,n)=plot(n)
    2856             max_nof(nof,n)=max(data(varn,:,:))
    2857             min_nof(nof,n)=min(data(varn,:,:))
     2856            max_nof(nof,n)=max(data(varn,:,min_z_int:max_z_int))
     2857            min_nof(nof,n)=min(data(varn,:,min_z_int:max_z_int))
    28582858            name(nof,n)   =vNam(varn)
    28592859            unit_(nof,n)  =unit(varn)
Note: See TracChangeset for help on using the changeset viewer.