[ncl-talk] Fatal error of "NclVar.c":1390
azizul haque
haque.azizul320 at yahoo.com
Tue Sep 9 01:42:41 MDT 2014
Hi All,
I am plotting 10 plots from CMIP5(5/2). dat reading is fine and during visualization it shows following error message.
****fatal:["NclVar.c":1390]:Assignment type mismatch, right hand side can't be coerced to type of left hand side
fatal:["Execute.c":8567]:Execute: Error occurred at or near line 199 in file cmipdaily5sa.ncl************
You can find a parts of the script at the line 199
;plotting procedure
plot = new(10,graphic)
do i=0,9
res1 at gsnLeftString = "HadGEM2-ES: Pr: ("+pr0Dayavg at units+")"
res1 at gsnRightString = "Daily Mean:("+pr0Dayavg at units+")"
res1 at gsnLeftStringFontHeightF = 0.010
res1 at gsnRightStringFontHeightF = 0.010
plot(0) = gsn_csm_contour_map(wks,pr0Dayavg,res1)
res1 at gsnLeftString = "CNRM-CM5: Pr: ("+pr1Dayavg at units+")"
res1 at gsnRightString = "Daily Mean:("+pr1Dayavg at units+")"
;res1 at gsnLeftStringFontHeightF = 0.015
;res1 at gsnRightStringFontHeightF = 0.015
plot(1) = gsn_csm_contour_map(wks,pr1Dayavg,res1)
res1 at gsnLeftString = "CESM1-BGC: Pr: ("+pr2Dayavg at units+")"
res1 at gsnRightString = "Daily Mean:("+pr2Dayavg at units+")"
;res1 at gsnLeftStringFontHeightF = 0.015
;res1 at gsnRightStringFontHeightF = 0.015
plot(2) = gsn_csm_contour_map(wks,pr2Dayavg,res1)
res1 at gsnLeftString = "NorESM1-M: Pr: ("+pr3Dayavg at units+")"
res1 at gsnRightString = "Daily Mean:("+pr3Dayavg at units+")"
plot(3) = gsn_csm_contour_map(wks,pr3Dayavg,res1)
res1 at gsnLeftString = "GFDL-ESM2M: Pr: ("+pr4Dayavg at units+")"
res1 at gsnRightString = "Daily Mean:("+pr4Dayavg at units+")"
plot(4) = gsn_csm_contour_map(wks,pr4Dayavg,res1)
res1 at gsnLeftString = "GFDL-ESM2G: Pr: ("+pr5Dayavg at units+")"
res1 at gsnRightString = "Daily Mean:("+pr5Dayavg at units+")"
plot(5) = gsn_csm_contour_map(wks,pr5Dayavg,res1)
res1 at gsnLeftString = "MIROC-ESM: Pr: ("+pr6Dayavg at units+")"
res1 at gsnRightString = "Daily Mean:("+pr6Dayavg at units+")"
plot(6) = gsn_csm_contour_map(wks,pr6Dayavg,res1)
res1 at gsnLeftString = "MPI-ESM1-LR: Pr: ("+pr7Dayavg at units+")"
res1 at gsnRightString = "Daily Mean:("+pr7Dayavg at units+")"
plot(7) = gsn_csm_contour_map(wks,pr7Dayavg,res1)
res1 at gsnLeftString = "bcc-csm1-1-m: Pr: ("+pr8Dayavg at units+")"
res1 at gsnRightString = "Daily Mean:("+pr8Dayavg at units+")"
plot(8) = gsn_csm_contour_map(wks,pr8Dayavg,res1)
res1 at gsnLeftString = "GPCP: Pr: ("+pr9Dayavg at units+")"
res1 at gsnRightString = "Daily Mean:("+pr9Dayavg at units+")"
plot(9) = gsn_csm_contour_map(wks,pr9Dayavg,res1)
end do
Your suggestion are highly appreciated.
Regards
azizul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20140909/91dc5513/attachment.html
More information about the ncl-talk
mailing list