[ncl-talk] problem of cd_calendar

lzl lai leslie.linglai at gmail.com
Wed Aug 7 02:10:25 MDT 2024


Hi,
I have a problem using cd_calendar to convert time variable to a
UT-referenced date.
my data is ECMWF( monthly reanalysis), their valid_time type is int64
when I use cd_calendar, it shows fatal message:
--------
Variable: time
Type: int64
Total Size: 8120 bytes
            1015 values
Number of Dimensions: 1
Dimensions and sizes:   [valid_time | 1015]
Coordinates:
            valid_time: [-946771200..1719792000]
Number Of Attributes: 4
  long_name :   time
  standard_name :       time
  units :       seconds since 1970-01-01
  calendar :    proleptic_gregorian
fatal:Argument type mismatch on argument (0) of (cd_calendar) can not coerce
--------------------

Can anyone help me to deal with  this problem? Thank you very much
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20240807/66ccb872/attachment.htm>


More information about the ncl-talk mailing list