Ignore:
Timestamp:
Apr 2, 2008 1:22:13 PM (16 years ago)
Author:
letzel
Message:
  • NCL scripts in trunk/SCRIPTS/NCL updated for vector plots
File:
1 edited

Legend:

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

    r154 r157  
    1010
    1111   if (isfilepresent("~/.ncl_preferences")) then
    12       parameter = asciiread("~/.ncl_preferences",63,"string")
     12      parameter = asciiread("~/.ncl_preferences",73,"string")
    1313      delete(parameter@_FillValue)
    1414   else
     
    160160   if ( .not. isvar("end_time_step") ) then             
    161161      end_time_step = nt-1
    162       if (parameter(15) .NE. "nt-1") then
     162      if (parameter(15) .NE. "nt") then
    163163         if (parameter(15) .LE. "0")
    164164            print(" ")
     
    420420      e=-1
    421421   end if 
    422    
     422
    423423   do varn = 0, dim-1   
    424424     
     
    470470
    471471         temp = f->$vNam(varn)$     
    472          data = temp(start_time_step:end_time_step,:)     
     472         data = temp(start_time_step:end_time_step,:)   
     473         testx= data*100 
    473474         print("         plot of " + vNam(varn))
    474475         data!1 = "z"
     
    487488       
    488489         plot(n) = gsn_csm_xy(wks,data,z_pr,res) 
    489       
     490   
    490491         delete(temp)
    491492         delete(data)
Note: See TracChangeset for help on using the changeset viewer.