<div dir="ltr"><div><div><div><div>Hi,<br><br></div>Thank you for your feedback. I have made and ploted the landsea mask given at exampl 5. But, again, In example 5, it says that the mask will be suitable for 1x1 resolution and not for finer resolution. The climate model data, I am using, has .5x.5 resolution. can I use the mask for this model then? <br><br></div>Thanks for your time.<br><br></div>Best regards,<br></div>Ruksana <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 20, 2015 at 4:04 PM, Dennis Shea <span dir="ltr">&lt;<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The &#39;<a href="http://atmos.nc" rel="noreferrer" target="_blank">atmos.nc</a>&#39; contains<br>
<br>
Variable: oro<br>
<span class="">Number of Dimensions: 2<br>
Dimensions and sizes:   [lat | 64] x [lon | 128]<br>
<br>
</span>Your data set has dimensions<br>
<span class=""><br>
        x_2 = 209 ;<br>
        y_2 = 146 ;<br>
<br>
</span>Two completely different resolutions ..... The &#39;mask&#39; function<br>
documentation states that the array sizes must match<br>
    <a href="http://www.ncl.ucar.edu/Document/Functions/Built-in/mask.shtml" rel="noreferrer" target="_blank">http://www.ncl.ucar.edu/Document/Functions/Built-in/mask.shtml</a><br>
<br>
Obviously, they don&#39;t match ... hence the error message.<br>
<span class="">   fatal:mask: dimension sizes  of parameter 0 and parameter 1 do not match<br>
</span>=====<br>
<br>
DId you look at the &#39;Applications&#39; page?  You can create a reasonably<br>
good mask for your data sets via<br>
<br>
<a href="http://www.ncl.ucar.edu/Applications/mask.shtml" rel="noreferrer" target="_blank">http://www.ncl.ucar.edu/Applications/mask.shtml</a><br>
See Example 5<br>
<br>
Good luck<br>
<div><div class="h5"><br>
On Fri, Nov 20, 2015 at 6:59 AM, Ruksana Abedin<br>
&lt;<a href="mailto:ruksana.abedin@gmail.com">ruksana.abedin@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I need to mask the ocean data from my model data of temperature to see<br>
&gt; temperatures on land only and compare that with APHRODITES later.<br>
&gt;<br>
&gt; I tried to mask with oro from atmos file given at ncl website. Problem is<br>
&gt; Field16 (temperature) is 4D and oro is 2D. What can be solution for this<br>
&gt; problem? Can I alternatively use any other mask array for this case?<br>
&gt;<br>
&gt; Please help me to solve this problem.<br>
&gt;<br>
&gt; Current output map is attached.<br>
&gt;<br>
&gt; Giving below the file details:<br>
&gt;<br>
&gt; ncdump -h <a href="http://wah2_sas_1985_2007.part.seasmean.temp.nc" rel="noreferrer" target="_blank">wah2_sas_1985_2007.part.seasmean.temp.nc</a><br>
&gt;<br>
&gt; netcdf wah2_sas_1985_2007.part.seasmean.temp {<br>
&gt; dimensions:<br>
&gt;         x = 209 ;<br>
&gt;         y = 145 ;<br>
&gt;         x_2 = 209 ;<br>
&gt;         y_2 = 146 ;<br>
&gt;         z0 = 1 ;<br>
&gt;         z1 = 1 ;<br>
&gt;         z2 = 1 ;<br>
&gt;         time0 = UNLIMITED ; // (1 currently)<br>
&gt; variables:<br>
&gt;         float global_longitude0(y, x) ;<br>
&gt;                 global_longitude0:standard_name = &quot;longitude&quot; ;<br>
&gt;                 global_longitude0:long_name = &quot;longitude&quot; ;<br>
&gt;                 global_longitude0:units = &quot;degrees_east&quot; ;<br>
&gt;                 global_longitude0:_CoordinateAxisType = &quot;Lon&quot; ;<br>
&gt;         float global_latitude0(y, x) ;<br>
&gt;                 global_latitude0:standard_name = &quot;latitude&quot; ;<br>
&gt;                 global_latitude0:long_name = &quot;latitude&quot; ;<br>
&gt;                 global_latitude0:units = &quot;degrees_north&quot; ;<br>
&gt;                 global_latitude0:_CoordinateAxisType = &quot;Lat&quot; ;<br>
&gt;         float global_longitude1(y_2, x_2) ;<br>
&gt;                 global_longitude1:standard_name = &quot;longitude&quot; ;<br>
&gt;                 global_longitude1:long_name = &quot;longitude&quot; ;<br>
&gt;                 global_longitude1:units = &quot;degrees_east&quot; ;<br>
&gt;                 global_longitude1:_CoordinateAxisType = &quot;Lon&quot; ;<br>
&gt;         float global_latitude1(y_2, x_2) ;<br>
&gt;                 global_latitude1:standard_name = &quot;latitude&quot; ;<br>
&gt;                 global_latitude1:long_name = &quot;latitude&quot; ;<br>
&gt;                 global_latitude1:units = &quot;degrees_north&quot; ;<br>
&gt;                 global_latitude1:_CoordinateAxisType = &quot;Lat&quot; ;<br>
&gt;         float z0(z0) ;<br>
&gt;                 z0:standard_name = &quot;height&quot; ;<br>
&gt;                 z0:units = &quot;m&quot; ;<br>
&gt;                 z0:positive = &quot;up&quot; ;<br>
&gt;                 z0:axis = &quot;Z&quot; ;<br>
&gt;         float z1(z1) ;<br>
&gt;                 z1:standard_name = &quot;height&quot; ;<br>
&gt;                 z1:units = &quot;m&quot; ;<br>
&gt;                 z1:positive = &quot;up&quot; ;<br>
&gt;                 z1:axis = &quot;Z&quot; ;<br>
&gt;         float z2(z2) ;<br>
&gt;                 z2:standard_name = &quot;air_pressure&quot; ;<br>
&gt;                 z2:units = &quot;hPa&quot; ;<br>
&gt;                 z2:positive = &quot;down&quot; ;<br>
&gt;                 z2:axis = &quot;Z&quot; ;<br>
&gt;         double time0(time0) ;<br>
&gt;                 time0:standard_name = &quot;time&quot; ;<br>
&gt;                 time0:units = &quot;days since 1959-12-01 00:00:00&quot; ;<br>
&gt;                 time0:calendar = &quot;360_day&quot; ;<br>
&gt;         float field48(time0, z0, y, x) ;<br>
&gt;                 field48:standard_name = &quot;eastward_wind&quot; ;<br>
&gt;                 field48:long_name = &quot;10 METRE WIND U-COMP&quot; ;<br>
&gt;                 field48:units = &quot;m s-1&quot; ;<br>
&gt;                 field48:coordinates = &quot;global_longitude0 global_latitude0&quot; ;<br>
&gt;                 field48:_FillValue = -1.073742e+09f ;<br>
&gt;                 field48:stash_item = &quot;225&quot; ;<br>
&gt;                 field48:stash_section = &quot;3&quot; ;<br>
&gt;                 field48:field_code = &quot;56&quot; ;<br>
&gt;                 field48:cell_method = &quot;time: mean &quot; ;<br>
&gt;         float field49(time0, z0, y, x) ;<br>
&gt;                 field49:standard_name = &quot;northward_wind&quot; ;<br>
&gt;                 field49:long_name = &quot;10 METRE WIND V-COMP&quot; ;<br>
&gt;                 field49:units = &quot;m s-1&quot; ;<br>
&gt;                 field49:coordinates = &quot;global_longitude0 global_latitude0&quot; ;<br>
&gt;                 field49:_FillValue = -1.073742e+09f ;<br>
&gt;                 field49:stash_item = &quot;226&quot; ;<br>
&gt;                 field49:stash_section = &quot;3&quot; ;<br>
&gt;                 field49:field_code = &quot;57&quot; ;<br>
&gt;                 field49:cell_method = &quot;time: mean &quot; ;<br>
&gt;         float field16(time0, z0, y_2, x_2) ;<br>
&gt;                 field16:standard_name = &quot;air_temperature&quot; ;<br>
&gt;                 field16:long_name = &quot;TEMPERATURE AT 1.5M&quot; ;<br>
&gt;                 field16:units = &quot;K&quot; ;<br>
&gt;                 field16:coordinates = &quot;global_longitude1 global_latitude1&quot; ;<br>
&gt;                 field16:_FillValue = -1.073742e+09f ;<br>
&gt;                 field16:stash_item = &quot;236&quot; ;<br>
&gt;                 field16:stash_section = &quot;3&quot; ;<br>
&gt;                 field16:field_code = &quot;16&quot; ;<br>
&gt;                 field16:cell_method = &quot;time: maximum &quot; ;<br>
&gt;         float field16_1(time0, z0, y_2, x_2) ;<br>
&gt;                 field16_1:standard_name = &quot;air_temperature&quot; ;<br>
&gt;                 field16_1:long_name = &quot;TEMPERATURE AT 1.5M&quot; ;<br>
&gt;                 field16_1:units = &quot;K&quot; ;<br>
&gt;                 field16_1:coordinates = &quot;global_longitude1 global_latitude1&quot;<br>
&gt; ;<br>
&gt;                 field16_1:_FillValue = -1.073742e+09f ;<br>
&gt;                 field16_1:stash_item = &quot;236&quot; ;<br>
&gt;                 field16_1:stash_section = &quot;3&quot; ;<br>
&gt;                 field16_1:field_code = &quot;16&quot; ;<br>
&gt;                 field16_1:cell_method = &quot;time: minimum &quot; ;<br>
&gt;         float field90(time0, z1, y_2, x_2) ;<br>
&gt;                 field90:standard_name = &quot;precipitation_flux&quot; ;<br>
&gt;                 field90:long_name = &quot;TOTAL PRECIPITATION RATE KG/M2/S&quot; ;<br>
&gt;                 field90:units = &quot;kg m-2 s-1&quot; ;<br>
&gt;                 field90:coordinates = &quot;global_longitude1 global_latitude1&quot; ;<br>
&gt;                 field90:_FillValue = -1.073742e+09f ;<br>
&gt;                 field90:stash_item = &quot;216&quot; ;<br>
&gt;                 field90:stash_section = &quot;5&quot; ;<br>
&gt;                 field90:field_code = &quot;90&quot; ;<br>
&gt;                 field90:cell_method = &quot;time: mean &quot; ;<br>
&gt;         float field93(time0, z1, y_2, x_2) ;<br>
&gt;                 field93:standard_name = &quot;snowfall_amount&quot; ;<br>
&gt;                 field93:long_name = &quot;SNOW MASS AFTER HYDROLOGY KG/M2&quot; ;<br>
&gt;                 field93:units = &quot;kg m-2&quot; ;<br>
&gt;                 field93:coordinates = &quot;global_longitude1 global_latitude1&quot; ;<br>
&gt;                 field93:_FillValue = -1.073742e+09f ;<br>
&gt;                 field93:stash_item = &quot;23&quot; ;<br>
&gt;                 field93:stash_section = &quot;8&quot; ;<br>
&gt;                 field93:field_code = &quot;93&quot; ;<br>
&gt;                 field93:cell_method = &quot;time: mean &quot; ;<br>
&gt;         float field1532(time0, z1, y_2, x_2) ;<br>
&gt;                 field1532:standard_name = &quot;surface_runoff_flux&quot; ;<br>
&gt;                 field1532:long_name = &quot;SURFACE RUNOFF RATE KG/M2/S&quot; ;<br>
&gt;                 field1532:units = &quot;kg m-2 s-1&quot; ;<br>
&gt;                 field1532:coordinates = &quot;global_longitude1 global_latitude1&quot;<br>
&gt; ;<br>
&gt;                 field1532:_FillValue = -1.073742e+09f ;<br>
&gt;                 field1532:stash_item = &quot;234&quot; ;<br>
&gt;                 field1532:stash_section = &quot;8&quot; ;<br>
&gt;                 field1532:field_code = &quot;1532&quot; ;<br>
&gt;                 field1532:cell_method = &quot;time: mean &quot; ;<br>
&gt;         float field1(time0, z2, y_2, x_2) ;<br>
&gt;                 field1:standard_name = &quot;geopotential_height&quot; ;<br>
&gt;                 field1:long_name = &quot;GEOPOTENTIAL HEIGHT: PRESSURE LEVELS&quot; ;<br>
&gt;                 field1:units = &quot;m&quot; ;<br>
&gt;                 field1:coordinates = &quot;global_longitude1 global_latitude1&quot; ;<br>
&gt;                 field1:_FillValue = -1.073742e+09f ;<br>
&gt;                 field1:stash_item = &quot;202&quot; ;<br>
&gt;                 field1:stash_section = &quot;16&quot; ;<br>
&gt;                 field1:field_code = &quot;1&quot; ;<br>
&gt;                 field1:cell_method = &quot;time: mean &quot; ;<br>
&gt;<br>
&gt; // global attributes:<br>
&gt;                 :CDI = &quot;Climate Data Interface version 1.6.0<br>
&gt; (<a href="http://code.zmaw.de/projects/cdi" rel="noreferrer" target="_blank">http://code.zmaw.de/projects/cdi</a>)&quot; ;<br>
&gt;                 :Conventions = &quot;CF-1.3&quot; ;<br>
&gt;                 :history = &quot;Tue Nov 10 15:58:38 2015: cdo timmean<br>
&gt; -selmon,6/9 <a href="http://wah2_sas_1985_2007.part.nc" rel="noreferrer" target="_blank">wah2_sas_1985_2007.part.nc</a><br>
&gt; <a href="http://wah2_sas_1985_2007.part.seasmean.temp.nc" rel="noreferrer" target="_blank">wah2_sas_1985_2007.part.seasmean.temp.nc</a>\n&quot;,<br>
&gt;                         &quot;Mon Nov 09 12:02:27 2015: cdo mergetime<br>
&gt; <a href="http://wah2_sas_ga.pdi.1985.nc" rel="noreferrer" target="_blank">wah2_sas_ga.pdi.1985.nc</a> <a href="http://wah2_sas_1987_p2.nc" rel="noreferrer" target="_blank">wah2_sas_1987_p2.nc</a> <a href="http://wah2_sas_ga.pdj.1991.nc" rel="noreferrer" target="_blank">wah2_sas_ga.pdj.1991.nc</a><br>
&gt; <a href="http://wah2_sas_ga.pdj.1992.nc" rel="noreferrer" target="_blank">wah2_sas_ga.pdj.1992.nc</a> <a href="http://wah2_sas_1994_p2.nc" rel="noreferrer" target="_blank">wah2_sas_1994_p2.nc</a> <a href="http://wah2_sas_ga.pdj.1995.nc" rel="noreferrer" target="_blank">wah2_sas_ga.pdj.1995.nc</a><br>
&gt; <a href="http://wah2_sas_ga.pdj.1996.nc" rel="noreferrer" target="_blank">wah2_sas_ga.pdj.1996.nc</a> <a href="http://wah2_sas_ga.pdj.1997.nc" rel="noreferrer" target="_blank">wah2_sas_ga.pdj.1997.nc</a> <a href="http://wah2_sas_ga.pdj.1998.nc" rel="noreferrer" target="_blank">wah2_sas_ga.pdj.1998.nc</a><br>
&gt; <a href="http://wah2_sas_ga.pdk.2000.nc" rel="noreferrer" target="_blank">wah2_sas_ga.pdk.2000.nc</a> <a href="http://wah2_sas_ga.pdk.2001.nc" rel="noreferrer" target="_blank">wah2_sas_ga.pdk.2001.nc</a> <a href="http://wah2_sas_ga.pdk.2002.nc" rel="noreferrer" target="_blank">wah2_sas_ga.pdk.2002.nc</a><br>
&gt; <a href="http://wah2_sas_ga.pdk.2003.nc" rel="noreferrer" target="_blank">wah2_sas_ga.pdk.2003.nc</a> <a href="http://wah2_sas_ga.pdk.2004.nc" rel="noreferrer" target="_blank">wah2_sas_ga.pdk.2004.nc</a> <a href="http://wah2_sas_ga.pdk.2005.nc" rel="noreferrer" target="_blank">wah2_sas_ga.pdk.2005.nc</a><br>
&gt; <a href="http://wah2_sas_ga.pdk.2006.nc" rel="noreferrer" target="_blank">wah2_sas_ga.pdk.2006.nc</a> <a href="http://wah2_sas_1985_2007.part.nc" rel="noreferrer" target="_blank">wah2_sas_1985_2007.part.nc</a>\n&quot;,<br>
&gt;                         &quot;Fri Oct 23 12:59:32 2015: cdo mergetime<br>
&gt; <a href="http://0049ga.pdk6dec.nc" rel="noreferrer" target="_blank">0049ga.pdk6dec.nc</a> <a href="http://0049ga.pdk7jan.nc" rel="noreferrer" target="_blank">0049ga.pdk7jan.nc</a> <a href="http://0049ga.pdk7feb.nc" rel="noreferrer" target="_blank">0049ga.pdk7feb.nc</a> <a href="http://0049ga.pdk7mar.nc" rel="noreferrer" target="_blank">0049ga.pdk7mar.nc</a><br>
&gt; <a href="http://0049ga.pdk7apr.nc" rel="noreferrer" target="_blank">0049ga.pdk7apr.nc</a> <a href="http://0049ga.pdk7may.nc" rel="noreferrer" target="_blank">0049ga.pdk7may.nc</a> <a href="http://0049ga.pdk7jun.nc" rel="noreferrer" target="_blank">0049ga.pdk7jun.nc</a> <a href="http://0049ga.pdk7jul.nc" rel="noreferrer" target="_blank">0049ga.pdk7jul.nc</a><br>
&gt; <a href="http://0049ga.pdk7aug.nc" rel="noreferrer" target="_blank">0049ga.pdk7aug.nc</a> <a href="http://0049ga.pdk7sep.nc" rel="noreferrer" target="_blank">0049ga.pdk7sep.nc</a> <a href="http://0049ga.pdk7oct.nc" rel="noreferrer" target="_blank">0049ga.pdk7oct.nc</a> <a href="http://0049ga.pdk7nov.nc" rel="noreferrer" target="_blank">0049ga.pdk7nov.nc</a><br>
&gt; <a href="http://wah2_sas_ga.pdk.2006.nc" rel="noreferrer" target="_blank">wah2_sas_ga.pdk.2006.nc</a>&quot; ;<br>
&gt;                 :alpham = 0.5f ;<br>
&gt;                 :CDO = &quot;Climate Data Operators version 1.6.0<br>
&gt; (<a href="http://code.zmaw.de/projects/cdo" rel="noreferrer" target="_blank">http://code.zmaw.de/projects/cdo</a>)&quot; ;<br>
&gt;<br>
&gt;<br>
&gt; while,<br>
&gt;<br>
&gt; Variable: oro<br>
&gt; Type: float<br>
&gt; Total Size: 32768 bytes<br>
&gt;             8192 values<br>
&gt; Number of Dimensions: 2<br>
&gt; Dimensions and sizes:   [lat | 64] x [lon | 128]<br>
&gt; Coordinates:<br>
&gt;             lat: [-87.8638..87.8638]<br>
&gt;             lon: [ 0..357.1875]<br>
&gt; Number Of Attributes: 2<br>
&gt;   time :         791<br>
&gt;   long_name :   ocean (0), land (1), sea ice (2) flag<br>
&gt; The script I used is:<br>
&gt;<br>
&gt; ;*********************************<br>
&gt; ;<br>
&gt; ;**********************************<br>
&gt; load &quot;$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl&quot;<br>
&gt; load &quot;$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl&quot;<br>
&gt; load &quot;$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl&quot;<br>
&gt; load &quot;$NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl&quot;<br>
&gt; load &quot;$NCARG_ROOT/lib/ncarg/nclscripts/csm/popRemap.ncl&quot;<br>
&gt; load &quot;$NCARG_ROOT/lib/ncarg/nclscripts/contrib/calendar_decode2.ncl&quot;<br>
&gt; ;************************************************<br>
&gt;<br>
&gt; begin<br>
&gt;<br>
&gt; ; read in data<br>
&gt;<br>
&gt; f=addfile<br>
&gt; (&quot;/ouce-home/students/rege1218/WAH2_SAS_Results_1985_2011/<a href="http://wah2_sas_1985_2007.part.seasmean.temp.nc" rel="noreferrer" target="_blank">wah2_sas_1985_2007.part.seasmean.temp.nc</a>&quot;,<br>
&gt; &quot;r&quot;);<br>
&gt; f1=addfile(&quot;/ouce-home/students/rege1218/WAH2_SAS_Results_1985_2011/<a href="http://atmos.nc" rel="noreferrer" target="_blank">atmos.nc</a>&quot;,&quot;r&quot;)<br>
&gt;<br>
&gt; temp_mod1 = f-&gt;field16<br>
&gt; temp_mod1 = temp_mod1 - 273.15 ; Convert Kelvin -&gt; Celsius<br>
&gt;<br>
&gt; temp_mod2 = f-&gt;field16_1<br>
&gt; temp_mod2 = temp_mod2 - 273.15 ; Convert Kelvin -&gt; Celsius<br>
&gt;<br>
&gt; temp_mod = (temp_mod1+temp_mod2)/2<br>
&gt; time = f-&gt;time0<br>
&gt; lat2d = f-&gt;global_latitude1  ;0<br>
&gt; lon2d = f-&gt;global_longitude1 ;0<br>
&gt; ;lat = f-&gt;latitude1<br>
&gt; ;lon = f-&gt;longitude1<br>
&gt;<br>
&gt; temp_mod!0 = &quot;time&quot;<br>
&gt; temp_mod!1 = &quot;surface&quot;<br>
&gt; temp_mod!2 = &quot;lat&quot;<br>
&gt; temp_mod!3 = &quot;lon&quot;<br>
&gt; temp_mod@units = &quot;(C)&quot;       ; Change units to reflect.<br>
&gt; temp_mod@lat2d = lat2d<br>
&gt; temp_mod@lon2d = lon2d<br>
&gt;<br>
&gt; temp_mod = temp_mod(0,0,:,:)<br>
&gt; oro = f1-&gt;ORO(0,:,:)<br>
&gt;<br>
&gt; printVarSummary(temp_mod)<br>
&gt; printVarSummary(oro)<br>
&gt;<br>
&gt; ;***********************************************************<br>
&gt; ; use mask function to mask out land then ocean data<br>
&gt; ; ocean=0, land=1, sea_ice=2<br>
&gt; ;***********************************************************<br>
&gt; land_only = temp_mod        ;trick to keep cv&#39;s and atts<br>
&gt; ocean_only = temp_mod<br>
&gt;<br>
&gt;<br>
&gt; land_only = mask(temp_mod, oro,1)     ; Return the values of temp_mod where<br>
&gt; oro=1<br>
&gt; ocean_only = mask(temp_mod, oro,0)    ; Return the values of temp_mod where<br>
&gt; oro=0<br>
&gt;<br>
&gt; ;***********************************************************<br>
&gt; ; create plots<br>
&gt; ;***********************************************************<br>
&gt;<br>
&gt;   wks = gsn_open_wks(&quot;eps&quot;,&quot;temp1&quot;)<br>
&gt;   gsn_define_colormap(wks,&quot;hotcolr_19lev&quot;)      ; choose colormap<br>
&gt;   ;gsn_reverse_colormap(wks)<br>
&gt;   res                          = True<br>
&gt;   res@cnFillOn                 = True                 ; turn on color<br>
&gt;   res@cnLinesOn                = False             ; turn off contour lines<br>
&gt;   res@cnLevelSpacingF          = 0.10              ; contour interval<br>
&gt;   res@cnFillDrawOrder          = &quot;PreDraw&quot;         ; draw contours first<br>
&gt;   res@lbLabelStride            = 2                 ; stride on label bar<br>
&gt;   res@gsnSpreadColors          = True              ; use full colormap<br>
&gt;   res@gsnSpreadColorEnd        = -3                ; -3 don&#39;t use land color<br>
&gt;   res@gsnAddCyclic             = False             ; regional data<br>
&gt;   res@gsnLeftString            = &quot;&quot;<br>
&gt;   res@tiMainString             = &quot;&quot;<br>
&gt;   res@gsnRightString           = &quot;&quot;<br>
&gt;   ;res@mpProjection            = &quot;LambertConformal&quot;<br>
&gt;   ;res@gsnMaskLambertConformal = True<br>
&gt;   res@mpMaxLatF                = 60;max(lat)  ; zoom in on region<br>
&gt;   res@mpMinLatF                = -30;min(lat)<br>
&gt;   res@mpMinLonF                = 0;min(lon)<br>
&gt;   res@mpMaxLonF                = 130; max(lon)<br>
&gt;   res@mpCenterLonF = 10                          ; def is zero<br>
&gt;   res@mpLandFillColor          = &quot;Transparent&quot;<br>
&gt;   res@cnLevelSelectionMode= &quot;ManualLevels&quot;<br>
&gt;   res@cnMinLevelValF      =  -4.00<br>
&gt;   res@cnMaxLevelValF      =  48.00 ;2<br>
&gt;   res@cnLevelSpacingF     = 2 ;2<br>
&gt;   res@lbLabelAutoStride   = True<br>
&gt;   temp_mod@_FillValue    = 0.0<br>
&gt;   temp_mod@_FillValue    = -999<br>
&gt;<br>
&gt;   plot_test = gsn_csm_contour_map(wks,land_only(0,0,:,:),res)<br>
&gt;<br>
&gt;<br>
&gt; end<br>
&gt;<br>
&gt; error I got:<br>
&gt;<br>
&gt; fatal:mask: dimension sizes  of parameter 0 and parameter 1 do not match<br>
&gt; fatal:Execute: Error occurred at or near line 54 in file<br>
&gt; Correctred_wah2_sas_seasonalmean_temp_1985_2007_part.ncl<br>
&gt;<br>
&gt;<br>
&gt; Thank you,<br>
&gt; Ruksana<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; ncl-talk mailing list<br>
&gt; <a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
&gt; List instructions, subscriber options, unsubscribe:<br>
&gt; <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
&gt;<br>
</blockquote></div><br></div>