Ignore:
Timestamp:
Aug 28, 2008 12:15:13 PM (16 years ago)
Author:
letzel
Message:
  • NCL scripts in trunk/SCRIPTS/NCL updated
File:
1 edited

Legend:

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

    r190 r194  
    11begin
    22
    3 ;*********************************************************
    4 ; Please specify the used script by setting it to 1:
    53;*********************************************************
    6  
    7    cross_sections = 0
    8    profiles       = 0
    9    timeseries     = 0
    10    spectra        = 0
     4
     5script=which_script
    116   
    127;*********************************************************
    13 
     8   
    149   ;******************************************************
    1510   ; parameters used by CROSS_SECTIONS
    1611   ;******************************************************
    1712   
    18    if (cross_sections .EQ. 1)then
     13   if (script .EQ. "cross_section")then
    1914   
    2015      ;***************************************************
     
    2823      ;***************************************************
    2924      if(.not. isvar("file_1"))then
    30      
    31      
     25
     26
    3227         file_1 = "File in"
    3328         
    34      
     29       
    3530      end if
    3631      ;***************************************************
     
    8176      ; data type: string
    8277      ;
    83       ; default:   "~/test"
     78      ; default:   "~/test_cs"
    8479      ;***************************************************
    8580      if(.not. isvar("file_out"))then   
     
    264259      ; OPTIONAL --zs-- MINIMUM Z-AXIS
    265260      ;
    266       ; value for minimum of z-axis, selectable if there are NO preseted layers for z (as for XZ or YZ 2D-DATA);
    267       ; you don't have to specify a precise meter value from the input file, it will be rounded to the next
    268       ; existent value
     261      ; index for minimum of z-axis, selectable if there are NO preseted layers for z (as for XZ or YZ 2D-DATA);
     262      ; you cannot specify a meter value from the input file due to grid stretching 
    269263      ;
    270264      ; data type: integer
     
    282276      ; OPTIONAL --ze-- MAXIMUM Z-AXIS
    283277      ;
    284       ; value for maximum of z-axis, selectable if there are NO preseted layers for z (as for XZ or YZ 2D-DATA);
    285       ; you don't have to specify a precise meter value from the input file, it will be rounded to the next
    286       ; existent value
     278      ; index for maximum of z-axis, selectable if there are NO preseted layers for z (as for XZ or YZ 2D-DATA);
     279      ; you cannot specify a meter value from the input file due to grid stretching 
    287280      ;
    288281      ; data type: integer
     
    417410      end if             
    418411      ;***************************************************
    419      
     412
    420413   end if
    421414
     
    424417   ;******************************************************
    425418   
    426    if (profiles .EQ. 1)then
    427    
     419   if (script .EQ. "profiles")then
     420
    428421      ;***************************************************
    429422      ; REQUIRED --file_1-- INPUT FILE
     
    481474      ; data type: string
    482475      ;
    483       ; default:   "~/test"
     476      ; default:   "~/test_pr"
    484477      ;***************************************************
    485478      if (.not. isvar("file_out"))then 
     
    11571150       
    11581151   end if
    1159    
     1152
    11601153   ;******************************************************
    11611154   ; parameters used by SPECTRA
    11621155   ;******************************************************
    11631156   
    1164    if (spectra .EQ. 1) then
    1165    
     1157   if (script .EQ. "spectra") then
     1158
    11661159      ;***************************************************
    11671160      ; REQUIRED --file_1-- INPUT FILE
     
    12031196      ; data type: string
    12041197      ;
    1205       ; default:   "~/test"
     1198      ; default:   "~/test_sp"
    12061199      ;***************************************************
    12071200      if (.not. isvar("file_out"))then 
     
    14281421     
    14291422   end if
    1430    
    1431    
     1423
    14321424   ;******************************************************
    14331425   ; parameters used by TIMESERIES
    14341426   ;******************************************************
    14351427
    1436    if (timeseries .EQ. 1) then
    1437    
     1428   if (script .EQ. "timeseries") then
     1429
    14381430      ;***************************************************
    14391431      ; REQUIRED --file_1-- INPUT FILE
     
    14751467      ; data type: string
    14761468      ;
    1477       ; default:   "~/test"
     1469      ; default:   "~/test_ts"
    14781470      ;***************************************************
    14791471      if (.not. isvar("file_out"))then 
     
    15871579
    15881580   end if
    1589 
    15901581         
    15911582;*********************************************************       
Note: See TracChangeset for help on using the changeset viewer.