Function similar to python "try"

From: Marston Johnston <shejo284_at_nyahnyahspammersnyahnyah>
Date: Thu Aug 01 2013 - 08:53:51 MDT

Hi,

I'm looping over many files and some may be corrupted. I'm looking for a
way to handle a failure to open in NCL without causing a fatal error.
In Python, this can be done using:

try:
  command
except:
   command

Is there something similar in NCL?

/M

-- 
Only the fruitful thing is true!

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Aug 1 08:54:03 2013

This archive was generated by hypermail 2.1.8 : Wed Aug 07 2013 - 13:59:00 MDT