[ncarg-talk] read binary data

Dave Allured - NOAA Affiliate dave.allured at noaa.gov
Fri Sep 23 10:42:28 MDT 2016


Juwon,

This mailing list is only for NCAR Graphics, not NCL.  Please post your
question to the ncl-talk mailing list.

    http://www.ncl.ucar.edu/Support/email_lists.shtml

--Dave A.


On Fri, Sep 23, 2016 at 2:55 AM, Juwon Lee <jw.lee at kiaps.org> wrote:

> Hi, somebody.
> I need your help.
>
> I have some problem in reading binary data (CPC-guage based precipitation
> data)
> The CPC data read in fortran, I used this code.
>
> ------------------------------------------------------------
> ------------------------
> open(1000+iday,file=trim(ff),access='direct',form='
> unformatted',recl=nx*nrec,iostat=iret)
> do j=1,ny
> read(1000+iday,rec=j,iostat=iret) prcp(:,j,iday)
> enddo
> ------------------------------------------------------------
> ------------------------
> so, I used the ncl function "fbindirread" and show the distribution of
> precipitation,
> but the result doesn't match using grads tools.
> Could anyone know how to read this data correctly?
>
> I'm waiting for your comments.
>
> Juwon
> _______________________________________________
> ncarg-talk mailing list
> ncarg-talk at ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncarg-talk/attachments/20160923/448c9826/attachment.html 


More information about the ncarg-talk mailing list