Hi Federico,
There’s no variable named Precipitation_rate in your grib file. Use Precipitation_rate_surface_1_Month_Average instead. For example:
>> ds = ncgeodataset('prate.m01.jul.cfsv2.data.grb2');
>> ds.variables
ans =
'time_bounds'
'Precipitation_rate_surface_1_Month_Average'
'lat'
'lon'
'time'
>> g = ds.geovariable('Precipitation_rate_surface_1_Month_Average')
g =
28x190x384 ncgeovariable array with properties:
dataset: [1x1 ncgeodataset]
name: 'Precipitation_rate_surface_1_Month_Average'
axes: {3x1 cell}
attributes: {15x2 cell}
Cheers
Brian
--
You received this message because you are subscribed to the Google Groups "nctoolbox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nctoolbox+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
x190x384, because it is composed of 10 forecast for 28 years.