[gradsusr] netcdf - descriptor file ctl

Celso Bandeira de Melo Ribeiro celso.bandeira at ufjf.edu.br
Mon Sep 30 15:15:25 EDT 2013


Hello Jannifer,
Thank you very much for your attention.
I will try to do your recommendations.
Celso

On Sun, 29 Sep 2013 20:03:17 -0400, Jennifer Adams <jma at cola.iges.org>
wrote:
> The units field of your variable declaration is incorrect -- it needs to
> have a comma-delimited list of the varying dimensions of the variable,
> something like t,y,x or t,z,y,x. Also, you are aliasing ET to ET --
change
> that to ET=>et (GrADS wants lower case alphanumeric characters). If you
are
> still having problems, please send the output from ncdump.h as well as
your
> descriptor. GrADS version would also be useful. 
> --Jennifer
> p.s. Please read the documentation at
> http://iges.org/grads/gadoc/SDFdescriptorfile.html 
> 
> 
> 
> 
> 
> On Sep 29, 2013, at 10:46 AM, Celso Bandeira de Melo Ribeiro wrote:
> 
>> Hello,
>> 
>> Could someone please help me out?
>> 
>> I am using a netcdf file that I created using matlab. However, I am
still
>> having trouble defining the .ctl file. The file contains just one
>> variable
>> i.e. ET. I am having trouble defining 'VARS' in the .ctl file. I am
>> attaching my file with this email. Following is the .ctl file that I
was
>> trying to use
>> 
>> DSET ^ET_2000M01.nc
>> UNDEF -3277
>> XDEF length 652 LINEAR -80.05 0.05
>> YDEF rows 527 LINEAR -20.25 0.05
>> *XDEF dimension1 651 LINEAR -80.05 0.05
>> *YDEF dimension2 526 LINEAR -20.25 0.05
>> *DTYPE netcdf
>> VARS 1
>> ET=>ET 1 99 ET
>> ENDVARS 
>> 
>> When I try to display ET, I get the following error
>> 
>> gancgrid error: nc_get_vara_double failed; NetCDF: Start+count exceeds
>> dimension bound
>> Data Request Error:  Error for variable 'et'
>>  Error ocurred at column 1
>> DISPLAY error:  Invalid expression 
>>  Expression = et
>> 
>> Thank you very much,
>> Celso
>> 
>> 
>> ____________________________________________
>> Prof. Celso Bandeira de Melo Ribeiro
>> Universidade Federal de Juiz de Fora - UFJF
>> Faculdade de Engenharia, Plataforma 4
>> Departamento de Engenharia Ambiental e Sanitaria
>> Bairro Martelos, Juiz de Fora (MG) CEP. 36036-900
>> tel. (32)
>> 2102-3400<ET_2000M01.nc>_______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
> 
> --
> Jennifer M. Adams
> Center for Ocean-Land-Atmosphere Studies (COLA)
> 111 Research Hall, Mail Stop 2B3
> George Mason University
> 4400 University Drive
> Fairfax, VA 22030



More information about the gradsusr mailing list