Ignore:
Timestamp:
Mar 16, 2010 1:37:48 PM (14 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/profiles.ncl

    r418 r513  
    4848   file_in_1 = new(no_files,logical)
    4949   start_f   = new(no_files,integer)
    50    end_f = new(no_files,integer)
     50   end_f     = new(no_files,integer)
    5151   
    5252   if (file_1 .EQ. "File in") then
     
    433433      end if
    434434
     435      if(comma .gt. dim)
     436          print(" ")
     437          print("The variables 'var="+var+"'" )
     438          print("do not exist on your input file;")
     439          print("be sure to have one comma before and after each variable")
     440          print(" ")
     441          exit
     442      end if
     443
    435444      indices = new((/comma/),integer)
    436445      comma   = 0
     
    15711580                  do i=1,dimz-1
    15721581                     do j=0,np-1
    1573                         temp= f[:]->$vNam(varn)$
     1582                        temp = f[:]->$vNam(varn)$
    15741583                        temp_att = f_att->$vNam(varn)$
    15751584                        data_temp = temp(ti_in(j),i,start_y:end_y,start_x:end_x)
     
    15801589                  do i=0,dimz-1
    15811590                     do j=0,np-1
    1582                         temp= f[:]->$vNam(varn)$
     1591                        temp = f[:]->$vNam(varn)$
    15831592                        temp_att = f_att->$vNam(varn)$
    15841593                        data_temp = temp(ti_in(j),i,start_y:end_y,start_x:end_x)
Note: See TracChangeset for help on using the changeset viewer.