how to read binary file and covert to netcdf with new named variabe

From: Ammu Priya <ammu9016_at_nyahnyahspammersnyahnyah>
Date: Wed Feb 03 2010 - 23:30:16 MST

Sir,
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl"
load "/home//ncl/lib/scripts/my_scripts.ncl"
begin

 f1 = "sst.ltm.1971-2000.nc"
 setfileoption("gr","ReadByteOrder","littleEndian")
 data = cbinread("cfsSSTmonthly200904.gr",(/9,139,180/),"float")
 data!0 = "time"
 data!1 = "lat"
 data!2 = "lon"
data@_FillValue = 0
data@_FillValue = -99999.00
;print(data)
printVarSummary(data)
printMinMax(data,0)
return
2,cfsSSTmonthly200904.ctl
3.,cfsSSTmonthly200904.gr

3.,also want to know about this file
4.,my output is     min=-3.40271e+38   max=3.40027e+38

please can anyone help me to read datas .
thankyou,
ammu

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Feb 3 23:30:35 2010

This archive was generated by hypermail 2.1.8 : Sun Feb 07 2010 - 15:37:25 MST