How to convert netcdf file in .csv file

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

I have the same dataset. How to convert the netCDF file to csv file

Sign in to comment.

Answers (1)

Sunny,
Read the NetCDF data with ncread, then write the csv file with csvwrite.

2 Comments

Can you provide more details ? thank you

Sign in to comment.

Tags

Asked:

on 13 Apr 2016

Commented:

on 27 Oct 2021

Community Treasure Hunt

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

Start Hunting!