'calendar' attribute (noleap) is not equal to a recognized calendar

From: Arlene Laing <laing_at_nyahnyahspammersnyahnyah>
Date: Mon Jul 15 2013 - 14:16:14 MDT

Hi folks,

I have encountered the following error on calling the cd_calendar
function:

"warning:cd_calendar: the 'calendar' attribute (noleap ) is not equal
to a recognized calendar. Returning all missing values.
^M

I am running NCL Version 6.1.2.

-----start associated script lines --------

   times = f->time
   printVarSummary(times)
   printMinMax(times, True)

   yyyymm = cd_calendar(times, -1) ; integer array of length 5
   print(yyyymm)

-----end associated script lines --------

Here are the run time messages
-----------------------------

Variable: times
Type: double
Total Size: 5472 bytes
             684 values
Number of Dimensions: 1
Dimensions and sizes: [time | 684]
Coordinates:
             time: [36166..56940]
Number Of Attributes: 4
   long_name : time
   units : days since 1850-01-01 00:00:00
   calendar : noleap
   bounds : time_bnds
(0)
(0) time: min=36166 max=56940
warning:cd_calendar: the 'calendar' attribute (noleap ) is not equal
to a recognized calendar. Returning all missing values.
^M

Variable: yyyymm
Type: integer
Total Size: 2736 bytes
             684 values
Number of Dimensions: 1
Dimensions and sizes: [684]
Coordinates:
Number Of Attributes: 1
   _FillValue : -2147483647
(0) -2147483647
(1) -2147483647
(2) -2147483647

-----end run time messages----------

Has anyone else encountered this error and found a solution?

Thanks in advance for your help.

Arlene Laing
NCAR/MMM
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Jul 15 14:16:23 2013

This archive was generated by hypermail 2.1.8 : Tue Jul 16 2013 - 13:21:17 MDT