<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>Dennis, Dave et al</div>
<div><br>
</div>
<div>Out of interest I went back and changed one of my older scripts that uses the NSIDC EASE grid, setting the sfXArray and sfYArray as suggested, I got the following error(s):</div>
<div><br>
</div>
<div>warning:ScalarFieldSetValues: 2d coordinate array sfXArray has an incorrect dimension size: defaulting sfXArray</div>
<div>warning:ScalarFieldSetValues: 2d coordinate array sfYArray has an incorrect dimension size: defaulting sfYArray</div>
<div><br>
</div>
<div>(Obviously this didn't print anything, since the 'default ' arrays don't match the data array).</div>
<div><br>
</div>
<div>It plots just fine using the inefficient attribute method (i.e. setting x@lat2d, x@lon2d.</div>
<div><br>
</div>
<div>I had a look at the description for sfXArray, sfYArray but can't find any reason why the dimensions are invalid.</div>
<div><br>
</div>
<div>Will&nbsp;</div>
<div><br>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Dennis Shea &lt;<a href="mailto:shea@ucar.edu">shea@ucar.edu</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Saturday, 29 August 2015 8:34 AM<br>
<span style="font-weight:bold">To: </span>Dave Allured - NOAA Affiliate &lt;<a href="mailto:dave.allured@noaa.gov">dave.allured@noaa.gov</a>&gt;<br>
<span style="font-weight:bold">Cc: </span>&quot;<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>&quot; &lt;<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>Re: [ncl-talk] plotting model output where x/y are not lat/lon<br>
</div>
<div><br>
</div>
<div>
<div dir="auto">
<div>Yes. So much to do ... So little time. &nbsp;:-(<br>
<br>
Sent from my iPhone</div>
<div><br>
On Aug 28, 2015, at 4:15 PM, Dave Allured - NOAA Affiliate &lt;<a href="mailto:dave.allured@noaa.gov">dave.allured@noaa.gov</a>&gt; wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<div dir="ltr">Dennis,
<div><br>
</div>
<div>Thank you for the information about preferred resources&nbsp;<span style="font-size:14px">sfXArray and&nbsp;</span><span style="font-size:14px">sfYArray for 2-D coordinates, and the reason why this is optimal.&nbsp; I learned something new here.</span></div>
<div><span style="font-size:14px"><br>
</span></div>
<div><span style="font-size:14px">Several NCL examples and at least one documentation page are advocating the less optimal method using lat2d and lon2d attributes.&nbsp; Perhaps these examples and pages could eventually be updated to use&nbsp;</span><span style="font-size:14px">sfXArray
 and&nbsp;</span><span style="font-size:14px">sfYArray instead.</span></div>
<div><span style="font-size:14px"><br>
</span></div>
<div><span style="font-size:14px">--Dave</span></div>
<div><br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Aug 28, 2015 at 3:54 PM, Dennis Shea <span dir="ltr">
&lt;<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Will's suggestion is correct.<br>
<br>
-----<br>
<br>
FYI: The ***only*** time you should assign the reserved attributes:<br>
@lat2d,&nbsp; &nbsp;@lon2d is for plotting.<br>
<br>
In fact, the NCL-team would prefer that people use the following<br>
rather than the reserved attributes.<br>
<br>
&nbsp; &nbsp; &nbsp;res@sfXArraya&nbsp; &nbsp;= lon2d<br>
&nbsp; &nbsp; &nbsp;res@sfYArray&nbsp; &nbsp; &nbsp;= lat2d<br>
&nbsp; &nbsp; &nbsp;res@trGridType&nbsp; = &quot;TriangularMesh&quot;<br>
<br>
---<br>
<br>
Each variable having an associated&nbsp; @lat2d, @lon2d takes up memory.<br>
If 5 variables&nbsp; a, a@lat2d, a@lon2d, ...&nbsp; b, c, d, e then each will<br>
require the necessary memory.<br>
Firther, if you write to netCDF via<br>
<br>
&nbsp; &nbsp; &nbsp;fnc-&gt;A = a<br>
&nbsp; &nbsp; &nbsp;fnc-&gt;B = b<br>
&nbsp; &nbsp; &nbsp;fnc-&gt;C = c<br>
&nbsp; &nbsp; &nbsp;fnc-&gt;D = d<br>
&nbsp; &nbsp; &nbsp;fnc-&gt;E = e<br>
<br>
Then the lat2d/lon2d arrays will be written 5 times (one for each variable).<br>
<br>
&nbsp; &nbsp; fnc-&gt;LAT2D = lat2d<br>
&nbsp; &nbsp; fnc-&gt;LON2D = lon2d<br>
<br>
Will write each variable&nbsp; only once!<br>
<br>
Cheers<br>
<br>
<br>
On Fri, Aug 28, 2015 at 3:38 PM, Will Hobbs &lt;<a href="mailto:Will.Hobbs@utas.edu.au" target="_blank">Will.Hobbs@utas.edu.au</a>&gt; wrote:<br>
&gt; Mira<br>
&gt;<br>
&gt; To keep all the attributes from 'sf'....<br>
&gt;<br>
&gt;&gt; sf_total = sf(0,:,:)&nbsp; &nbsp; &nbsp;;sf_total is now a 2-da array with all the<br>
&gt;&gt;attributes and rightmost dimensions of sf<br>
&gt;&gt; sf_total = dim_sum_n(sf,0)<br>
&gt;<br>
&gt; Will<br>
&gt;<br>
&gt;<br>
&gt; On 29/08/15 5:26 AM, &quot;<a href="mailto:mberdahl@envsci.rutgers.edu" target="_blank">mberdahl@envsci.rutgers.edu</a>&quot;<br>
&gt; &lt;<a href="mailto:mberdahl@envsci.rutgers.edu" target="_blank">mberdahl@envsci.rutgers.edu</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt;Excellent, this worked!&nbsp; Thank you!<br>
&gt;&gt;I just have a quick follow-up question.&nbsp; Once I assign the lat and lon to<br>
&gt;&gt;my variables (for example:&nbsp; sf@lon2d = lon2d, sf@lat2d = lat2d), and then<br>
&gt;&gt;I would like to do a calculation with sf (eg. sf_total = dim_sum_n(sf,0)),<br>
&gt;&gt;it seems I have to assign the the new variable the lat and lon again.&nbsp; Is<br>
&gt;&gt;there a way to keep the lat and lon following through the calculations<br>
&gt;&gt;without always reassigning them?<br>
&gt;&gt;I hope that makes sense.<br>
&gt;&gt;Thanks,<br>
&gt;&gt;Mira<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;&gt; Here is more information about dat with 2-D coordinates.&nbsp; I was typing<br>
&gt;&gt;&gt; this<br>
&gt;&gt;&gt; up when I saw Will's reply.&nbsp; Some of the other examples indicate<br>
&gt;&gt;&gt; that trGridTrype may not be needed with some data sets.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Please see section #2 on this documentation page, for a basic<br>
&gt;&gt;&gt;description.<br>
&gt;&gt;&gt; Notice the several different working examples:<br>
&gt;&gt;&gt; <a href="https://www.ncl.ucar.edu/Document/Graphics/overlays_on_map.shtml" rel="noreferrer" target="_blank">
https://www.ncl.ucar.edu/Document/Graphics/overlays_on_map.shtml</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; (Please ignore the link &quot;2D vertical coordinates&quot;, that is not about<br>
&gt;&gt;&gt; geographic surface maps, and can be confusing.)<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; The simplest example for making map plots with 2-D coordinates is<br>
&gt;&gt;&gt;example<br>
&gt;&gt;&gt; 3<br>
&gt;&gt;&gt; on this page:<br>
&gt;&gt;&gt; <a href="https://www.ncl.ucar.edu/Applications/ice.shtml" rel="noreferrer" target="_blank">
https://www.ncl.ucar.edu/Applications/ice.shtml</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I also like NARR example 4 because it shows how the 2-D coordinate<br>
&gt;&gt;&gt;method<br>
&gt;&gt;&gt; can be used with different map projections:<br>
&gt;&gt;&gt; <a href="http://www.ncl.ucar.edu/Applications/narr.shtml" rel="noreferrer" target="_blank">
http://www.ncl.ucar.edu/Applications/narr.shtml</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; --Dave<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Thu, Aug 27, 2015 at 9:35 PM, Will Hobbs &lt;<a href="mailto:Will.Hobbs@utas.edu.au" target="_blank">Will.Hobbs@utas.edu.au</a>&gt;<br>
&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Mira<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; It looks like you have 2-d lat and lon arrays associated with your<br>
&gt;&gt;&gt;&gt;data,<br>
&gt;&gt;&gt;&gt; as is often the case with models (especially ocean models).<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; This can be plotted by NCL without regridding, see the examples here:<br>
&gt;&gt;&gt;&gt; <a href="http://www.ncl.ucar.edu/Applications/ease.shtml" rel="noreferrer" target="_blank">
http://www.ncl.ucar.edu/Applications/ease.shtml</a><br>
&gt;&gt;&gt;&gt; Although you are not using the EASE grid, the principal is exactly the<br>
&gt;&gt;&gt;&gt; same:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; 1. Set your map plot grid type resource<br>
&gt;&gt;&gt;&gt; &gt;res@trGridTrype = &quot;TriangularMesh&quot;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; 2. Set the lat and lon arrays as attributes of the array you are<br>
&gt;&gt;&gt;&gt; plotting,<br>
&gt;&gt;&gt;&gt; so if your array is 'x'<br>
&gt;&gt;&gt;&gt; &gt; x@lat2d = LAT<br>
&gt;&gt;&gt;&gt; &gt; x@lon2d = LON<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; The just use one of the gsn_csm contour map plotting functions as<br>
&gt;&gt;&gt;&gt; normal.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I hope that's clear.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Will<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On 28/08/15 1:27 PM, &quot;Yuqiang Zhang&quot; &lt;<a href="mailto:yuqiangzhang.thu@gmail.com" target="_blank">yuqiangzhang.thu@gmail.com</a>&gt;<br>
&gt;&gt;&gt;&gt;wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; &gt;Hi Mira,<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt;Check the link here<br>
&gt;&gt;&gt;&gt; &gt;<a href="http://www.ncl.ucar.edu/FAQ/" rel="noreferrer" target="_blank">http://www.ncl.ucar.edu/FAQ/</a><br>
&gt;&gt;&gt;&gt; &gt;For Q 27:<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt;When I call one of the gsn_csm_xxxx_map plotting scripts, I get an<br>
&gt;&gt;&gt;&gt; error<br>
&gt;&gt;&gt;&gt; &gt;message about a units attribute not being correct.<br>
&gt;&gt;&gt;&gt; &gt;If you are using one of the gsn_csm_xxx_map functions to overlay data<br>
&gt;&gt;&gt;&gt; on a<br>
&gt;&gt;&gt;&gt; &gt;map, and seeing one or both of the following error messages:<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; (0)&nbsp; &nbsp;is_valid_lat_ycoord: Warning: The units attribute of<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; the Y coordinate array is not set to one of the allowable<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; units values (i.e. 'degrees_north'). Your latitude labels<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; may not be correct.<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; (0)&nbsp; &nbsp;is_valid_lat_xcoord: Warning: The units attribute of<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; the X coordinate array is not set to one of the allowable<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; units values (i.e. 'degrees_east'). Your longitude labels<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; may not be correct.<br>
&gt;&gt;&gt;&gt; &gt;then this means that your data contains coordinate arrays, but the<br>
&gt;&gt;&gt;&gt; &gt;coordinate arrays either don't have the necessary &quot;units&quot; attribute,<br>
&gt;&gt;&gt;&gt;or<br>
&gt;&gt;&gt;&gt; &gt;it's<br>
&gt;&gt;&gt;&gt; &gt;not set to one of the allowable values (&quot;degrees_east&quot; for longitude<br>
&gt;&gt;&gt;&gt; &gt;values<br>
&gt;&gt;&gt;&gt; &gt;and &quot;degrees_north&quot; for latitude values).<br>
&gt;&gt;&gt;&gt; &gt;If your coordinate arrays are indeed degrees east and degrees north,<br>
&gt;&gt;&gt;&gt; then<br>
&gt;&gt;&gt;&gt; &gt;you can set the units attribute as follows (this code snippet assumes<br>
&gt;&gt;&gt;&gt; your<br>
&gt;&gt;&gt;&gt; &gt;data array is called &quot;data&quot; and that the coordinate arrays are called<br>
&gt;&gt;&gt;&gt; &gt;&quot;lat&quot;<br>
&gt;&gt;&gt;&gt; &gt;and &quot;lon&quot;):<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; data&amp;lat@units = &quot;degrees_north&quot;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; data&amp;lon@units = &quot;degrees_east&quot;<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt;Regards,<br>
&gt;&gt;&gt;&gt; &gt;Yuqiang<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt;-----Original Message-----<br>
&gt;&gt;&gt;&gt; &gt;From: <a href="mailto:ncl-talk-bounces@ucar.edu" target="_blank">ncl-talk-bounces@ucar.edu</a> [mailto:<a href="mailto:ncl-talk-bounces@ucar.edu" target="_blank">ncl-talk-bounces@ucar.edu</a>] On<br>
&gt;&gt;&gt;&gt; &gt;Behalf<br>
&gt;&gt;&gt;&gt; &gt;Of <a href="mailto:mberdahl@envsci.rutgers.edu" target="_blank">mberdahl@envsci.rutgers.edu</a><br>
&gt;&gt;&gt;&gt; &gt;Sent: Thursday, August 27, 2015 10:21 PM<br>
&gt;&gt;&gt;&gt; &gt;To: <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
&gt;&gt;&gt;&gt; &gt;Subject: [ncl-talk] plotting model output where x/y are not lat/lon<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt;Hi all,<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt;I'm trying to make a simple plot of cumulative snowfall with data from<br>
&gt;&gt;&gt;&gt; a<br>
&gt;&gt;&gt;&gt; &gt;model I did not run.&nbsp; When I try to make a simple plot, I receive the<br>
&gt;&gt;&gt;&gt; &gt;following error:<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt;(0)&nbsp; &nbsp; &nbsp;check_for_y_lat_coord: Warning: Data either does not contain a<br>
&gt;&gt;&gt;&gt; &gt;valid latitude coordinate array or doesn't contain one at all.<br>
&gt;&gt;&gt;&gt; &gt;(0)&nbsp; &nbsp; &nbsp;A valid latitude coordinate array should have a 'units'<br>
&gt;&gt;&gt;&gt; attribute<br>
&gt;&gt;&gt;&gt; &gt;equal to one of the following values:<br>
&gt;&gt;&gt;&gt; &gt;(0)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'degrees_north' 'degrees-north' 'degree_north' 'degrees<br>
&gt;&gt;&gt;&gt; north'<br>
&gt;&gt;&gt;&gt; &gt;'degrees_N' 'Degrees_north' 'degree_N' 'degreeN' 'degreesN' 'deg<br>
&gt;&gt;&gt;&gt;north'<br>
&gt;&gt;&gt;&gt; &gt;(0)&nbsp; &nbsp; &nbsp;check_for_lon_coord: Warning: Data either does not contain a<br>
&gt;&gt;&gt;&gt; valid<br>
&gt;&gt;&gt;&gt; &gt;longitude coordinate array or doesn't contain one at all.<br>
&gt;&gt;&gt;&gt; &gt;(0)&nbsp; &nbsp; &nbsp;A valid longitude coordinate array should have a 'units'<br>
&gt;&gt;&gt;&gt; attribute<br>
&gt;&gt;&gt;&gt; &gt;equal to one of the following values:<br>
&gt;&gt;&gt;&gt; &gt;(0)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'degrees_east' 'degrees-east' 'degree_east' 'degrees east'<br>
&gt;&gt;&gt;&gt; &gt;'degrees_E' 'Degrees_east' 'degree_E' 'degreeE' 'degreesE' 'deg east'<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt;When I dump the file it looks like this:<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt;netcdf ICE.1983.01-12.f77 {<br>
&gt;&gt;&gt;&gt; &gt;dimensions:<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; TIME = UNLIMITED ; // (365 currently)<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; X10_69 = 60 ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; Y18_127 = 110 ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; SECTOR = 2 ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; SECTOR1_1 = 1 ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; ATMLAY14_23 = 10 ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; bnds = 2 ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; ATMLAY23_23 = 1 ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; ATM6H3_3 = 1 ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; OUTLAY = 20 ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; OUTLAY1_1 = 1 ;<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt;variables:<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; double TIME(TIME) ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TIME:units = &quot;HOURS since 1901-01-15 00:00:00&quot; ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TIME:long_name = &quot;time&quot; ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TIME:time_origin = &quot;15-JAN-1901 00:00:00&quot; ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TIME:axis = &quot;T&quot; ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; float DATE(TIME) ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DATE:units = &quot;YYYYMMDDHH&quot; ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DATE:long_name = &quot;Date(YYYY MM DD HH)&quot; ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DATE:history = &quot;From ICE.f77.1983.01.01-15&quot; ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; double X10_69(X10_69) ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; X10_69:units = &quot;km&quot; ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; X10_69:long_name = &quot;x&quot; ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; X10_69:point_spacing = &quot;even&quot; ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; X10_69:axis = &quot;X&quot; ;<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt; double Y18_127(Y18_127) ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Y18_127:units = &quot;km&quot; ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Y18_127:long_name = &quot;y&quot; ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Y18_127:point_spacing = &quot;even&quot; ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Y18_127:axis = &quot;Y&quot; ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; float LON(Y18_127, X10_69) ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LON:units = &quot;degrees&quot; ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LON:long_name = &quot;Longitude&quot; ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LON:history = &quot;From ICE.f77.1983.01.01-15&quot; ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; float LAT(Y18_127, X10_69) ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LAT:units = &quot;degrees&quot; ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LAT:long_name = &quot;Latitude&quot; ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LAT:history = &quot;From ICE.f77.1983.01.01-15&quot; ;<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt;Clearly there are lats and lons associated with the x and y spacing,<br>
&gt;&gt;&gt;&gt; but<br>
&gt;&gt;&gt;&gt; &gt;I'm<br>
&gt;&gt;&gt;&gt; &gt;not sure how to tell NCL how to use those.&nbsp; Does anyone have advice on<br>
&gt;&gt;&gt;&gt; &gt;this?<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt;Thanks in advance,<br>
&gt;&gt;&gt;&gt; &gt;Mira<br>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>ncl-talk mailing list</span><br>
<span><a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a></span><br>
<span>List instructions, subscriber options, unsubscribe:</span><br>
<span><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></span><br>
</div>
</blockquote>
</div>
</div>
</span>
<p style="font-size:10pt; line-height:10pt; calibri"><br>
<br>
University of Tasmania Electronic Communications Policy (December, 2014). <br>
This email is confidential, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone outside the intended recipient organisation is prohibited and may be a criminal offence. Please delete if obtained
 in error and email confirmation to the sender. The views expressed in this email are not necessarily the views of the University of Tasmania, unless clearly intended otherwise.
</p>
</body>
</html>