Re: Reading HDF Radar Images

From: David Ian Brown (dbrown AT ucar.edu)
Date: Fri May 06 2005 - 19:16:45 MDT


On May 6, 2005, at 6:31 PM, Dennis Shea wrote:

> Hi Paul,
>>
>> I am not sure if NCL can handle reading these HDF images from the
>> Global Hydrology Resource Center (GHRC). I have attached one to this
>> message. I am trying to plot composite radar reflectivity data for
>> analysis purposes.
>> I believe they are "raster" images, and may not fall into the HDF4 or
>> HDF-EOS supported by NCL.
>
> +++
> NCL supports HDF Scientific Data Ser [SDS] format and HDF-EOS format.
> Currently, it does not support VGROUP data which, I think,
> the radar images would be classified.

Small correction Dennis. These are General Raster Images, accessed
using the HDF GR API (described in Chapter 8 of the HDF User's manual).
That's pretty clear from the IDL function names.

The VGROUP interface defines groups of other HDF data objects.
  -dave

> +++
>
>> However, I thought I would ask to see if
>> anyone has had success with this dataset, these type of files, or
>> other
>> archived reflectivity datasets and NCL.
>> I do know for a fact that IDL can plot these using the code such as:
>> hdfid =
>> hdf_open('U'+strtrim(string(times(i)),2)+'Z99.219_refl_2km.hdf')
>> hdfid = hdf_gr_start(hdfid)
>> hdfid2 = hdf_gr_select(hdfid,0)
>> hdfid2 = hdf_gr_readimage(hdfid2,value)
>>
>> where the _gr option is for "generic raster" I believe.
>> If I cannot get this to work, are there other dataset suggestions?

_______________________________________________
ncl-talk mailing list
ncl-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk



This archive was generated by hypermail 2b29 : Sun May 08 2005 - 22:05:34 MDT