Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Grib reader efficiency

Subject: Grib reader efficiency

From: Jose Miguel

Date: 13 Jun, 2012 12:16:07

Message: 1 of 1

Dear all,

I'm using ERA reanalysis data (500MB is the size of each grib file, one per year).
I've used a couple of Grib reader toolboxes, nctoolbox and njTbx and the performance when reading a variable is quite poor.

It takes about 20 seconds to extract a variable in the form (:, :, latpoint, longpoint) which makes the routine to extract the information of 20 years extremely long (over 2 hours).

With nctoolbox I'm reading the information using the following instruction:
datau=var.data(:,:,inx2,inx3);
being inx2 and inx3 the lat/long points

Do you know any faster way of reading such files?
Or maybe give me some recommendation with nctoolbox (users) ?

Thank you very much,
Regards
Jose

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us