problem with opening NETCDF files

Pavel Kishcha pavel at CYCLONE.TAU.AC.IL
Mon Jul 6 09:47:59 EDT 2009


Dear All,

The problem comes about when I am trying to open a NetCDF file in
GRADS version 2.0.a2.

***When I run it by using the command open I see the message:

ga-> open data.ctl
Scanning description file:  data.ctl
Open Error:  Invalid variable record
  --> The invalid description file record is:
  --> nAOT 0 t,y,x
  The data file was not opened.

What am I doing wrong?
Thank you for all of your help.

Cheers,
Pavel


Here is my descriptor file  (data.ctl):

DSET ^2000-03.nc
DTYPE netcdf
TITLE Variables
UNDEF -9.99
XDEF 1801 linear -180.000000 0.20000
YDEF 901  linear  -90.000000 0.20000
ZDEF 1 levels 0
TDEF 1 linear 01mar2000  1mo
vars 27
nAOT 0 t,y,x
AOT 0 t,y,x
stdAOT 0 t,y,x
nAOTSm 0 t,y,x
AOTSm 0 t,y,x
stdAOTSm 0 t,y,x
nAOTMd 0 t,y,x
AOTMd 0 t,y,x
stdAOTMd 0 t,y,x
nAOTLg 0 t,y,x
AOTLg 0 t,y,x
stdAOTLg 0 t,y,x
nAOTNsph 0 t,y,x
AOTNsph 0 t,y,x
stdAOTNsph 0 t,y,x
nBEangstScreened 0 t,y,x
BEangstScreened 0 t,y,x
stdBEangstScreened 0 t,y,x
nAOTNsphScreened 0 t,y,x
AOTNsphScreened 0 t,y,x
stdAOTNsphScreened 0 t,y,x
nNSphfractScreened 0 t,y,x
NSphfractScreened 0 t,y,x
stdNSphfractScreened 0 t,y,x
nAOTabs 0 t,y,x
AOTabs 0 t,y,x
stdAOTabs 0 t,y,x
endvars



***Here is the output from "ncdump -c" of my nc-file with data:

dimensions:
        Longitude = 1801 ;
        Latitude = 901 ;
variables:
        float Longitude(Longitude) ;
        float Latitude(Latitude) ;
        float nAOT(Latitude, Longitude) ;
        float AOT(Latitude, Longitude) ;
        float stdAOT(Latitude, Longitude) ;
        float nAOTSm(Latitude, Longitude) ;
        float AOTSm(Latitude, Longitude) ;
        float stdAOTSm(Latitude, Longitude) ;
        float nAOTMd(Latitude, Longitude) ;
        float AOTMd(Latitude, Longitude) ;
        float stdAOTMd(Latitude, Longitude) ;
        float nAOTLg(Latitude, Longitude) ;
        float AOTLg(Latitude, Longitude) ;
        float stdAOTLg(Latitude, Longitude) ;
        float nAOTNsph(Latitude, Longitude) ;
        float AOTNsph(Latitude, Longitude) ;
        float stdAOTNsph(Latitude, Longitude) ;
        float nBEangstScreened(Latitude, Longitude) ;
        float BEangstScreened(Latitude, Longitude) ;
        float stdBEangstScreened(Latitude, Longitude) ;
        float nAOTNsphScreened(Latitude, Longitude) ;
        float AOTNsphScreened(Latitude, Longitude) ;
        float stdAOTNsphScreened(Latitude, Longitude) ;
        float nNSphfractScreened(Latitude, Longitude) ;
        float NSphfractScreened(Latitude, Longitude) ;
        float stdNSphfractScreened(Latitude, Longitude) ;
        float nAOTabs(Latitude, Longitude) ;
        float AOTabs(Latitude, Longitude) ;
        float stdAOTabs(Latitude, Longitude) ;
data:

 Longitude = -180, -179.8, -179.6, -179.4, -179.2, -179, -178.8, -178.6,
    -178.4, -178.2, -178, -177.8, -177.6, -177.4, -177.2, -177, -176.8,
    -176.6, -176.4, -176.2, -176, -175.8, -175.6, -175.4, -175.2, -175,
    -174.8, -174.6, -174.4, -174.2, -174, -173.8, -173.6, -173.4, -173.2,
    -173, -172.8, -172.6, -172.4, -172.2, -172, -171.8, -171.6, -171.4,


Latitude = -90, -89.8, -89.6, -89.4, -89.2, -89, -88.8, -88.6, -88.4, -88.2,
    -88, -87.8, -87.6, -87.4, -87.2, -87, -86.8, -86.6, -86.4, -86.2, -86,
    -85.8, -85.6, -85.4, -85.2, -85, -84.8, -84.6, -84.4, -84.2, -84, -83.8,
    -83.6, -83.4, -83.2, -83, -82.8, -82.6, -82.4, -82.2, -82, -81.8, -81.6,
    -81.4, -81.2, -81, -80.8, -80.6, -80.4, -80.2, -80, -79.8, -79.6, -79.4,
    -79.2, -79, -78.8, -78.6, -78.4, -78.2, -78, -77.8, -77.6, -77.4, -77.2,
    -77, -76.8, -76.6, -76.4, -76.2, -76, -75.8, -75.6, -75.4, -75.2, -75,

1,1           Top
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090706/791e34bb/attachment.html 


More information about the gradsusr mailing list