<div dir="ltr"><div><div>Hello<br></div>I am trying to use the masking scripts for generating data only on land. but i am getting error. My scripts is given below. <br><br>In this i am not getting the means of oro (line -5). <br>
Could any one suggest me to how to correct this scripts or how to visualize the data on land only. <br><br>ncl 0> load "/usr/local/lib/ncl/lib/ncarg/nclscripts/csm/gsn_code.ncl"<br>ncl 1> load "/usr/local/lib/ncl/lib/ncarg/nclscripts/csm/gsn_csm.ncl" <br>
ncl 2> begin<br>ncl 3> in = addfile("/home/kunal/<a href="http://14-01.nc">14-01.nc</a>","r")<br>ncl 4> ts = in->TotCH4_A(:,:) <br>ncl 5> oro = in->ORO(:,:)<br>ncl 6> land_only = ts<br>
ncl 7> land_only = mask(ts,oro,1)<br>ncl 8> wks = gsn_open_wks("x11","mask")<br>ncl 9> gsn_define_colormap(wks,"BlAqGrYeOrRe")<br>ncl 10> res = True<br>ncl 11> res@cnFillOn = True<br>
ncl 12> res@cnLinesOn = False<br>ncl 13> res@gsnSpreadColors = True<br>ncl 14> res@gsnSpreadColorStart = 10<br>ncl 15> res@gsnSpreadColorEnd = 96 <br>ncl 16> res@cnLevelSpacingF = 3<br>ncl 17> res@lbLabelString = 4<br>
ncl 18> res@tiMainString = "Land Only"<br>ncl 19> plot = gsn_csm_contour_map_ce(wks,land_onl,res)<br>ncl 20> end<br>fatal:["Execute.c":6321]:variable (ORO) is not in file (in)<br>fatal:["Execute.c":8565]:Execute: Error occurred at or near line 5<br>
<br><br></div>Thank You<br clear="all"><div><div><div><div><div dir="ltr"><div>Kunal Bali<br></div><div>Research Scholar <br></div><div>Radio & Atmospheric Science Division <br></div><div>CSIR - National Physical Laboratory<br>
</div><div>New Delhi - 110012<br><br></div><div><br></div><div><br></div><div><br></div><div><p style="margin:0px;border-collapse:collapse;font-family:Tahoma,Verdana;font-size:12px"><font color="#1F497D"><br></font></p></div>
</div></div>
</div></div></div></div>