MODIS HDF
Jayakrishnan PR
prjayakrishnan at GMAIL.COM
Fri Nov 30 11:46:34 EST 2007
Dear Mr.Jean,
Last six months I was trying to plot MODIS data in Grads. Today I
succeeded with the help of grads user group and some of my friends. There is
two ways to plot the MODIS HDF data.
1) Firstly convert the hdf data into ascii form using any software such as
ENVI, HDF explorer, etc.
2) Using the ascii code we are able to know the latitude, longitude and the
parameter at different heights.
3) Construct a fortran program which will convert this data into station
format and I have also written a c program which will convert the out put of
fortran into station data format.
4) Now write a ctl file for the station data
5) Run the station map utility using the command stnmap -i stnexample.ctl
6)open the ctl file in grads
7)plot the data. Now set gxout stnmark
8) then set cmark 11( or something)
set digsiz 0.14
now display and it will give the values in the data points as markers.
This is a quite good approach because we are not doing any interpolation
techniques. Just the pure data.
There is another way also. We can directly plot the hdf files in grads. For
that we have to write a Data descriptor file. That I am trying now. Yet not
succeeded. If you succeeded first, please let me know.
If you want the program or ctl files that I have used dont hesitate to
ask me.
sincerely
On Nov 30, 2007 9:55 PM, Jean Pierre Arabonis <arabonis at egs.uct.ac.za>
wrote:
> I tried using grads for the modis data some years ago with no success, I
> ended up using Envi - interestingly if you re-save the data as hdf in Envi
> then you can open it with grads. I suspect is is some incompatibility with
> the file format.
> Please let me know if you do find a solution
> Good Luck
> JP
>
>
>
> Jayakrishnan PR wrote:
>
> On Fri, 25 Apr 2003 11:28:34 -0000, Pawan Gupta <pawanpgupta at REDIFFMAIL.COM> <pawanpgupta at REDIFFMAIL.COM>
> wrote:
>
>
>
> Dear Friends
> Can you help me in displaying MODIS HDF format
>
> Thanks
> pawan
>
> *******************************************************************
> Pawan Gupta
> Junior Research Fellow
> Oceanography Division,
> National Remote Sensing Agency,
> DOS,Balanagar, Hyderabad-38 ,India
> Phone 91-040-3884245Email:pawanpgupta at rediffmail.com
> Homepage: http://www.geocities.com/pawanpgupta/pawanhp.html
> ********************************************************************
>
>
> Dear Pawan,
> I also now facing the same problem to analyse MODIS data in hdf format
> using grads. If you got the solution, kindly help me.
> Jayakrishnan.P.R
> Junior Research Fellow,
> Department of atmospheric Sciences,
> CUSAT, Cochin-16, India
>
>
>
>
>
> --
> Jean Pierre Arabonisarabonis at egs.uct.ac.za
> Tel 021 780 1021 cell 084 401 1365
> This email is 100% Microsoft Free
>
>
--
***********************************************
Jayakrishnan.P.R
Junior Research Fellow
Department of Atmospheric Sciences
Cochin University of Science And Technology (CUSAT), Cochin-16
Kerala, India.
Mob: 09895417565
***********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20071130/aa8c9130/attachment.html
More information about the gradsusr
mailing list