On Jun 8, 2004, at 3:44 PM, Jim Hawkins wrote:
> Hello,
>
> Is there a way to automatically load scripts like "contributed.ncl"?
You can load scripts without explicitly invoking the load command if
you put the files you want to load (or links to them) into a single
directory
and set the environment variable NCL_DEF_SCRIPTS_DIR appropriately.
See http://ngwww.ucar.edu/ngdoc/ng/ref/ncl/NclDefaultScript.html.
> Does this create a lot of overhead if you're running in command line
> mode.
Any function that is loaded gets an entry in the symbol table
that points to its instruction code tree, which consumes some memory.
So if you load many functions that are never used you are making the
process bigger than necessary, but I suspect the practical effect is
minimal.
-dave
> Thanks,
> Jim Hawkins
> jhawkins AT psislidell.com
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk AT ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
ncl-talk AT ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2b29 : Thu Jun 10 2004 - 08:32:41 MDT