Reading CLAVR-x Data


The CLAVR-x HDF4 files can be read in usig standard HDF calls in many languages (C,F90, IDL and MATLAB).

Currently, we only support the following IDL code as generic CLAVR-x data reader.

An IDL program, read_clavrx_hdf.pro,  has been written by Michael Pavolonis  to view the CLAVR-x/PATMOS-x HDF files.    This routine, documented in the top of the IDL source code, has optional arguments to return many attributes of each parameter.

 
Here are some examples using a file named  clavrx_n17_des_05_1_2004_197.cell.hdf


          cloud_fraction = read_clavrx_hdf('clavrx_n17_des_05_0_2004_197.cell.hdf', 'frac_total_cld')


            ch4_rad_clr = read_clavrx_hdf('clavrx_n17_des_05_0_2004_197.cell.hdf', 'ch4_clr')


            ch4_bt_clr = read_clavrx_hdf('clavrx_n17_des_05_0_2004_197.cell.hdf', 'ch4_clr',/temperature)

            note, the /temperature keyword does not convert the radiance standard deviation to brightness temperature standard deviations.



        lst = read_clavrx_hdf('clavrx_n17_des_05_0_2004_197.cell.hdf', 'sst_clr_std',units=units, day=start_day)

        where units will have the value of unit of this parameter (K)  and day will have the value of the Julian day of this data (197).