Problem to open netcdf files from NARR!

Don Hooper hoop at COLORADO.EDU
Mon Dec 18 13:49:38 EST 2006


Matias,

The sdfopen/xdfopen code can't handle this file, but the "dtype netcdf"
stuff for a DDF for use with the "open" command can in 1.9.  Here's a
sample DDF for that purpose:
DSET /path/to/apcp.mon.mean.nc
DTYPE netcdf
TITLE NARR 4D field lambert conformal projection
UNDEF -9999.0 missing_value
UNPACK scale_factor add_offset
PDEF 349 277 lcc 1 -145.5 1 1 50 50 -107 32463.41 32463.41
XDEF 205 linear 150 1
YDEF 85 linear 2 1
ZDEF 1 levels 0
tdef 312 linear 00z1jan1979 1mo
vars 3
apcp 29 t,y,x  Precip
lat=>glat 0 y,x Latitude
lon=>glon 0 y,x Longitude
endvars

Good luck,
-Hoop
> From owner-gradsusr at LIST.CINECA.IT  Mon Dec 18 11:43:20 2006
> Return-Path: <owner-gradsusr at LIST.CINECA.IT>
> X-ASG-Debug-ID: 1166467397-24e100a80000-f1UqA0
> X-Barracuda-URL: http://128.138.128.111:8000/cgi-bin/mark.cgi
> X-Barracuda-Connect: mx2.cineca.it[130.186.1.62]
> X-Barracuda-Start-Time: 1166467397
> Mime-Version: 1.0
> X-Mailer: Evolution 2.6.0 (2.6.0-1)
> Content-Transfer-Encoding: 7bit
> Date:         Mon, 18 Dec 2006 12:37:05 -0600
> Reply-To: GRADSUSR at LIST.CINECA.IT
> Sender: GRADSUSR at LIST.CINECA.IT
> From: Juan Matias Mendez <matias at TROPOSFERA.ATMOSFCU.UNAM.MX>
> X-ASG-Orig-Subj:      Problem to open netcdf files from NARR!
> Subject:      Problem to open netcdf files from NARR!
> To: GRADSUSR at LIST.CINECA.IT
> X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210
> X-Barracuda-Virus-Scanned: by Barracuda Spam Firewall at Colorado.EDU
> X-Barracuda-Spam-Score: -2.02
> X-Barracuda-Spam-Status: No, SCORE=-2.02 using global scores of TAG_LEVEL=4.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=8.0 tests=
> X-Barracuda-Spam-Report: Code version 3.02, rules version 3.0.29084
>       Rule breakdown below
>        pts rule name              description
>       ---- ---------------------- --------------------------------------------------
> X-Lines: 19
>
> Hello GrADS users,
>
> I downloaded North American Regional Reanalysis (NARR) data in netcdf
> format from this page:
>
> http://www.cdc.noaa.gov/cdc/data.narr.html
>
> But when I tried to open file (gradsnc -lc "sdfopen apcp.mon.mean.nc"),
> I got the following error message:
>
> SDF file has no discernable X coordinate.apcp.mon.mean.nc
>
> I'm using GrADS v1.8SL11.
>
> Has anybody used these NARR files?, how can I solve this problem?.
>
> Suggestions or solutions are welcome. Thank very much.
>
> Matias
>



More information about the gradsusr mailing list