<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div>; This program is to calculate the area average for snow for all the data period<br></div>Dear NCL,<br><br></div>I am working on CDO on the side and there are some errors with installing netcdf operator for me.  I am working on that. I also thought of using NCL xMonthAvg the documentation does say high frequency data .<br><br></div>I am getting this error:<br></div>Variable:xMonth<br></div>Type:integer<br></div>Number of dimension:1<br></div>Dimensions and sizes: [573]<br></div>Coordinates;<br></div>fatal :Assignment type mismatch, right hand can&#39;t be coerced to type of left hand side<br></div>fatal :Error occured at line  4265&quot;$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl&quot;.<br><br></div><div>The global attributes for the variable of snow covered extent <br>byte snow_cover_extent(time, rows, cols) ;<br>        snow_cover_extent:long_name = &quot;NOAA/NCDC Climate Data Record of snow cover extent&quot; ;<br>        snow_cover_extent:standard_name = &quot;surface_snow_binary_mask&quot; ;<br>        snow_cover_extent:grid_mapping = &quot;coord_system&quot; ;<br>        snow_cover_extent:coordinates = &quot;longitude latitude time snow_cover_threshold&quot; ;<br>        snow_cover_extent:valid_range = 0b, 1b ;<br>        snow_cover_extent:flag_values = 0b, 1b ;<br>        snow_cover_extent:flag_meanings = &quot;no_snow snow_covered&quot; ;<br>        snow_cover_extent:_FillValue = -9b ;<br><br>*****************************************<br><br></div><div><div><div><div>I <br></div><div><br>******************************************<br>; This program is to calculate the area average for snow for all the data period<br><div><div><div><div><div><div><div><div>;*******************************************<br>load &quot;$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl&quot;<br>load &quot;$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl&quot;<br>load &quot;$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl&quot;<br>;*******************************************<br><br>;The intention is to average the sce for each year and for each month<br><br>a=addfile(&quot;~/Documents/Snow_cover_IMS/<a href="http://nhsce_v01r01_19661004_20140602.nc">nhsce_v01r01_19661004_20140602.nc</a>&quot;,&quot;r&quot;)<br><br>sce=a-&gt;snow_cover_extent(:,:,:)<br>xMonthAvg = calculate_monthly_values(sce, &quot;avg&quot;, 0, False)<br><br>;***************************************************<br><br></div><div>I will be grateful if you could guide me on this<br><br></div><div>Best Regards<br></div><div>Ipshita<br></div></div></div></div></div></div></div></div></div></div></div></div></div>