[ncl-talk] [nc-talk]Re: Undefined identifier: (cd_calender) is undefined, can't continue

Adam Phillips asphilli at ucar.edu
Thu Feb 21 09:48:23 MST 2019


Hi Smrati,
Please do not contact ncl-talk contributors individually unless directed to
do so, as most of us who answer ncl-talk queries volunteer our time to do
so.
Dennis answered your question in a previous posting. (See below.) You are
misspelling cd_calendar.
Adam

On Wed, Feb 20, 2019 at 7:37 AM Dennis Shea <shea at ucar.edu> wrote:

> You misspelled the function:
>
> Undefined identifier: (*cd_calender)* is undefined, can't continue
>
> The correct spelling is:    *cd_calendar*
> <https://www.ncl.ucar.edu/Document/Functions/Built-in/cd_calendar.shtml>
>
> On Wed, Feb 20, 2019 at 4:56 AM Smrati Purwar <ritipurwar at gmail.com>
> wrote:
>
>>
>>
>> On Wed, Feb 20, 2019, 4:19 PM Smrati Purwar <ritipurwar at gmail.com wrote:
>>
>>>
>>>
>>> ---------- Forwarded message ---------
>>> From: Smrati Purwar <ritipurwar at gmail.com>
>>> Date: Wed, Feb 20, 2019 at 2:28 PM
>>> Subject: Undefined identifier: (cd_calender) is undefined, can't continue
>>> To: <ncl-talk-request at ucar.edu>
>>>
>>>
>>>
>>> Hello,
>>> i want to convert this time to ddddmmyy format . so that its become easy
>>> to handle this
>>> + begin
>>> + f = addfiles( "rf1976.nc","r")
>>> + time = f[:]->time
>>> +date = cd_calender(time,-2)
>>> + print(time)
>>> + print(date)
>>> + end
>>>
>>>
>>> Variable: time
>>> Type: double
>>> Total Size: 2928 bytes
>>>             366 values
>>> Number of Dimensions: 1
>>> Dimensions and sizes: [time | 366]
>>> Coordinates:
>>>             time: [17312520..17321280]
>>> Number Of Attributes: 4
>>>   standard_name : time
>>>   units : hours since 1-1-1 00:00:00
>>>   calendar : standard
>>>   axis : T
>>> (0) 17312520
>>> (1) 17312544
>>> (2) 17312568
>>> (3) 17312592
>>> (4) 17312616
>>> (5) 17312640
>>> (6) 17312664
>>> (7) 17312688
>>> (8) 17312712
>>> (9) 17312736
>>> (10) 17312760
>>> (11) 17312784
>>> (12) 17312808
>>> (13) 17312832
>>> (14) 17312856
>>> (15) 17312880
>>> (16) 17312904
>>> (17) 17312928
>>> (18) 17312952
>>> (19) 17312976
>>> (20) 17313000
>>> (21) 17313024
>>> (22) 17313048
>>> (23) 17313072
>>> (24) 17313096
>>> (25) 17313120
>>> (26) 17313144
>>> (27) 17313168
>>> (28) 17313192
>>> (29) 17313216
>>> (30) 17313240
>>> (31) 17313264
>>> (32) 17313288
>>> (33) 17313312
>>> (34) 17313336
>>> (35) 17313360
>>> (36) 17313384
>>> (37) 17313408
>>> (38) 17313432
>>> (39) 17313456
>>> (40) 17313480
>>> (41) 17313504
>>> (42) 17313528
>>> (43) 17313552
>>> (44) 17313576
>>> (45) 17313600
>>> (46) 17313624
>>> (47) 17313648
>>> (48) 17313672
>>> (49) 17313696
>>> (50) 17313720
>>> (51) 17313744
>>> (52) 17313768
>>> (53) 17313792
>>> (54) 17313816
>>> (55) 17313840
>>> (56) 17313864
>>> (57) 17313888
>>> (58) 17313912
>>> (59) 17313936
>>> (60) 17313960
>>> (61) 17313984
>>> (62) 17314008
>>> (63) 17314032
>>> (64) 17314056
>>> (65) 17314080
>>> (66) 17314104
>>> (67) 17314128
>>> (68) 17314152
>>> (69) 17314176
>>> (70) 17314200
>>> (71) 17314224
>>> (72) 17314248
>>> (73) 17314272
>>> (74) 17314296
>>> (75) 17314320
>>> (76) 17314344
>>> (77) 17314368
>>> (78) 17314392
>>> (79) 17314416
>>> (80) 17314440
>>> (81) 17314464
>>> (82) 17314488
>>> (83) 17314512
>>> (84) 17314536
>>> (85) 17314560
>>> (86) 17314584
>>> (87) 17314608
>>> (88) 17314632
>>> (89) 17314656
>>> (90) 17314680
>>> (91) 17314704
>>> (92) 17314728
>>> (93) 17314752
>>> (94) 17314776
>>> (95) 17314800
>>> (96) 17314824
>>> (97) 17314848
>>> (98) 17314872
>>> (99) 17314896
>>> (100) 17314920
>>> (101) 17314944
>>> (102) 17314968
>>> (103) 17314992
>>> (104) 17315016
>>> (105) 17315040
>>> (106) 17315064
>>> (107) 17315088
>>> (108) 17315112
>>> (109) 17315136
>>> (110) 17315160
>>> (111) 17315184
>>> (112) 17315208
>>> (113) 17315232
>>> (114) 17315256
>>> (115) 17315280
>>> (116) 17315304
>>> (117) 17315328
>>> (118) 17315352
>>> (119) 17315376
>>> (120) 17315400
>>> (121) 17315424
>>> (122) 17315448
>>> (123) 17315472
>>> (124) 17315496
>>> (125) 17315520
>>> (126) 17315544
>>> (127) 17315568
>>> (128) 17315592
>>> (129) 17315616
>>> (130) 17315640
>>> (131) 17315664
>>> (132) 17315688
>>> (133) 17315712
>>> (134) 17315736
>>> (135) 17315760
>>> (136) 17315784
>>> (137) 17315808
>>> (138) 17315832
>>> (139) 17315856
>>> (140) 17315880
>>> (141) 17315904
>>> (142) 17315928
>>> (143) 17315952
>>> (144) 17315976
>>> (145) 17316000
>>> (146) 17316024
>>> (147) 17316048
>>> (148) 17316072
>>> (149) 17316096
>>> (150) 17316120
>>> (151) 17316144
>>> (152) 17316168
>>> (153) 17316192
>>> (154) 17316216
>>> (155) 17316240
>>> (156) 17316264
>>> (157) 17316288
>>> (158) 17316312
>>> (159) 17316336
>>> (160) 17316360
>>> (161) 17316384
>>> (162) 17316408
>>> (163) 17316432
>>> (164) 17316456
>>> (165) 17316480
>>> (166) 17316504
>>> (167) 17316528
>>> (168) 17316552
>>> (169) 17316576
>>> (170) 17316600
>>> (171) 17316624
>>> (172) 17316648
>>> (173) 17316672
>>> (174) 17316696
>>> (175) 17316720
>>> (176) 17316744
>>> (177) 17316768
>>> (178) 17316792
>>> (179) 17316816
>>> (180) 17316840
>>> (181) 17316864
>>> (182) 17316888
>>> (183) 17316912
>>> (184) 17316936
>>> (185) 17316960
>>> (186) 17316984
>>> (187) 17317008
>>> (188) 17317032
>>> (189) 17317056
>>> (190) 17317080
>>> (191) 17317104
>>> (192) 17317128
>>> (193) 17317152
>>> (194) 17317176
>>> (195) 17317200
>>> (196) 17317224
>>> (197) 17317248
>>> (198) 17317272
>>> (199) 17317296
>>> (200) 17317320
>>> (201) 17317344
>>> (202) 17317368
>>> (203) 17317392
>>> (204) 17317416
>>> (205) 17317440
>>> (206) 17317464
>>> (207) 17317488
>>> (208) 17317512
>>> (209) 17317536
>>> (210) 17317560
>>> (211) 17317584
>>> (212) 17317608
>>> (213) 17317632
>>> (214) 17317656
>>> (215) 17317680
>>> (216) 17317704
>>> (217) 17317728
>>> (218) 17317752
>>> (219) 17317776
>>> (220) 17317800
>>> (221) 17317824
>>> (222) 17317848
>>> (223) 17317872
>>> (224) 17317896
>>> (225) 17317920
>>> (226) 17317944
>>> (227) 17317968
>>> (228) 17317992
>>> (229) 17318016
>>> (230) 17318040
>>> (231) 17318064
>>> (232) 17318088
>>> (233) 17318112
>>> (234) 17318136
>>> (235) 17318160
>>> (236) 17318184
>>> (237) 17318208
>>> (238) 17318232
>>> (239) 17318256
>>> (240) 17318280
>>> (241) 17318304
>>> (242) 17318328
>>> (243) 17318352
>>> (244) 17318376
>>> (245) 17318400
>>> (246) 17318424
>>> (247) 17318448
>>> (248) 17318472
>>> (249) 17318496
>>> (250) 17318520
>>> (251) 17318544
>>> (252) 17318568
>>> (253) 17318592
>>> (254) 17318616
>>> (255) 17318640
>>> (256) 17318664
>>> (257) 17318688
>>> (258) 17318712
>>> (259) 17318736
>>> (260) 17318760
>>> (261) 17318784
>>> (262) 17318808
>>> (263) 17318832
>>> (264) 17318856
>>> (265) 17318880
>>> (266) 17318904
>>> (267) 17318928
>>> (268) 17318952
>>> (269) 17318976
>>> (270) 17319000
>>> (271) 17319024
>>> (272) 17319048
>>> (273) 17319072
>>> (274) 17319096
>>> (275) 17319120
>>> (276) 17319144
>>> (277) 17319168
>>> (278) 17319192
>>> (279) 17319216
>>> (280) 17319240
>>> (281) 17319264
>>> (282) 17319288
>>> (283) 17319312
>>> (284) 17319336
>>> (285) 17319360
>>> (286) 17319384
>>> (287) 17319408
>>> (288) 17319432
>>> (289) 17319456
>>> (290) 17319480
>>> (291) 17319504
>>> (292) 17319528
>>> (293) 17319552
>>> (294) 17319576
>>> (295) 17319600
>>> (296) 17319624
>>> (297) 17319648
>>> (298) 17319672
>>> (299) 17319696
>>> (300) 17319720
>>> (301) 17319744
>>> (302) 17319768
>>> (303) 17319792
>>> (304) 17319816
>>> (305) 17319840
>>> (306) 17319864
>>> (307) 17319888
>>> (308) 17319912
>>> (309) 17319936
>>> (310) 17319960
>>> (311) 17319984
>>> (312) 17320008
>>> (313) 17320032
>>> (314) 17320056
>>> (315) 17320080
>>> (316) 17320104
>>> (317) 17320128
>>> (318) 17320152
>>> (319) 17320176
>>> (320) 17320200
>>> (321) 17320224
>>> (322) 17320248
>>> (323) 17320272
>>> (324) 17320296
>>> (325) 17320320
>>> (326) 17320344
>>> (327) 17320368
>>> (328) 17320392
>>> (329) 17320416
>>> (330) 17320440
>>> (331) 17320464
>>> (332) 17320488
>>> (333) 17320512
>>> (334) 17320536
>>> (335) 17320560
>>> (336) 17320584
>>> (337) 17320608
>>> (338) 17320632
>>> (339) 17320656
>>> (340) 17320680
>>> (341) 17320704
>>> (342) 17320728
>>> (343) 17320752
>>> (344) 17320776
>>> (345) 17320800
>>> (346) 17320824
>>> (347) 17320848
>>> (348) 17320872
>>> (349) 17320896
>>> (350) 17320920
>>> (351) 17320944
>>> (352) 17320968
>>> (353) 17320992
>>> (354) 17321016
>>> (355) 17321040
>>> (356) 17321064
>>> (357) 17321088
>>> (358) 17321112
>>> (359) 17321136
>>> (360) 17321160
>>> (361) 17321184
>>> (362) 17321208
>>> (363) 17321232
>>> (364) 17321256
>>> (365) 17321280
>>> fatal:Undefined identifier: (cd_calender) is undefined, can't continue
>>> fatal:["Execute.c":8640]:Execute: Error occurred at or near line 11 in
>>> file rf1976.ncl
>>> thanking you
>>>
>>>
>>>
>>>
>>>
>>> --
>>> With Thanks & Regards
>>> Smrati Purwar
>>> Ph.D Scholar(CSIR-JRF)
>>> CSIR- 4th Paradigm Institute(CMMACS)
>>> NAL Belur Campus, Wind tunnel road
>>> Bangalore, India-560037
>>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>


-- 
Adam Phillips
Associate Scientist,  Climate and Global Dynamics Laboratory, NCAR
www.cgd.ucar.edu/staff/asphilli/   303-497-1726

<http://www.cgd.ucar.edu/staff/asphilli>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190221/5916bff9/attachment.html>


More information about the ncl-talk mailing list