Re: check missing date

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Fri Jun 13 2014 - 14:26:38 MDT

Ahmad,

Not exactly sure what you mean, but if you mean that you have an array
called "time" on the file, then you can use the "any" and "ismissing"
functions:

a = addfile("file.nc","r")
print(any(ismissing(a->time)))

This will print True if any of your time values are missing, and False
otherwise.

--Mary


On Thu, Jun 12, 2014 at 11:00 AM, Ahmad Farsyud <a.farsyud@gmail.com> wrote:

> NCL,
>
> I am wondering how to check if there is a missing date or time in the
> netcdf file.
> Thank you
>
> Best
> Ahmad
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>

Received on Fri Jun 13 08:26:38 2014

This archive was generated by hypermail 2.1.8 : Wed Jul 23 2014 - 15:33:46 MDT