[ncl-talk] passing env variables to ncl scripts
M P
mzp3769 at gmail.com
Sat Jan 11 17:47:41 MST 2020
Thanks, I may be a novice but that does answer my question.
I can getenv(var) from the environment but how to pass its value to
ndtooned(fd1->var(t,k,:,:))
where var needs to be replaced by something obtained from getenv
On Sat, Jan 11, 2020 at 5:23 PM Dennis Shea <shea at ucar.edu> wrote:
> *http://www.ncl.ucar.edu/Applications/system.shtml*
> <http://www.ncl.ucar.edu/Applications/system.shtml>
>
> On Sat, Jan 11, 2020 at 3:32 PM M P via ncl-talk <ncl-talk at ucar.edu>
> wrote:
>
>> Hello,
>> I have ncl code that uses function
>> temp = ndtooned(fd1->var(t,k,:,:)) ; Read some data;
>> convert to 1D.
>>
>> Is there a way to pass name of var from unix script to the imbedded ncl
>> script?
>> Thanks,
>> Mark
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200111/5dcc5ea9/attachment.html>
More information about the ncl-talk
mailing list