Function to pull 110 years of data from .nc files?

2 Ansichten (letzte 30 Tage)
Kate
Kate am 25 Jun. 2013
I'm trying to write a function that does the following:
metdriver=ncread('shtfl.2006.nc', 'shtfl');
but for my entire 110 year dataset(1900-2010).
Ideally the end result would be:
metdriveryear, with that year's data.
Any ideas? I'm new to .nc files, and it's taking some rethinking. Thanks a bunch!

Antworten (1)

Sean de Wolski
Sean de Wolski am 25 Jun. 2013
  8 Kommentare
Sean de Wolski
Sean de Wolski am 25 Jun. 2013
ps. this is pretty much exactly what the FAQ discusses.
Tanmoyee Bhattacharya
Tanmoyee Bhattacharya am 22 Mär. 2016
I have a same question.I have daily nc files reading like this ncread('\','RF'); Now the name is 3B42_daily.1999.01.01.7.nc,3B42_daily.1999.01.02.7.nc,3B42_daily.1999.01.03.7.nc like that 2015.10.31.7.nc. In above code by Sean de Wolski what we have to change.

Melden Sie sich an, um zu kommentieren.

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by