<html><head><meta http-equiv="Content-Type" content="text/html charset=gb2312"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi, all<div class=""><br class=""></div><div class=""> I have many CMIP5 sea ice concentration data and want to regrid them into the same grid coordinate as HadISST.</div><div class=""><br class=""></div><div class=""> Since the land area own missing_value (_FillValue) in HadiSST, I also want the regridded data show missing values in land .</div><div class=""><br class=""></div><div class="">I use the following scripts:</div><div class=""> </div><div class=""> <span style="font-family: Menlo; font-size: 14px; font-variant-ligatures: no-common-ligatures;" class=""> fi = </span><span style="font-family: Menlo; font-size: 14px; font-variant-ligatures: no-common-ligatures; color: rgb(52, 187, 199);" class="">addfile</span><span style="font-family: Menlo; font-size: 14px; font-variant-ligatures: no-common-ligatures;" class="">(</span><span style="color: rgb(195, 55, 32); font-family: Menlo; font-size: 14px; font-variant-ligatures: no-common-ligatures;" class="">"HadISST_ice.nc"</span><span style="font-family: Menlo; font-size: 14px; font-variant-ligatures: no-common-ligatures;" class="">,</span><span style="color: rgb(195, 55, 32); font-family: Menlo; font-size: 14px; font-variant-ligatures: no-common-ligatures;" class="">"r"</span><span style="font-family: Menlo; font-size: 14px; font-variant-ligatures: no-common-ligatures;" class="">)</span></div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> hsic = fi->sic</span></div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> hlon = fi->longitude</span></div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> hlat = fi->latitude(</span><span style="font-variant-ligatures: no-common-ligatures; color: #ce7924" class="">{</span><span style="font-variant-ligatures: no-common-ligatures" class="">-</span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">90</span><span style="font-variant-ligatures: no-common-ligatures" class="">.:-</span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">50</span><span style="font-variant-ligatures: no-common-ligatures" class="">.</span><span style="font-variant-ligatures: no-common-ligatures; color: #ce7924" class="">}</span><span style="font-variant-ligatures: no-common-ligatures" class="">)</span></div><div class=""> ¡¡.</div><div class=""> </div><div class=""> Opt@SrcGridMask = where(.not.ismissing(thetao(0,:,:)),1,0) ; thetao is the source grids, with data zero in land, no missing </div><div class=""> Opt@DstGridMask = where(.not.ismissing(hsic(0,:,:)),1,0) ; hsic is the HadISST SIC data, with missing values in land</div><div class=""> </div><div class=""> <span style="font-family: Menlo; font-size: 14px;" class="">Opt@DstGridLat </span><span style="font-family: Menlo; font-size: 14px;" class=""> </span><span style="font-family: Menlo; font-size: 14px;" class="">= hlat</span></div><div class=""><span style="font-family: Menlo; font-size: 14px;" class=""> </span><span style="font-family: Menlo; font-size: 14px;" class="">Opt@DstGridLon </span><span style="font-family: Menlo; font-size: 14px;" class=""> </span><span style="font-family: Menlo; font-size: 14px;" class="">= hlon</span> </div><div class="">¡¡..</div><div class=""><br class=""></div><div class=""> <span style="font-family: Menlo; font-size: 14px;" class=""> </span><span style="font-family: Menlo; font-size: 14px;" class="">thetao_regrid = ESMF_regrid(thetao,Opt)</span></div><div class=""><br class=""></div><div class="">However, I found the regridded data ¡°thetao_regrid" show zero values, not missing values in land.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""> How to make the regridded data have missing values for the same grids as HadISST?</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Thank</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Lin </div><div class=""><br class=""></div><div class=""> </div><div class=""><br class=""></div></body></html>