Rank: 4036 based on 29 downloads (last 30 days) and 1 file submitted
photo

Christian Stranne

E-mail
Company/University
University of Gothenburg

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Christian
Updated   File Tags Downloads
(last 30 days)
Comments Rating
26 Aug 2013 Read netCDF files and display variable information Loads netCDF files and displays info about variables. Tested for ERA and NCEP/NCAR reanalysis data. Author: Christian Stranne netcdf, ncar, ncep, era, erainterim, era40 29 5
  • 3.0
3.0 | 1 rating
Comments and Ratings by Christian View all
Updated File Comments Rating
01 Jul 2014 Read netCDF files and display variable information Loads netCDF files and displays info about variables. Tested for ERA and NCEP/NCAR reanalysis data. Author: Christian Stranne

Ricardo,

I can help you to plot the data if you describe the data set you are using and what kind of plot you want to make.

Send an email to christian.stranne@su.geo.se

26 Mar 2013 Read netCDF files and display variable information Loads netCDF files and displays info about variables. Tested for ERA and NCEP/NCAR reanalysis data. Author: Christian Stranne

Roberta,

There is a link to the upper right of the web page "CS_read_netCDF.m". If you left click on the link you will see the code and you can copy/paste. You can also right click and choose "save link as" and save the file to your computer. Hope this helps.

/ Christian

20 May 2011 Despiking This function remove spike noise from data. Author: Nobuhito Mori

Great for despiking ADCP data!

Comments and Ratings on Christian's Files View all
Updated File Comment by Comments Rating
01 Jul 2014 Read netCDF files and display variable information Loads netCDF files and displays info about variables. Tested for ERA and NCEP/NCAR reanalysis data. Author: Christian Stranne Stranne, Christian

Ricardo,

I can help you to plot the data if you describe the data set you are using and what kind of plot you want to make.

Send an email to christian.stranne@su.geo.se

30 Jun 2014 Read netCDF files and display variable information Loads netCDF files and displays info about variables. Tested for ERA and NCEP/NCAR reanalysis data. Author: Christian Stranne Ricardo

Can you help me how to plot it?

26 Mar 2013 Read netCDF files and display variable information Loads netCDF files and displays info about variables. Tested for ERA and NCEP/NCAR reanalysis data. Author: Christian Stranne Stranne, Christian

Roberta,

There is a link to the upper right of the web page "CS_read_netCDF.m". If you left click on the link you will see the code and you can copy/paste. You can also right click and choose "save link as" and save the file to your computer. Hope this helps.

/ Christian

26 Mar 2013 Read netCDF files and display variable information Loads netCDF files and displays info about variables. Tested for ERA and NCEP/NCAR reanalysis data. Author: Christian Stranne Dag, Roberta

This file does not exist... How / where can I find this script? Thank you... I work with NCEP/NCAR and I really need this.

27 Jun 2012 Read netCDF files and display variable information Loads netCDF files and displays info about variables. Tested for ERA and NCEP/NCAR reanalysis data. Author: Christian Stranne nan

Thanks, this was very close to what I was looking for and worked as an example of using the low level NetCDF routines.

I wanted to pass the data back to a calling routine as a structure, and also wanted to remove the singleton dimensions, so I updated the getVar call to:
eval(['dstruct.' varname '= double(squeeze(netcdf.getVar(ncid,i)));']) ;

Since I also wanted to load the attributes into another structure, I needed to add some steps to handle attribute names that are not legal field names, converting spaces etc to underscores; also the assign statements for character attributes needed to be modified for that.

An excellent example file for the Matlab help would be a routine that loads a NetCDF file, modifies some fields, and writes out a new NetCDF. That would cover all the bases, I think. In the absence of that, this was a big help - thanks!

Contact us