Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Reading NetCDF files


From   Erik Lindsley <[email protected]>
To   [email protected]
Subject   Re: st: Reading NetCDF files
Date   Wed, 15 Feb 2012 08:44:19 -0600

I don't know of a NetCDF reader, but one alternative to consider might be to convert it to another format that is understood by stata.
There is a JSON reader (user-written insheetjson command, available by the stata command "net install insheetjson") 
and there seems to be a NetCDF-to-JSON converter available at:

http://www.unidata.ucar.edu/software/netcdf/software.html#JSON

Just an alternative to consider...

- Erik

> Date: Tue, 14 Feb 2012 18:42:28 +0000
> From: Gordon Hughes <[email protected]>
> Subject: st: Reading NetCDF files
> 
> Dear Statalist,
> 
> Is anyone aware of a Stata user-written routine or other method of 
> importing data stored in NetCDF files into Stata?
> 
> As background, NetCDF denotes the Network Common Data Form, a binary 
> file format which is widely used for climate data and other data 
> compiled by geophysicists, earth scientists, etc.
> 
> There are libraries written in C, Fortran & Java which can be used to 
> read NetCDF files but I was trying to avoid the need to special 
> purpose routines to extract the data.  In addition, I believe that 
> there are R modules which can read NetCDF files, but this means a 
> struggle to remember the details of R data structures.
> 
> I would be very grateful for any suggestions.
> 
> Gordon Hughes
> [email protected] 
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index