Use of "short2flt_hdf" function

From: Abhik Santra <abhiksantra_at_nyahnyahspammersnyahnyah>
Date: Mon May 21 2012 - 00:10:55 MDT

Hi,

   I am using "short2flt_hdf" function in NCL v5.2.1 to extract a variable from .HDF files. But it is showing some error: "fatal:Argument type mismatch on argument (0) of (short2flt_hdf) can not coerce". I am new to handle .HDF files. So, can anyone help to solve this problem? The part of the code where the error occurs are as follows:

     f = addfile(diri+fili(nf), "r")
                                     ; read data
     x = short2flt_hdf( f->$vNam$ )
     lat2d = short2flt_hdf( f->geolocation(:,:,0) )
     lon2d = short2flt_hdf( f->geolocation(:,:,1) )
     nx = product(dimsizes(x))

  Thank you in advance.

With regards,

-- 
Abhik Santra
CSIR Research Fellow,
Forecasting Research Division,
Indian Institute of Tropical Meteorology,
Pune - 411008.
India
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon May 21 00:19:08 2012

This archive was generated by hypermail 2.1.8 : Fri May 25 2012 - 08:35:50 MDT