Re: read byte data by NCL

From: Dave Allured - NOAA Affiliate <dave.allured_at_nyahnyahspammersnyahnyah>
Date: Tue Jan 22 2013 - 12:41:20 MST

Okay, thank you for clarifying. You were right, use the function
fbindirread to read raw binary, also known as flat binary.

--Dave

On Tue, Jan 22, 2013 at 12:38 PM, Liu, Peng <pliu34@gatech.edu> wrote:
>
> The data file is generated by MODIS Reprojection Tool by USGS Earth Resources Observation and Science (EROS) Center, and it is raw binary file.
>
> Thanks
>
> Peng
> ----- Original Message -----
> From: Dave Allured - NOAA Affiliate <dave.allured@noaa.gov>
> To: Peng Liu <pliu34@gatech.edu>
> Cc: ncl-talk@ucar.edu
> Sent: Tue, 22 Jan 2013 13:48:23 -0500 (EST)
> Subject: Re: read byte data by NCL
>
> "Unsigned byte" is the name of a data type. It does not tell us
> anything about the file format. What is your file format? Something
> like Netcdf, Fortran binary, flat binary, Grib, HDF5, etc.??? Please
> see the NCL documentation for "supported file formats".
>
> --Dave
> Please reply to list only!
>
> On Tue, Jan 22, 2013 at 11:36 AM, Liu, Peng <pliu34@gatech.edu> wrote:
>> Dear NCL users,
>> I am trying to use NCL to read data of unsigned byte type. I wonder if this can be achieved by NCL6.0.0, in which I can
>> use fbindirread(filename, dimension,"ubyte")?
>>
>> Thanks a lot
>>
>> Peng Liu
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Jan 22 12:41:31 2013

This archive was generated by hypermail 2.1.8 : Wed Jan 23 2013 - 20:38:31 MST