AndyC1000
asked on
Convert NETCDF to CSV
Dear all,
I've been looking into this for a while, I'm wondering if anyone has used the netCDF java library or python to read a NETCDF file and convert it to CSV. I haven't used python before, I've downloaded Anaconda.
Would you also have any examples and how difficult would it be to output the data into the table described below.
The data in the NETCDF file is time (date), longitude, latitude and value.
Longitude, Latitude, Date1, Date2 etc
** Values **
** Values **
We can't use Netcdf4excel our machines are 2010 64 bit, also tried nc2text,
http://www.narccap.ucar.ed u/data/asc ii-howto.h tml it won't work for us either, each variable would be in a separate file (wrote the VB script to combine them) then when it comes to outputting the *values* it isn't in a form we can use (comma delimited in a single cell).
I've also looked into these options without success https://www.unidata.ucar.e du/softwar e/netcdf/s oftware.ht ml#Java interface
I'm using ArcMap however not all the users will have access to the software.
Thanks
I've been looking into this for a while, I'm wondering if anyone has used the netCDF java library or python to read a NETCDF file and convert it to CSV. I haven't used python before, I've downloaded Anaconda.
Would you also have any examples and how difficult would it be to output the data into the table described below.
The data in the NETCDF file is time (date), longitude, latitude and value.
Longitude, Latitude, Date1, Date2 etc
** Values **
** Values **
We can't use Netcdf4excel our machines are 2010 64 bit, also tried nc2text,
http://www.narccap.ucar.ed
I've also looked into these options without success https://www.unidata.ucar.e
I'm using ArcMap however not all the users will have access to the software.
Thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Here's the link for the netcdf java library I'm using.
http://www.unidata.ucar.ed u/software /thredds/c urrent/net cdf-java/d ocumentati on.htm
http://www.unidata.ucar.ed
None of that helps. You need Linux to run NCL or CDO. Cygwin may or may not work.
ASKER
Does anyone have experience using the java netcdf library?
I've opened the file, I'm having troubles finding the data within the object model.