How to convert netcdf file in .csv file

15 views (last 30 days)
sunny kant
sunny kant on 13 Apr 2016
Commented: TANYA GUPTA on 27 Oct 2021
I need to convert netCDF file into .csv file which has lat, long, levels, time and variable name is specific humidity with different pressure levels. I need to convert particular lat and lon at 950 hPa pressure level datasets into .csv format. The file size is too large so i am attaching the datasets link ( http://www.esrl.noaa.gov/psd/data/gridded/data.ncep.reanalysis.pressure.html). Can somebody help to do this conversion?
  1 Comment
SAIPRIYA S R
SAIPRIYA S R on 22 Nov 2020
I have the same dataset. How to convert the netCDF file to csv file

Sign in to comment.

Answers (1)

Chad Greene
Chad Greene on 13 Apr 2016
Sunny,
Read the NetCDF data with ncread, then write the csv file with csvwrite.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!