Hi Ipsita,
From the applications page:
http://www.ncl.ucar.edu/Applications/
Look for "Output binary":
http://www.ncl.ucar.edu/Applications/o-binary.shtml
You will want to use fbindirwrite:
http://www.ncl.ucar.edu/Document/Functions/Built-in/fbindirwrite.shtml
(See the brief example at the bottom.)
If you have any further questions please post them to ncl-talk..
Adam
On 06/28/2013 05:05 AM, Ipsita Putatunda wrote:
> I want to convert HDF file into Binary direct access.
> I can read this HDF file using NCL, but how to convert it in direct
> access Binary data?
>
>
>
> load "$NCARG_ROOT/lib/ncarg/nclex/gsun/gsn_code.ncl"
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
> ;------------------------------------------------------
> ;------------------------------------------------------------
>
> fi=addfile("test.HDF","r");
> data=fi->LHMean(0,:,:);
> print (data)
>
>
> Any help will be appreciated.
>
> Thanks,
> Ipsita
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-- ______________________________________________________________ Adam Phillips asphilli@ucar.edu NCAR/Climate and Global Dynamics Division (303) 497-1726 P.O. Box 3000 Boulder, CO 80307-3000 http://www.cgd.ucar.edu/cas/asphilli
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Jun 28 10:07:00 2013
This archive was generated by hypermail 2.1.8 : Mon Jul 01 2013 - 12:35:42 MDT