Project

General

Profile

CSV file to netcdf

Added by Dimeji Sulaymon over 5 years ago

Dear all,

I need to compare my model results with observed values. I have a CSV file containing the observed values of temperature. How do I convert it to a netcdf file?

Kindly help please.

Catalyst


Replies (1)

RE: CSV file to netcdf - Added by Ralf Mueller over 5 years ago

CVS files can have all kinds of values, so I recommend writing a python scripts using python's netCDF4 binding (installable with pip) and the built-in CSV-reader class

hth
ralf

    (1-1/1)