'getenv' behavior in NCL not as advertised...

From: Gary Strand (strandwg AT unknown)
Date: Wed Feb 21 2001 - 11:20:06 MST

  • Next message: Mary Haley: "Re: 'getenv' behavior in NCL not as advertised..."

    According to http://ngwww.ucar.edu/ngdoc/ng/ref/ncl/functions/getenv.html,

    "The getenv function returns either an empty string when the shell environment
    variable does not exist, or the string value of the environment parameter
    requested."

    However, if I do a getenv on an undefined environment variable, I get a fatal
    error:

    fatal:getenv : (NDAYS) is not a defined environment parameter

    Something of a curioisity.

    --
    Gary Strand                Climate Change Research Section, NCAR (303) 497-1336
    strandwg AT unknown
    



    This archive was generated by hypermail 2b29 : Thu Mar 01 2001 - 13:45:54 MST