<div dir="ltr"><div dir="ltr">Okay, I understand.  There are many possible reasons for can not download properly, and I would rather not attempt to remote diagnose your systems.</div><div dir="ltr"><br></div><div dir="ltr">Try the following as both a shortcut and to get some diagnostic information. This is an attempt to circumvent unknown problems with a mysterious remote file structure, by extracting a simplified file with known behavior.<div><br></div><div>On the remote server, open that remote file in NCL.  Get a single gridded variable that is the 2-D data that you want for your initial test case.  This will probably be the same grid that you were plotting in your initial example.  Ensure that this variable has attached lat and lon coordinates.  All of this can be done with your original plotting program, you do not even need to write new code lines so far.  If there are parts you do not understand, please ask.</div><div><br></div><div>Now still in NCL, create a new Netcdf data file.  Write the single grid with attached coordinates to this new file, then exit NCL.  Here, it is easier to show than explain.</div><div><br></div><div>    newfile = addfile ("<a href="http://xdata.nc">xdata.nc</a>", "c")</div><div>    newfile->x = x</div><div>    exit</div><div><br></div><div>Now see if you can easily download this new small Netcdf file.  If this works, then you will have the grid that you want locally, in a format that should be readable by Panoply, NCL, and GIS programs.</div><div><br></div><div><br></div><div>On Wed, Jun 10, 2020 at 12:11 PM zoe jacobs <<a href="mailto:zoejacobs1990@gmail.com" target="_blank">zoejacobs1990@gmail.com</a>> wrote:<br></div></div><div dir="ltr"><div class="gmail_quote"><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 dir="ltr">Dear Dave,<div>I meant that I have a nc file which is an output of a model. I can plot a contour map from that file through a remote server. I have both the model and NCL on a remote server. However, once I copy that nc file from remote server to my desktop Panoply cannot read that nc file.</div><div>I hope it is clear now.</div><div>Best wishes,</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 10, 2020 at 10:32 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-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">This is a bit confusing.  Are you saying you can run NCL on your remote server, and make some kind of smaller file that you can then download?  Or are you running NCL locally and reading this Netcdf file through a server path or a URL?</div><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 10, 2020 at 10:45 AM zoe jacobs <<a href="mailto:zoejacobs1990@gmail.com" target="_blank">zoejacobs1990@gmail.com</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 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-width:1px;border-left-style:solid;border-left-color: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-width:1px;border-left-style:solid;border-left-color: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>
</blockquote></div></div>
</blockquote></div>
</blockquote></div></div>
</div>