<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:10pt"><div class="" style="">Hi All,</div><div class="" style="">I am plotting 10 plots from CMIP5(5/2). dat reading is fine and during visualization it shows following error message. </div><div class="" style="">****<span style="font-family: Menlo; font-size: 11px;" class="">fatal:["NclVar.c":1390]:Assignment type mismatch, right hand side can't be coerced to type of left hand side</span></div>
<div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class="">fatal:["Execute.c":8567]:Execute: Error occurred at or near line 199 in file cmipdaily5sa.ncl************</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class="">You can find a parts of the script at the line 199</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class="">;plotting procedure</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> plot = new(10,graphic)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> do i=0,9</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> res1@gsnLeftString = "HadGEM2-ES: Pr: ("+pr0Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px;
font-size: 11px; font-family: Menlo;" class=""> res1@gsnRightString = "Daily Mean:("+pr0Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> res1@gsnLeftStringFontHeightF = 0.010</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> res1@gsnRightStringFontHeightF = 0.010</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> plot(0) = gsn_csm_contour_map(wks,pr0Dayavg,res1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;" class=""><br class="" style=""></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> res1@gsnLeftString = "CNRM-CM5: Pr: ("+pr1Dayavg@units+")"</div><div
style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> res1@gsnRightString = "Daily Mean:("+pr1Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> ;res1@gsnLeftStringFontHeightF = 0.015</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> ;res1@gsnRightStringFontHeightF = 0.015</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> plot(1) = gsn_csm_contour_map(wks,pr1Dayavg,res1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;" class=""><br class="" style=""></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> res1@gsnLeftString = "CESM1-BGC: Pr:
("+pr2Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> res1@gsnRightString = "Daily Mean:("+pr2Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> ;res1@gsnLeftStringFontHeightF = 0.015</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> ;res1@gsnRightStringFontHeightF = 0.015</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class="">
</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> plot(2) = gsn_csm_contour_map(wks,pr2Dayavg,res1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class="">res1@gsnLeftString = "NorESM1-M: Pr: ("+pr3Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> res1@gsnRightString = "Daily Mean:("+pr3Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> plot(3) = gsn_csm_contour_map(wks,pr3Dayavg,res1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;" class=""><br class="" style=""></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> res1@gsnLeftString
= "GFDL-ESM2M: Pr: ("+pr4Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> res1@gsnRightString = "Daily Mean:("+pr4Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> plot(4) = gsn_csm_contour_map(wks,pr4Dayavg,res1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;" class=""><br class="" style=""></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> res1@gsnLeftString = "GFDL-ESM2G: Pr: ("+pr5Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> res1@gsnRightString = "Daily Mean:("+pr5Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px;
font-family: Menlo;" class=""> plot(5) = gsn_csm_contour_map(wks,pr5Dayavg,res1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;" class=""><br class="" style=""></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> res1@gsnLeftString = "MIROC-ESM: Pr: ("+pr6Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> res1@gsnRightString = "Daily Mean:("+pr6Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> plot(6) = gsn_csm_contour_map(wks,pr6Dayavg,res1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;" class=""><br class="" style=""></div><div style="margin-top: 0px; margin-bottom:
0px; font-size: 11px; font-family: Menlo;" class=""> res1@gsnLeftString = "MPI-ESM1-LR: Pr: ("+pr7Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> res1@gsnRightString = "Daily Mean:("+pr7Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> plot(7) = gsn_csm_contour_map(wks,pr7Dayavg,res1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;" class=""><br class="" style=""></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> res1@gsnLeftString = "bcc-csm1-1-m: Pr: ("+pr8Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> res1@gsnRightString = "Daily
Mean:("+pr8Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class="">
</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> plot(8) = gsn_csm_contour_map(wks,pr8Dayavg,res1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> </div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> res1@gsnLeftString = "GPCP: Pr: ("+pr9Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> res1@gsnRightString = "Daily Mean:("+pr9Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> plot(9) = gsn_csm_contour_map(wks,pr9Dayavg,res1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class="">
</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""> end do</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;" class=""><br></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;" class="">Your suggestion are highly appreciated.</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;" class="">Regards</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;" class="">azizul</div><div class="" style=""><br class="" style=""></div><div class="" style=""><br class="" style=""></div></div></body></html>