NCREAD reading GRIB2 files?
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
For my understanding these are GRIB2 files... any potential reasons they're not working? Maybe I misunderstand that NCREAD cannot read this format? Any help would be appreciated
url = 'ftp://ftp.ncep.noaa.gov/pub/data/nccf/com/gfs/prod/gfs.2015011412/gfs.t12z.pgrb2.0p25.f120'
data = ncread(url,'APCP');
0 Commenti
Risposte (1)
Kelly Kearney
il 14 Gen 2015
I don't believe ncread can read files via FTP, only OPeNDAP. You'll have to save the file locally before you can read it.
2 Commenti
Kelly Kearney
il 14 Gen 2015
Also, you'll need to convert the file to netcdf... unlike NCL, Matlab doesn't read in GRIB files natively.
Vedere anche
Categorie
Scopri di più su Data Import and Analysis in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!