<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 14pt; color: rgb(0, 0, 0);">
<span style="font-size: 12pt; color: rgb(0, 0, 0);">My data is in ascii format (e.g. attached). Yes, I would like to use </span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255); display: inline !important;">some
kind of cartographic projection, type Cylindrical equidistant or Mercator. </span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 14pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255); display: inline !important;">That
would be exactly what this library does (</span><span style="color: rgb(32, 31, 30); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; background-color: rgb(255, 255, 255); display: inline !important"><span style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; background-color: rgb(255, 255, 255); display: inline !important; font-size: 12pt; color: rgb(0, 0, 0);">Proj4</span></span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255); display: inline !important;">).</span><span style="color: rgb(32, 31, 30); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; background-color: rgb(255, 255, 255); display: inline !important"><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 14pt; color: rgb(0, 0, 0);">
<span style="color: rgb(32, 31, 30); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; background-color: rgb(255, 255, 255); display: inline !important"><span style="font-size: 12pt; color: rgb(0, 0, 0);">The
specific region of the projection would be Brazil, maybe I will use some shapefile to cut some specific region.</span><span><br>
</span>
<div><span style="font-size: 12pt; color: rgb(0, 0, 0);">It would be great to have this interface. Let me know everything you need to work out.</span></div>
<div><span style="font-size: 12pt; color: rgb(0, 0, 0);">Thanks for the support</span><br>
</div>
</span></div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>De:</b> Rick Brownrigg <brownrig@ucar.edu><br>
<b>Enviado:</b> segunda-feira, 11 de novembro de 2019 12:16<br>
<b>Para:</b> Vanúcia Schumacher <vanucia-schumacher@hotmail.com><br>
<b>Cc:</b> ncl-talk@ucar.edu <ncl-talk@ucar.edu><br>
<b>Assunto:</b> Re: [ncl-talk] Convert data frame to spatial coordinates</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>To me, points with lat/lon are spatial data with coordinates (?) Do you mean you want the coordinates in some kind of cartographic projection, such as Lambert Conformal, UTM, Mercator, etc? If so, NCL has an undocumented interface to the Proj4 casrtographic
projection library. I can elaborate further, but you need to know all the projection parameters involved (standard parallels, meridian, etc.).</div>
<div><br>
</div>
<div>Rick<br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Mon, Nov 11, 2019 at 8:11 AM Vanúcia Schumacher via ncl-talk <<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:14pt; color:rgb(0,0,0)">
<span style="font-size:12pt; color:rgb(0,0,0)">Hi users,</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:14pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:14pt; color:rgb(0,0,0)">
</div>
<div><span style="font-size:12pt; color:rgb(0,0,0)">I would like to know if NCL or NCL-Phyton has any function for converting points (just lat and lon) to spatial data with coordinates?</span></div>
<div><br>
</div>
<div><span style="font-size:12pt; color:rgb(0,0,0)">Data frame like this:</span></div>
<div><span style="font-size:12pt; color:rgb(0,0,0)">type,year,mon,day,hr,min,seg,lat,lon,var</span><span><br>
</span><span style="font-size:12pt; color:rgb(0,0,0)">CGC,2015,8,29,0,0,1,-5.0811541,-52.1089013,-11538</span><br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:14pt; color:rgb(0,0,0)">
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:14pt; color:rgb(0,0,0)">
<span style="font-size:12pt; color:rgb(0,0,0)">...</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:14pt; color:rgb(0,0,0)">
...</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:14pt; color:rgb(0,0,0)">
...</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:14pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:14pt; color:rgb(0,0,0)">
<span style="font-size:12pt; color:rgb(0,0,0)">Thanks for any support</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:14pt; color:rgb(0,0,0)">
<br>
</div>
</div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote>
</div>
</div>
</body>
</html>