<div dir="ltr"><div>Hi Siliang,</div><div><br></div><div>Please always post ncl-related questions to ncl-talk, as there is a broader pool of expertise to draw from.</div><div><br></div><div>For the plot in general, I *think* example #2 might be very close to what you want:</div><div><br></div><div> <a href="http://ncl.ucar.edu/Applications/native.shtml">http://ncl.ucar.edu/Applications/native.shtml</a></div><div><br></div><div>The shading is going to be tricker, as it looks like your data is categorical, rather than a scalar field. This link has several examples:</div><div><br></div><div> <a href="http://ncl.ucar.edu/Applications/classification.shtml">http://ncl.ucar.edu/Applications/classification.shtml</a></div><div><br></div><div>particularly the "permafrost" example, which shows the use of explicit contour levels and color assignments.</div><div><br></div><div>I hope that helps...</div><div>Rick<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 15, 2020 at 11:34 PM <a href="mailto:lslrsgis@whu.edu.cn">lslrsgis@whu.edu.cn</a> <<a href="mailto:lslrsgis@whu.edu.cn">lslrsgis@whu.edu.cn</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
<div><span></span><div>Dear Dr. Brownrigg,</div><div><br></div><div>Thanks for your help on NCL last time. Sorry to bother you again, since the attachments oversized the limit of ncl-talk.</div><div><br></div><div>I am wondering how to colormap this NETCDF geofile using NCL (see effects as Hangzhou.jpg attached). Since the original format GEOTIFF is not recognized by NCL, I convert it to NETCDF using gdal_translate. </div><div><br></div><div>However, the lat/lon information is not given as grid dataset layer (like XLAT, XLONG in wrfout_d0*.nc) in Hangzhou.nc. The projection information are described as global properties, which can be shown through gdalinfo. I am wondering how to plot this with lat/long grid lines and correct projection?</div><div><br></div><div>Thanks in advance,</div><div><br></div><div>Best regards,</div></div><div><br></div><div>Siliang</div>
</div></blockquote></div>