[ncl-talk] Suggestion to convert from .csv to .nc

Bucaram Carbo, Carlos carlos.bucaramcarbo at und.edu
Sat Jun 6 20:13:02 MDT 2020


Dr. Thomas,

Thank you for the information link, as well as for your comments on the issue and offer.

Kind regards,


Carlos Bucaram

________________________________
From: Brian Thomas <brian.thomas at washburn.edu>
Sent: Saturday, June 6, 2020 11:05 AM
To: Bucaram Carbo, Carlos <carlos.bucaramcarbo at und.edu>
Cc: ncl-talk at ucar.edu <ncl-talk at ucar.edu>
Subject: [ncl-talk] Suggestion to convert from .csv to .nc

Hi, Carlos,
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.

There’s more info here: https://www.ncl.ucar.edu/Applications/read_ascii.shtml

And I’d be happy to share example code if you like, just email me directly.

On Jun 5, 2020, at 8:17 PM, ncl-talk-request at ucar.edu<mailto:ncl-talk-request at ucar.edu> wrote:

----------------------------------------------------------------------

Message: 1
Date: Sat, 6 Jun 2020 01:17:06 +0000
From: "Bucaram Carbo, Carlos" <carlos.bucaramcarbo at und.edu<mailto:carlos.bucaramcarbo at und.edu>>
To: "ncl-talk at ucar.edu<mailto:ncl-talk at ucar.edu>" <ncl-talk at ucar.edu<mailto:ncl-talk at ucar.edu>>
Subject: [ncl-talk] Suggestion to convert from .csv to .nc



Hello all,

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.

Thanks in advance for the feedback and help,


Carlos Bucaram

****************************************

@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@
Brian C. Thomas, PhD
Professor, Physics and Astronomy, Washburn University

785-670-2144<tel:(785)%20670-2144>
brian.thomas at washburn.edu<mailto:brian.thomas at washburn.edu>

Web: http://www.washburn.edu/faculty/bthomas/
ORCID profile: http://orcid.org/0000-0001-9091-0830
ResearchGate profile: https://www.researchgate.net/profile/Brian_Thomas

Department of Physics and Astronomy
Washburn University
1700 SW College Ave.<https://maps.google.com/?q=1700+SW+College+Ave.%0D+Topeka,+KS+66621&entry=gmail&source=g>
Topeka, KS 66621<https://maps.google.com/?q=1700+SW+College+Ave.%0D+Topeka,+KS+66621&entry=gmail&source=g>

@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200607/c3aa7d31/attachment.html>


More information about the ncl-talk mailing list