You may want to try NCL WRAPIT.
http://www.ncl.ucar.edu/Document/Tools/WRAPIT.shtml
Wei
huangwei@ucar.edu
VETS/CISL
National Center for Atmospheric Research
P.O. Box 3000 (1850 Table Mesa Dr.)
Boulder, CO 80307-3000 USA
(303) 497-8924
On Dec 13, 2012, at 5:54 PM, star wrote:
> Hi, Dave and Will,
> I am reading a radar data with binary sequential format.
> The radar head  in f90 file is as following:
>  TYPE Radar_type
>   character(len = 12) :: ZonName
>  character(len = 38) :: DataName
>  character(len = 8) :: Flag
>  character(len = 8) :: Version
>  
>  integer(2) :: year
>  integer(2) :: month
>  integer(2) :: day
>  integer(2) :: hour
>  integer(2) :: minute
>  integer(2) :: interval
>  integer(2) :: XNumGrids
>  integer(2) :: YNumGrids
>  integer(2) :: ZNumGrids
>  integer(4) :: RadarCount
>  real(4) :: StartLon
>  real(4) :: StartLat
>  real(4) :: CenterLon
>  real(4) :: CenterLat
>  real(4) :: XReso
>  real(4) :: YReso
>  real(4) :: ZHighGrds(40)
>  character(len = 16) :: RadarStationName(20)
>  real(4) :: RadarLongitude(20)
>  real(4) :: RadarLatitude(20)
>  real(4) :: RadarAltitude(20)
>  character(1) :: MosaicFlag1(20)
>  
>  character(len = 172) :: Reserved
>  END TYPE Radar_type
>       TYPE(Radar_Type) ::   radar
>  
> With fortran f90 code, reading the file will be ok.
> read(1)radar
>  
> Now, I want to read the binary file with NCL language. But  I do not know how to read the head record.
>  
> Would you like to help me to solve the problem?
>  
> Yours, sincerely,
> user
> 
>  
>  
> 
> 
> ---------------------------------------
> 21CN手机邮Android客户端,邮件随身享! 
> _______________________________________________
> 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 Fri Dec 14 08:55:46 2012
This archive was generated by hypermail 2.1.8 : Fri Dec 21 2012 - 10:43:23 MST