[NARCCAP-discuss] ncdump

Obeysekera, Jayantha jobey at sfwmd.gov
Wed May 25 13:22:46 MDT 2011


I have used RNetCDF package in R successfully to read all NARCCAP model
output.  You have to be careful about reading the time stamps correctly.

Obey

Jayantha Obeysekera, Ph.D.,P.E.,D.WRE
Department Director
Hydrologic & Environmental Systems Modeling
South Florida Water Management District
(561) 682 6503 (Office)
(561) 722 9994 (cell)
 

-----Original Message-----
From: narccap-discuss-bounces at mailman.ucar.edu
[mailto:narccap-discuss-bounces at mailman.ucar.edu] On Behalf Of Erik D.
Kabela
Sent: Tuesday, May 24, 2011 7:59 PM
To: 'Discussion of NARCCAP data - uses and questions'
Subject: Re: [NARCCAP-discuss] ncdump

Most number crunching programs (R, matlab, etc.) have the ability to
read
netCDF files.  It may be worth it to do that direction rather than use
ncdump.

Erik

-----Original Message-----
From: narccap-discuss-bounces at mailman.ucar.edu
[mailto:narccap-discuss-bounces at mailman.ucar.edu] On Behalf Of Elaine
Barrow
Sent: Tuesday, May 24, 2011 3:01 PM
To: 'Discussion of NARCCAP data - uses and questions'
Subject: Re: [NARCCAP-discuss] ncdump

I had the same problem with the MM5I/ccsm  tas data not being recognised
by
ncdump or nc2text. For these files I processed them using matlab (using
the
netcdf routines) and everything worked fine. 
Elaine

-----Original Message-----
From: narccap-discuss-bounces at mailman.ucar.edu
[mailto:narccap-discuss-bounces at mailman.ucar.edu] On Behalf Of Michael
Wehner
Sent: May 24, 2011 1:17 PM
To: Discussion of NARCCAP data - uses and questions
Subject: Re: [NARCCAP-discuss] ncdump

I just tried it on 3hour precipitation from MM5I/ccsm and it worked
fine.
michael
On May 24, 2011, at 10:41 AM, Antonia Rosati wrote:

> We've received another excellent question!
> Please feel free to reply with any information, experience, answers, 
> or questions you my have.
> Thank you!
> 
> 
> Q - I use ncdump to extract the data to process in fortran and matlab.

> I have downloaded data for MMSI runs in CCSM. My version of ncdump can

> not read any of the files for tas or huss from those simulations with 
> MM5I in CCSM. This version of ncdump has not failed on any of the 
> other NARCCAP data files so I wondered - is there anything different 
> about those files? The error I get is ncdump: ncopen failed on 
> filename.
> ~ user
> 
> 
> A - One possibility is that you may have a very old version of the 
> netcdf library. The MM5I-ccsm files are in 64-bit offset format, 
> instead of classic format, so you need at least version 3.6.0 of the 
> netcdf library to read them. (Converting them to classic format is on 
> our to-do list, but it'll probably be a while before we get to it.) 
> However, the HRM3-hadcm3 files are in classic format, so that can't be

> the problem there.  I would guess that maybe the download was 
> corrupted - that's a common cause of problems with unreadable files.
> ~ Seth
> 
> 
> 
> Toni Rosati
> NARCCAP User Community Liaison
> National Center for Atmospheric Research (NCAR) narccap at ucar.edu 
> _______________________________________________
> narccap-discuss mailing list
> narccap-discuss at mailman.ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/narccap-discuss

_______________________________________________
narccap-discuss mailing list
narccap-discuss at mailman.ucar.edu
http://mailman.ucar.edu/mailman/listinfo/narccap-discuss

_______________________________________________
narccap-discuss mailing list
narccap-discuss at mailman.ucar.edu
http://mailman.ucar.edu/mailman/listinfo/narccap-discuss

_______________________________________________
narccap-discuss mailing list
narccap-discuss at mailman.ucar.edu
http://mailman.ucar.edu/mailman/listinfo/narccap-discuss



More information about the narccap-discuss mailing list