[gradsusr] Grads issues

David Stanfel dstanfel at ualberta.ca
Thu Jan 29 17:27:57 EST 2015


Hello,

Haha yup, that was my issue.

Thank you!

On Thu, Jan 29, 2015 at 3:01 PM, Edward Pollock <edwardp at ualberta.ca> wrote:

> Hi David,
>
> Is the file name "bin"?
>
> If the path is correct you might want to compare file size and dimensions.
> If its a single-precision binary file, you should have 4 bytes per variable
> per grid point and your file size should be (4 bytes) * (1 variable) * (90
> x grid points) * (44 y grid points) * (1 z grid point) = 15840 bytes.
>
> Cheers,
>
> Ted
>
> On 29 January 2015 at 13:35, David Stanfel <dstanfel at ualberta.ca> wrote:
>
>> Hello users,
>>
>> I am trying to display a simple .ctl file and I am having some issues.
>> Grads opens the file fine but then gives the following error when trying to
>> display the variable:
>>
>> ga-> d t
>>
>> Low Level I/O Error:  Read error on data file
>>
>>   Data file name =
>> /Users/ninjawarrior343/University/Research_Job/grads-2.1.a2/bin
>>
>>   Error reading 360 bytes at location 0
>>
>> Data Request Error:  Error for variable 't'
>>
>>   Error ocurred at column 1
>>
>> DISPLAY error:  Invalid expression
>>
>>   Expression = t
>>
>> Here is the .ctl file:
>>
>> DSET   /Users/ninjawarrior343/University/Research_Job/grads-2.1.a2/bin
>> UNDEF  1.e-10
>> TITLE 6 Months Sample Model Output
>> *
>> XDEF 90 LINEAR  0.0   4.0
>> *
>> YDEF 44 LINEAR -90.0 4.0
>> *
>> ZDEF 1 LEVELS  1
>> *
>> TDEF 1 LINEAR MAY1995 1MO
>> *
>> VARS 1
>>
>> t 1 0 t
>>
>> ENDVARS
>>
>> Any help is appreciated.
>>
>> Thanks,
>>
>> David
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20150129/d6020269/attachment.html 


More information about the gradsusr mailing list