[ncl-talk] how redirect fatal error message on a log file?
brownrig at ucar.edu
Thu Jul 27 07:03:59 MDT 2017
My colleague Dennis Shea pointed out the following
capabilities, which I was unaware of:
To redirect all error reporting to a file:
This will send all errors reported by NCL during execution to the file
Also: not printing at all ...
On Thu, Jul 27, 2017 at 6:34 AM, Francesco Trotta <
francesco.trotta4 at unibo.it> wrote:
> ok, thanks
> *Da:* Rick Brownrigg <brownrig at ucar.edu>
> *Inviato:* mercoledì 26 luglio 2017 22:56
> *A:* Francesco Trotta
> *Cc:* ncl-talk at ucar.edu
> *Oggetto:* Re: [ncl-talk] how redirect fatal error message on a log file?
> You can of course use standard unix I/O redirection:
> ncl myScript >myscript.log
> but this will capture all output from your script, including output from
> print statements. Unfortunately, ncl does not send error messages to
> stderr; if it did, you could isolate only error output.
> On Wed, Jul 26, 2017 at 10:57 AM, Francesco Trotta <
> francesco.trotta4 at unibo.it> wrote:
>> Dear NCL,
>> When I run my ncl scripts I get my fatal error message on a std output
>> (i.e. on the terminal screen)
>> I would like for my application to send the error message not on the
>> std output but in a log file.
>> Is there in ncl the way to do this?
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ncl-talk