[gradsusr] ctl file

Jeff Duda jeffduda319 at gmail.com
Sun Mar 26 12:34:54 EDT 2017


if your file has header or trailer data then you need to add an option
keyword like
OPTIONS HEADERBYTES 1168

read the information on control file settings for more information

Jeff Duda

On Sun, Mar 26, 2017 at 6:49 AM, wendi harjupa <wendiharjupa at gmail.com>
wrote:

> Dear GrADS user
>
> I need a help..
> I have binary data set as below arrangement
>
> lon   lat    rainfall
> 133   33    50
> .....................
> 134    35   40
>
> My question, how to make ctl file for that data ??
>
> Now, I make ctl file like this
>
> DSET
> UNDEF -1.0
> OPTIONS yrev
> XDEF 2800 LINEAR 121.0500 0.01
> YDEF 2400 LINEAR  22.9500 0.01
> ZDEF 1 LEVELS 1 1
> TDEF   1 LINEAR 13:05Z08AUG2015 5mn
> VARS   1
> pp  0 1   Cumulus index (rdca)
> ENDVARS
>
> I got an error as below
>
> Error reading 1168 bytes at location 15617980
> Data Request Error:  Error for variable 'pp'
>   Error ocurred at column 1
> DISPLAY error:  Invalid expression
>   Expression = pp
>
> Please help me for this problem..
>
> Thank you very much..
>
> Best regards,
> wendi
>
>
>
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Jeff Duda
Post-doctoral research fellow
University of Oklahoma School of Meteorology
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20170326/02685c3c/attachment.html 


More information about the gradsusr mailing list