Home Loading multiple netcdf files with different variables and different names
Reply: 0

Loading multiple netcdf files with different variables and different names

Vincent
1#
Vincent Published in 2018-02-13 21:27:13Z

I am trying to read in a number of files from the ERA Interim netcdf into matlab. I need these variables to run some calculations. So here is the problem: I have the following files from ECMWF ERA Interim Renalysis: Ta.nc -air temperature, Rs_in_t.nc -thermal incoming radiation, Rs_in_s.nc -surface shortwave incoming radiation, wind.nc -wind speed, I have folders from 2003-2012 each containing the Renalysis data variables shown above. All these files are in one folder for each year beginning 2003-2012. So I have to retrieve and load the same variables from each file before I can start with the analysis. When I use this script (https://nl.mathworks.com/matlabcentral/fileexchange/31284-read-netcdf-files-and-display-variable-information) repeatedly for the different files some of the variables are overwritten even though some are just same e.g. latitude, longitude and time in some cases.

Is there an efficient and faster way of reading all these into MATLAB?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.309376 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO