This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
=============================================================================== Robb Kambic Unidata Program Center Software Engineer III Univ. Corp for Atmospheric Research address@hidden WWW: http://www.unidata.ucar.edu/ =============================================================================== ---------- Forwarded message ---------- Date: Wed, 29 Apr 2009 13:15:43 -0600 (MDT) From: Doug Hunt <address@hidden> To: Robb Kambic <address@hidden> Subject: re: perl packageHi Robb: My package (PDL::NetCDF) can create netCDF output files. I just read the email you forwarded (which I had not seen before) and did not see anything about perl in the question. There are surely dozens of ways to convert ASCII to netCDF, the right answer probably depends upon when software or language is already being used and if any specific decoders are already available for the ASCII and netCDF formats required.
You can get PDL::NetCDF from CPAN at: http://www.cpan.org/modules/by-module/PDL/DHUNT/PDL-NetCDF-0.94.tar.gz In order to install, you need the PDL module first: http://www.cpan.org/modules/by-module/PDL/PDL-2.4.4.tar.gzThe advantage of using PDL::NetCDF over the normal perl netCDF interface is that netCDF variables are mapped to compact N-dimensional PDL variables instead of perl lists.
Regards, Doug address@hidden Software Engineer IV UCAR - COSMIC, Tel. (303) 497-2611 On Wed, 29 Apr 2009, Robb Kambic wrote:
Doug,Maybe I'm misinformed about your perl package, but I thought it could create netCDF output files? Also could you give me an url that points to your package so I can read up on it.Thanks, Robb... On Wed, 29 Apr 2009, Doug Hunt wrote:Robb: I never saw this request. Was there any reason to believe that he/she wanted a perl reader? I can't tell that from the email.--Doug address@hidden Software Engineer IV UCAR - COSMIC, Tel. (303) 497-2611 On Tue, 28 Apr 2009, Robb Kambic wrote:Doug,Did you answer this request? The only reason I'mm asking, is that I wasn't cc on the response.Thanks, RObb.... Hello, I'm a graduate student in the computer science dept at Howard University. I'm working on a project with upper-air data. I want to know if there is any application/decoder that can convert a raw ASCII text format file into NETCDF? Please let me know! -- Macire Diakite Howard University Graduate Student, Computer Science CS Graduate Board Vice President [Edit Ticket Post] E-mail: address@hidden =============================================================================== Robb Kambic Unidata Program CenterSoftware Engineer III Univ. Corp for Atmospheric Researchaddress@hidden WWW: http://www.unidata.ucar.edu/ ============================================================================================================================================================== Robb Kambic Unidata Program Center Software Engineer III Univ. Corp for Atmospheric Research address@hidden WWW: http://www.unidata.ucar.edu/ ===============================================================================