<div dir="ltr">It looks like this data set uses a special code value over land, and that is distorting adjacent grid points through PopLatLon.  Examine the input file, find out what the special code is, and set those values to the data set missing value (x@_FillValue) in NCL memory, before calling PopLatLon.<div><br></div><div>I can not answer your second question about a file location.  You will not need that other file if you can solve the special code problem above.<br><div><br></div><div><div dir="ltr"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 17, 2020 at 4:50 PM Yuntao BAO via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">





<div lang="ZH-CN">
<div>
<p style="margin:0cm 0cm 0.0001pt;text-align:justify;background-color:white;vertical-align:baseline">
<a name="m_944207939039874015_m_8095257574215291450_x__olk_signature"><span lang="EN-US" style="font-size:14pt;color:rgb(32,31,30);border:1pt none windowtext;padding:0cm">Dear NCL-talk,</span></a><span><span lang="EN-US" style="font-size:10.5pt;font-family:等线;color:rgb(32,31,30)"><u></u><u></u></span></span></p>
<p style="margin:0cm 0cm 0.0001pt;text-align:justify;background-color:white;vertical-align:baseline">
<span><span lang="EN-US" style="font-size:14pt;color:rgb(32,31,30);border:1pt none windowtext;padding:0cm">I use PopLatLon function to remap SST with a regular 1x1 lat/lon grid to a POP grid. To perform
 the remapping, I use the POP weight file "<b><a href="http://map_1x1d_to_gx1v6_bilin_da_100716.nc" target="_blank">map_1x1d_to_gx1v6_bilin_da_100716.nc</a>" downloaded from </b></span></span><span><span lang="EN-US" style="font-size:10.5pt;font-family:等线;color:rgb(32,31,30)"><u></u><u></u></span></span></p>
<div style="border-width:1pt 1pt 6pt;border-style:solid;border-color:windowtext;padding:0cm;background-color:white">
<pre style="line-height:12pt;background-color:white;vertical-align:baseline;border:none transparent;padding:0cm;white-space:pre-wrap"><span></span><a href="https://svn-ccsm-inputdata.cgd.ucar.edu/trunk/ncl/" target="_blank"><span><span lang="EN-US" style="font-size:14pt;color:rgb(133,45,133);border:1pt none windowtext;padding:0cm">https://svn-ccsm-inputdata.cgd.ucar.edu/trunk/ncl/</span></span><span></span></a><span><span lang="EN-US" style="font-size:10pt;font-family:Courier;color:black"><u></u><u></u></span></span></pre>
</div>
<span></span>
<p style="margin:0cm 0cm 0.0001pt;text-align:justify;background-color:white;vertical-align:baseline">
<b><span lang="EN-US" style="color:rgb(32,31,30);border:1pt none windowtext;padding:0cm"><u></u> <u></u></span></b></p>
<p style="margin:0cm 0cm 0.0001pt;text-align:justify;background-color:white;vertical-align:baseline">
<span lang="EN-US" style="font-size:10.5pt;font-family:等线;color:rgb(32,31,30)"><u></u> <u></u></span></p>
<p style="margin:0cm 0cm 0.0001pt;text-align:justify;background-color:white;vertical-align:baseline">
<span lang="EN-US" style="font-size:14pt;color:rgb(32,31,30);border:1pt none windowtext;padding:0cm">I successfully get the result, the new SST with a gx1v6 POP grid. But the problem is that<b> the new SST data has many unrealistic
 values in most of the continental margin (shown in Fig. b), these values are much less than it should be. </b></span><span lang="EN-US" style="font-size:11.5pt;font-family:等线;color:rgb(32,31,30)"><u></u><u></u></span></p>
<p style="margin:0cm 0cm 0.0001pt;text-align:justify;background-color:white;vertical-align:baseline">
<span lang="EN-US" style="font-size:14pt;color:rgb(32,31,30);border:1pt none windowtext;padding:0cm">I don't know what may cause this problem. Do you have any idea about what may cause this problem? I think maybe the POP weight file
 accounts. </span><span lang="EN-US" style="font-size:11.5pt;font-family:等线;color:rgb(32,31,30)"><u></u><u></u></span></p>
<p style="margin:0cm 0cm 0.0001pt;text-align:justify;background-color:white;vertical-align:baseline">
<span lang="EN-US" style="font-size:11.5pt;font-family:等线;color:rgb(32,31,30)"><u></u> <u></u></span></p>
<p style="margin:0cm 0cm 0.0001pt;text-align:justify;background-color:white;vertical-align:baseline">
<span lang="EN-US" style="font-size:14pt;color:rgb(32,31,30);border:1pt none windowtext;padding:0cm">The remapping results of the example <b>lat2pop_1.ncl </b>on NCL webpage has no such problem. This example used a different POP weight
 file </span><b><span lang="EN-US" style="font-size:14pt;font-family:等线;color:rgb(32,31,30);border:1pt none windowtext;padding:0cm;background-color:white">"<a href="http://map_1x1d_to_gx1v3_bilin_da_010808.nc" target="_blank">map_1x1d_to_gx1v3_bilin_da_010808.nc</a>". I tried to download this weight file, but I can't find it anywhere. Could
 you please guide me to the location of this former POP weight file "<a href="http://map_1x1d_to_gx1v3_bilin_da_010808.nc" target="_blank">map_1x1d_to_gx1v3_bilin_da_010808.nc</a>" ?</span></b><span lang="EN-US" style="font-size:11.5pt;font-family:等线;color:rgb(32,31,30)"><u></u><u></u></span></p>
<p style="margin:0cm 0cm 0.0001pt;text-align:justify;background-color:white;vertical-align:baseline">
<span lang="EN-US" style="font-size:11.5pt;font-family:等线;color:rgb(32,31,30)"><u></u> <u></u></span></p>
<p style="margin:0cm 0cm 0.0001pt;text-align:justify;background-color:white;vertical-align:baseline">
<span lang="EN-US" style="font-family:等线;color:rgb(32,31,30);border:1pt none windowtext;padding:0cm;background-color:white">I would appreciate if you can help! Looking forward to your reply!</span><span lang="EN-US" style="font-size:11.5pt;font-family:等线;color:rgb(32,31,30)"><u></u><u></u></span></p>
<p style="margin:0cm 0cm 0.0001pt;text-align:justify;background-color:white;vertical-align:baseline">
<span lang="EN-US" style="font-family:等线;color:rgb(32,31,30);border:1pt none windowtext;padding:0cm;background-color:white">Best regards,</span><span lang="EN-US" style="font-size:11.5pt;font-family:等线;color:rgb(32,31,30)"><u></u><u></u></span></p>
<p style="margin:0cm 0cm 0.0001pt;text-align:justify;background-color:white;vertical-align:baseline">
<b><span lang="EN-US" style="font-size:10.5pt;font-family:等线;color:rgb(32,31,30);border:1pt none windowtext;padding:0cm;background-color:white">Yuntao Bao</span></b><span lang="EN-US" style="font-size:11.5pt;font-family:等线;color:rgb(32,31,30)"><u></u><u></u></span></p>
<p style="margin:0cm 0cm 0.0001pt;text-align:justify;background-color:white;vertical-align:baseline"><b><span lang="EN-US" style="font-size:10.5pt;font-family:等线;color:rgb(32,31,30);border:1pt none windowtext;padding:0cm;background-color:white"><br>
</span></b><span lang="EN-US" style="font-size:11.5pt;font-family:等线;color:rgb(32,31,30)"><u></u><u></u></span></p>
<p style="margin:0cm 0cm 0.0001pt;text-align:justify;background-color:white;vertical-align:baseline">
<b><span lang="EN-US" style="font-size:10.5pt;font-family:等线;color:rgb(32,31,30);background-color:white">Appendix:</span></b><span lang="EN-US" style="font-size:11.5pt;font-family:等线;color:rgb(32,31,30)"><u></u><u></u></span></p>
<p style="margin:0cm 0cm 0.0001pt;text-align:justify;background-color:white;vertical-align:baseline">
<b><span lang="EN-US" style="color:rgb(32,31,30);border:1pt none windowtext;padding:0cm">This is the link of the example lat2pop_1.ncl:</span></b><span lang="EN-US" style="font-size:11.5pt;font-family:等线;color:rgb(32,31,30)"><u></u><u></u></span></p>
<p style="margin:0cm 0cm 0.0001pt;text-align:justify;background-color:white;vertical-align:baseline">
<span lang="EN-US" style="font-size:11.5pt;font-family:等线;color:rgb(32,31,30)"><a href="https://www.ncl.ucar.edu/Applications/Scripts/lat2pop_1.ncl" target="_blank"><span style="font-size:12pt;border:1pt none windowtext;padding:0cm">https://www.ncl.ucar.edu/Applications/Scripts/lat2pop_1.ncl</span></a><u></u><u></u></span></p>
<p class="MsoNormal" style="background-color:white;vertical-align:baseline"><span lang="EN-US" style="font-size:11.5pt;font-family:"Microsoft YaHei UI",sans-serif;color:rgb(32,31,30)"><u></u> <u></u></span></p>
<p style="margin:0cm 0cm 0.0001pt;text-align:justify;background-color:white;vertical-align:baseline">
<b><span lang="EN-US" style="color:rgb(32,31,30);border:1pt none windowtext;padding:0cm">These are the plots before and after remapping:</span></b><span lang="EN-US" style="font-size:11.5pt;font-family:等线;color:rgb(32,31,30)"><u></u><u></u></span></p>
<p style="margin:0cm 0cm 0.0001pt;text-align:justify;background-color:white;vertical-align:baseline">
<span lang="EN-US" style="font-size:10.5pt;font-family:等线;color:black"></span></p></div></div></blockquote><div><snip></div></div></div></div></div></div>