<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body 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; = "TriangularMesh"<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, "<a href="mailto:mberdahl@envsci.rutgers.edu" target="_blank">mberdahl@envsci.rutgers.edu</a>"<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 "2D vertical coordinates", 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 = "TriangularMesh"<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, "Yuqiang Zhang" &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 "units" 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 ("degrees_east" for longitude<br>
&gt;&gt;&gt;&gt; &gt;values<br>
&gt;&gt;&gt;&gt; &gt;and "degrees_north" 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 "data" and that the coordinate arrays are called<br>
&gt;&gt;&gt;&gt; &gt;"lat"<br>
&gt;&gt;&gt;&gt; &gt;and "lon"):<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; data&amp;lat@units = "degrees_north"<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; data&amp;lon@units = "degrees_east"<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 = "HOURS since 1901-01-15 00:00:00" ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TIME:long_name = "time" ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TIME:time_origin = "15-JAN-1901 00:00:00" ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TIME:axis = "T" ;<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 = "YYYYMMDDHH" ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DATE:long_name = "Date(YYYY MM DD HH)" ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DATE:history = "From ICE.f77.1983.01.01-15" ;<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 = "km" ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; X10_69:long_name = "x" ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; X10_69:point_spacing = "even" ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; X10_69:axis = "X" ;<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 = "km" ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Y18_127:long_name = "y" ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Y18_127:point_spacing = "even" ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Y18_127:axis = "Y" ;<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 = "degrees" ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LON:long_name = "Longitude" ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LON:history = "From ICE.f77.1983.01.01-15" ;<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 = "degrees" ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LAT:long_name = "Latitude" ;<br>
&gt;&gt;&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LAT:history = "From ICE.f77.1983.01.01-15" ;<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></body></html>