<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi, Carlos,
<div class="">I’ve done a lot of converting from csv/ascii to netCDF.  It essentially requires knowing how the data is structured in the input file, read using  one of the “ascii read” commands, and then parsing out the data into structures that can be defined
 for netCDF output.  It’s kind of tedious, but not hard once you know how.</div>
<div class=""><br class="">
</div>
<div class="">There’s more info here: <a href="https://www.ncl.ucar.edu/Applications/read_ascii.shtml" class="">https://www.ncl.ucar.edu/Applications/read_ascii.shtml</a></div>
<div class=""><br class="">
</div>
<div class="">And I’d be happy to share example code if you like, just email me directly.<br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Jun 5, 2020, at 8:17 PM, <a href="mailto:ncl-talk-request@ucar.edu" class="">
ncl-talk-request@ucar.edu</a> wrote:</div>
<div class="">
<div class=""><br class="">
----------------------------------------------------------------------<br class="">
<br class="">
Message: 1<br class="">
Date: Sat, 6 Jun 2020 01:17:06 +0000<br class="">
From: "Bucaram Carbo, Carlos" <<a href="mailto:carlos.bucaramcarbo@und.edu" class="">carlos.bucaramcarbo@und.edu</a>><br class="">
To: "<a href="mailto:ncl-talk@ucar.edu" class="">ncl-talk@ucar.edu</a>" <<a href="mailto:ncl-talk@ucar.edu" class="">ncl-talk@ucar.edu</a>><br class="">
Subject: [ncl-talk] Suggestion to convert from .csv to .nc<br class="">
<br class="">
<br class="">
<br class="">
Hello all,<br class="">
<br class="">
I am trying to correctly reconvert back to the original grid netcdf .nc format file, a .csv file (o3_month_RACM.csv) that was previously extracted from netcdf (o3.month.nc). The idea is to make a "difference" plot, that is, a netcdf plot of O3 concentrations
 with the difference in concentration among different mechanisms.<br class="">
<br class="">
Thanks in advance for the feedback and help,<br class="">
<br class="">
<br class="">
Carlos Bucaram<br class="">
<br class="">
****************************************<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
<div class="">
<div class="">
<div style="font-size: 12px;" class="">@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#<wbr class="">@#@#@#@#@#@</div>
<div style="font-size: 12px;" class="">Brian C. Thomas, PhD</div>
<div style="font-size: 12px;" class="">Professor, Physics and Astronomy, Washburn University</div>
<div style="font-size: 12px;" class=""><br class="m_5392318813447303527khtml-block-placeholder">
</div>
<div style="font-size: 12px;" class=""><a href="tel:(785)%20670-2144" value="+17856702144" target="_blank" class="">785-670-2144</a></div>
<div style="font-size: 12px;" class=""><a href="mailto:brian.thomas@washburn.edu" target="_blank" class="">brian.thomas@washburn.edu</a></div>
<div style="font-size: 12px;" class=""><br class="">
</div>
<div style="font-size: 12px;" class="">Web: <a href="http://www.washburn.edu/faculty/bthomas/" target="_blank" class="">http://www.washburn.edu/<wbr class="">faculty/bthomas/</a></div>
<div style="font-size: 12px;" class="">
<div style="font-size: 14px;" class=""><span style="font-size: 12px;" class="">ORCID profile: <span style="text-align: -webkit-auto;" class=""><a href="http://orcid.org/0000-0001-9091-0830" target="_blank" class="">http://orcid.org/<wbr class="">0000-0001-9091-0830</a></span></span></div>
<div class="">ResearchGate profile: <a href="https://www.researchgate.net/profile/Brian_Thomas" target="_blank" class="">https://www.<wbr class="">researchgate.net/profile/<wbr class="">Brian_Thomas</a></div>
</div>
<div style="font-size: 12px;" class=""><br class="">
</div>
<div style="font-size: 12px;" class="">Department of Physics and Astronomy</div>
<div style="font-size: 12px;" class="">Washburn University</div>
<div style="font-size: 12px;" class=""><a href="https://maps.google.com/?q=1700+SW+College+Ave.%0D+Topeka,+KS+66621&entry=gmail&source=g" class="">1700 SW College Ave.</a></div>
<div style="font-size: 12px;" class=""><a href="https://maps.google.com/?q=1700+SW+College+Ave.%0D+Topeka,+KS+66621&entry=gmail&source=g" class="">Topeka, KS 66621</a></div>
<div style="font-size: 12px;" class=""><br class="m_5392318813447303527khtml-block-placeholder">
</div>
<div style="font-size: 12px;" class="">@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#<wbr class="">@#@#@#@#@#@</div>
</div>
</div>
<br class="">
</div>
</body>
</html>