<div dir="ltr"><div><br></div><div><br></div><div>re: "my nc file is just known by the remote server I work at. After copying 
the file to my desktop, and opening it by Panoply , it is no longer 
valid as a nc file"</div><div><br></div><div>This is  "no longer 
valid as a nc file" does not make sense to me. Are you sure it was netCDF [eg: .nc, .nc4, ... extension]</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br> </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 10, 2020 at 10:45 AM zoe jacobs via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu">ncl-talk@mailman.ucar.edu</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 dir="ltr">Dear Dave, <div>Many thanks for your explanations. My problem is that my nc file is just known by the remote server I work at. After copying the file to my desktop, and opening it by Panoply , it is no longer valid as a nc file ! . So I look for a way to sort it out. What can I do please?</div><div>Many thanks in advance,</div><div>Best wishes,</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 9, 2020 at 10:19 PM Dave Allured - NOAA Affiliate <<a href="mailto:dave.allured@noaa.gov" target="_blank">dave.allured@noaa.gov</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 dir="ltr"><div dir="ltr"><div dir="ltr"><div>According to this article, your original Netcdf file is already in a GIS raster format.<br><br>    <a href="https://en.wikipedia.org/wiki/GIS_file_formats" target="_blank">https://en.wikipedia.org/wiki/GIS_file_formats</a><br><br>You should be able to skip the plotting step, and use the Netcdf file directly in ArcGIS.  Minor adjustments may be needed for coordinates and area subsetting.  My guess is that this is really what you want to do.<br><br>The expression "raster format" is problematical because it is used for at least three fundamentally different things in computer graphics.  Generically, this refers to common "bit-mapped" image file formats such as png, gif, and jpeg.  In GIS and satellite imagery, it refers to a variety of gridded data formats, including Netcdf.  And NCL has a specialized usage, referring to the rendering of gridded data as visibly rectangular blocks when making plots, rather than smooth or segmented outlines.  It would be nice if these nuances of terminology were discussed in NCL documentation, but, um, they are not.</div><div><br></div><div>To make things more confusing, some of these formats can be "rendered" in one of the other formats, often losing software compatibility in the process.  The picture on your example raster_4.ncl is a perfect example of this.  That is an NCL "raster plot" projected onto a PNG "raster format" image file for website display.  The "pixels" before and after are completely different.  So be careful about which usage you are discussing.<br></div><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 9, 2020 at 10:06 AM zoe jacobs 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:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear all NCL users,<div><br></div><div>I would like to create a map plot in raster format from a nc file . So I can then use it on ArcGIS. Please have a look at the following link </div><div><a href="https://www.ncl.ucar.edu/Applications/raster.shtml" target="_blank">https://www.ncl.ucar.edu/Applications/raster.shtml</a> , <span style="background-color:rgb(217,210,233)">example easter_4.ncl </span>. I already could plot a contour map from my nc file, and I just wonder which command should I add to my script to convert my plot to be in a raster format?<br></div><div>Would you please kindly advise me in this regard?</div><div>Best wishes,</div></div></blockquote></div></div></div></div>
</blockquote></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>