Dear Mubashar,<br><br>Yes, you cannot open MODIS hdf file directly using sdfopen. In order to deal with MODIS data, there are some steps that you need to follow. Some of the steps can be done using a specific software, and some can be done using command line.<br>

<br>From your hdf file you can use Modistool which will help you to mosaic and subset your data. In this step, you need to define some parameters such as the input file, choosing the appropriate band, defining your study area (by inputting the latitude and longitude UL and LR corner), output file, resampling type, the output projection type, the output pixel size (depending on the resolution of your data). Then you can create a cdl file using hdfdump command and from this cdl file, one can create a netcdf file which you can open using grads. But for this last step, you need to create a header file and the coordinate file.<br>
<br>Hope this can give you an idea of what you should do.<br><br>Best regards,<br><br>Serge<br><br>
<br><div class="gmail_quote">On Mon, Jun 27, 2011 at 2:07 PM, Mubashar Dogar <span dir="ltr">&lt;<a href="mailto:mubashardogar@gmail.com" target="_blank">mubashardogar@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">Dear GrADs users,<br><br>Is there any way to open MODIS satellite product in .hdf format using GrADs. I know that GrADs need a control/descriptor (.ctl) file if it is unable to open it directly using sdfopen utility. If some one already worked with MODIS data then his/her reply will be useful. <br>


<br><br>Thanks,<br><br>Mubashar<br>
</div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Serge<br>