Hi,
I'm trying to use the techique described in the thread
"http://www.ncl.ucar.edu/Support/talk_archives/2006/0520.html" to catch
errors in an ncl script. That is, before calling ncl, I'm creating a
sentinel file and the last ncl command removes it. If the files exists
after ncl is done, I conclude that ncl aborted.
However, ncl, version 5.1.0, is not aborting on fatal errors. So the ncl
script is always executing the command to remove the sentinel file. I've
attached a csh script that opens a non-existent file and reads from it a
non-existent variable. ncl reports multiple fatal errors, but proceeds,
and does remove the sentinel file.
How do I make ncl abort on fatal errors?
Thanks, Keith
-- ****************************************************************** Keith Lindsay http://www.cgd.ucar.edu/oce/klindsay/ email: klindsay_at_ucar.edu phone: 303-497-1722 fax: 303-497-1700
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2.2.0 : Tue Apr 21 2009 - 11:04:41 MDT