Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Unidata McIDAS-X
McBASI script, LBDR.MCB


REM ? LBDR.MCB - Set loop bounds and dwell rates
REM ?
REM ? Name:    LBDR.MCB
REM ?
REM ? Purpose: Set loop dwell bounds and rates using ?nFRMS and ?DWELL strings
REM ?
REM ? Invocation:
REM ?          RUN #?VFRMS #?DWELL FILE=LBDR.MCB
REM ?
REM ?
REM   History: 19990726 - Created for Unidata McIDAS-OS2 Version 7.60
REM ? ----------

REM Definition of variables used in the following:
REM
REM           Variable  Use
REM Input:    R$        Entered dwell rate
REM
REM Internal: R$        Dwell rate in 'n m' format
REM           I         Index
REM           A         'a' of 'a b' format
REM           B         'b' of 'a b' format
REM

REM predefined dwell rates in 'n m' format
1   input A,B,N$,M$

REM Check to make sure that the input GRID dataset was specified
    if N$="" LET N$="3"
    if M$="" LET M$="10"

REM Set the dwell rate
    keyin "LB ";A;" ";B
    keyin "DR ";(B-A);"*";N$;" ";M$
    goto 999

REM Done
999 STOP "Done"
 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690