[gradsusr] 64-bit erroneous values grads-2.0.1

David Adams dave.k.adams at gmail.com
Wed Apr 18 11:21:07 EDT 2012


Hi Jennifer,
here is an example binary  file with the appropriate ctl.

thanks,
Dave

On Wed, Apr 18, 2012 at 6:46 AM, Jennifer Adams <jma at cola.iges.org> wrote:

> I have recently patched the code for reading 2-byte shorts. Could you send
> me the binary file that goes with your .ctl so I can make sure it is
> working with the patch?
> --Jennfier
>
>
> On Apr 17, 2012, at 1:44 PM, David Adams wrote:
>
> Dear Gradsusers,
> I am migrating to a 64-bit Linux desktop with Fedora 16.  I have installed
> grads-2.0.1-bin-CentOS5.6-x86_64.tar
>
> My GOES 12 Channel 4 (binary) data are giving me strange values.I have
> tried with byteswapped and without and the values are incorrrect.The
> pattern of the incorrect values (brightness temperature) are correct which
> I  assume means that the binary values are simply not being read
> right.These binary data works fine with the same ctl on my 32-bit  Fedora
> Core 10 box and the following version of grads
>
> grads v2.0.a8
> DSET ^S10216956_201110020515
> OPTIONS yrev byteswapped
> UNDEF  0
> TITLE  Temp. Brilho para America do Sul
> XDEF 1870 LINEAR  -100.00  0.04
> TDEF 1714 LINEAR  -56.00  0.04
> ZDEF   01 LEVELS 1 1
> TDEF    1 LINEAR 17:00Z21mar2010 30mn
> VARS 1 cls    0 -1,40,2,1 'Temp.
> ENDVARS
> For byteswapped,
> a particular value  is 112
> for not byteswapped the same value is 65458
> The correct value is 28850  (i.e., 288.5K)
> Any ideas,
> thanks,
> Dave
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
> --
> Jennifer M. Adams
> IGES/COLA
> 4041 Powder Mill Road, Suite 302
> Calverton, MD 20705
> jma at cola.iges.org
>
>
>
>
> _______________________________________________
> 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/20120418/27341d8c/attachment-0003.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: S10216956_201111201830.gz
Type: application/x-gzip
Size: 3402806 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20120418/27341d8c/attachment-0003.gz 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.ctl
Type: application/octet-stream
Size: 276 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20120418/27341d8c/attachment-0003.obj 


More information about the gradsusr mailing list