[ncl-talk] Pass data from NCL to R and back?

Rick Brownrigg brownrig at ucar.edu
Fri Jul 1 11:07:30 MDT 2016


Hi Jared,

The only way I am aware of at present is to pass data via an intermediate
file;  e.g., write the data to a (temporary) NetCDF, invoke the R script
via the system()/systemfunc() call, arrange for it to write to a temporary
file, and have NCL read that on return from the system() call.

Hope that helps...
Rick


On Mon, Jun 27, 2016 at 4:31 PM, Jared Lee <jaredlee at ucar.edu> wrote:

> Hi, does anyone know if there's a way to pass data from an NCL script to
> an R script and back again?
>
> Jared
>
> --
> ===============================
> Jared A. Lee, Ph.D.
> Project Scientist I
> Research Applications Laboratory
> National Center for Atmospheric Research
> Boulder, Colorado, USA
>
> Email: jaredlee at ucar.edu (w)
> Phone: 303.497.8485 (w)
> Web: https://staff.ucar.edu/users/jaredlee
> ===============================
>
> _______________________________________________
> 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/20160701/facd92f6/attachment.html 


More information about the ncl-talk mailing list