<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Dear Ahsan,<br>
<br>
Glad to hear the info is useful.<br>
<br>
If you plan to do subsetting of the data, the GrADS way could <br>
be useful, especially with GDS and OPeNDAP. You could write a GrADS
script to <br>
do that as well.<br>
<br>
Good luck!<br>
<br>
Regards,<br>
<br>
-Zhong<br>
<br>
On 6/6/2012 11:34 AM, Syed Ahsan Ali wrote:
<blockquote
cite="mid:CAMvdAsJ_6eCScP-qaN2O1gMbFv+e6GO0dFk5FU1v620iayfz_g@mail.gmail.com"
type="cite">
<div>Dear Zhong </div>
<div> </div>
<div>Thanks alot for the email. This is great news that V7 is
available. </div>
<div>I have tried a simple thing that is concatenation of all
files using CAT command in linux to make a single file. I'll
also try the method which you have mentioned.</div>
<div> </div>
<div>Thank you</div>
<div>Best Regards</div>
<div>Ahsan<br>
<br>
</div>
<div class="gmail_quote">On Wed, Jun 6, 2012 at 8:17 PM, Zhong Liu
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:Zhong.Liu-1@nasa.gov" target="_blank">Zhong.Liu-1@nasa.gov</a>></span>
wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px
0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Dear Ahsan,<br>
<br>
Dr. Lynnes forwarded your question to me.<br>
<br>
First, V7 TRMM 3B42 and its daily have just been released.
Please use them if possible,<br>
<br>
<a moz-do-not-send="true"
href="ftp://disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7"
target="_blank">ftp://disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7</a>
( for 3 hourly)<br>
<a moz-do-not-send="true"
href="ftp://disc2.nascom.nasa.gov/data/TRMM/Gridded/Derived_Products/3B42_V7/Daily"
target="_blank">ftp://disc2.nascom.nasa.gov/data/TRMM/Gridded/Derived_Products/3B42_V7/Daily</a>
(daily)<br>
<br>
To aggregate files, I have an example below.<br>
<br>
Please note that the similar method can be applied to GDS,
OPeNDAP, or binary files (listed in the above<br>
directories).<br>
<br>
Hope these help.<br>
<br>
Regards,<br>
<br>
-Zhong<br>
<br>
ga-> open 3b42_netcdf.ctl<br>
Scanning description file: 3b42_netcdf.ctl<br>
Data file 3B42.%y2%m2%d2.%<a moz-do-not-send="true"
href="http://h1.6a.nc/" target="_blank">h1.6A.nc</a> is open
as file 1<br>
LON set to 0 360<br>
LAT set to -49.875 49.875<br>
LEV set to 1000 1000<br>
Time values set: 1998:1:1:0 1998:1:1:0<br>
ga-> set time 18z1apr2010 0z2apr2010<br>
Time values set: 2010:4:1:18 2010:4:2:0<br>
ga-> define rtmp=r<br>
Define memory allocation size = 6921600 bytes<br>
ga-> set fwrite test.bin<br>
FWrite file name = test.bin<br>
FWwrite byte order is little_endian; format is stream<br>
Fwrite replacing an existing file if it exist<br>
ga-> set gxout fwrite<br>
ga-> d rtmp<br>
Wrote 576800 of 576800 elements to test.bin as Stream
Little_Endian<br>
Wrote 576800 of 576800 elements to test.bin as Stream
Little_Endian<br>
Wrote 576800 of 576800 elements to test.bin as Stream
Little_Endian<br>
Press enter to continue:::::<br>
ga-> disable fwrite<br>
<br>
where 3b42_netcdf.ctl is,<br>
<br>
dset ^3B42.%y2%m2%d2.%<a moz-do-not-send="true"
href="http://h1.6a.nc/" target="_blank">h1.6A.nc</a><br>
dtype netcdf<br>
options template<br>
title TRMM 3B42 V6 three hourly TRMM rainfall<br>
undef -9999.9<br>
xdef 1440 linear -179.875 0.25000000<br>
ydef 400 linear -49.8750000 0.25000000<br>
zdef 1 levels 1000<br>
tdef 41384 linear 00:00Z01jan1998 3hr<br>
* end_time 21:00Z29feb2012 (this_is_comment_line)<br>
vars 2<br>
precipitation=>r 0 y,x Hourly Rain Rate (mm/hr)<br>
relativeError=>err 0 y,x Error (mm/hr)<br>
endvars<br>
<br>
and to test the output file, use this ctl,<br>
<br>
dset test.bin<br>
title TRMM 3B42 V6 three hourly TRMM rainfall<br>
undef -9999.9<br>
xdef 1440 linear -179.875 0.25000000<br>
ydef 400 linear -49.8750000 0.25000000<br>
zdef 1 levels 1000<br>
tdef 39432 linear 00:00Z01jan1998 3hr<br>
* end_time 21:00Z30jun2011 (this_is_comment_line)<br>
vars 1<br>
r 0 99 Hourly Rain Rate (mm/hr)<br>
endvars<br>
<br>
<br>
<br>
<br>
On 6/5/2012 7:53 AM, Lynnes, Christopher S. (GSFC-6102) wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px
0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">On Jun 5,
2012, at 7:47 AM, Christopher Lynnes wrote:<br>
<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px
0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Is this
something that can be solved by our GDS server for this
user?<br>
</blockquote>
I'm thinking of: <a moz-do-not-send="true"
href="http://disc2.nascom.nasa.gov/dods/3B42RT.info"
target="_blank">http://disc2.nascom.nasa.gov/dods/3B42RT.info</a><br>
<br>
But I don't know how to aggregate to a time series using
GrADS. It must be possible…<br>
<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px
0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Begin
forwarded message:<br>
<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px
0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">From:
Syed Ahsan Ali<<a moz-do-not-send="true"
href="mailto:ahsanshah01@gmail.com" target="_blank">ahsanshah01@gmail.com</a>><br>
Subject: Re: [gradsusr] TRMM data<br>
Date: June 5, 2012 3:53:14 AM EDT<br>
To: GrADS Users Forum<<a moz-do-not-send="true"
href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>><br>
Reply-To: GrADS Users Forum<<a moz-do-not-send="true"
href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>>
<div>
<div class="h5"><br>
<br>
Dear Jayakrishnan,<br>
I have downloaded the 3-hourly nc files and also
had a plan to concatenate all of them, but the
problem was that there is no date information in the
file so when I'll concatenate there would be a mess
up. Thanks for the link. But I don't know how to
combine these binary files. Any hint for this.<br>
<br>
Best Regards<br>
Ahsan<br>
<br>
On Tue, Jun 5, 2012 at 10:08 AM, Jayakrishnan
P.R<<a moz-do-not-send="true"
href="mailto:prjayakrishnan@gmail.com"
target="_blank">prjayakrishnan@gmail.com</a>>
wrote:<br>
Dear Ahsan,<br>
I think you downloaded the single nc
file from mirador search. It will contain only
sinlgle time data in each 3 hour. To have a time
series of data you will have to concatenate the data
files. There is another simple site to download the
binary files of TRMM three hourly as well as daily.
You can download the data from this alternate site
and combine the data files and write a corresponding
ctl file.<br>
<br>
This is the link for TRMM data<br>
<br>
<a moz-do-not-send="true"
href="ftp://disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V6"
target="_blank">ftp://disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V6</a>
( for 3 hourly)<br>
<a moz-do-not-send="true"
href="ftp://disc2.nascom.nasa.gov/data/TRMM/Gridded/Derived_Products/3B42_V6/Daily"
target="_blank">ftp://disc2.nascom.nasa.gov/data/TRMM/Gridded/Derived_Products/3B42_V6/Daily</a>
(daily)<br>
<br>
<br>
Best of luck.....<br>
-- <br>
Sincerely<br>
***********************************************<br>
Jayakrishnan.P.R<br>
CSIR-Senior Research Fellow<br>
Department of Atmospheric Sciences<br>
Cochin University of Science and Technology (CUSAT),
Cochin-682 016<br>
Kerala, India.<br>
Mob: 09895417565<br>
<br>
***********************************************<br>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a moz-do-not-send="true"
href="mailto:gradsusr@gradsusr.org"
target="_blank">gradsusr@gradsusr.org</a><br>
<a moz-do-not-send="true"
href="http://gradsusr.org/mailman/listinfo/gradsusr"
target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a moz-do-not-send="true"
href="mailto:gradsusr@gradsusr.org"
target="_blank">gradsusr@gradsusr.org</a><br>
<a moz-do-not-send="true"
href="http://gradsusr.org/mailman/listinfo/gradsusr"
target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</div>
</div>
</blockquote>
--<br>
Dr. Christopher Lynnes, NASA/GSFC, Code 610.2,
301-614-5185<br>
<br>
</blockquote>
--<br>
Dr. Christopher Lynnes, NASA/GSFC, Code 610.2, 301-614-5185<br>
<br>
</blockquote>
<br>
<br>
-- <br>
Zhong Liu, Ph.D.<br>
<a moz-do-not-send="true" href="mailto:Zhong.Liu-1@nasa.gov"
target="_blank">Zhong.Liu-1@nasa.gov</a><br>
George Mason University and<br>
NASA Goddard Earth Sciences Data and<br>
Information Services Center<br>
NASA/GSFC, Code 610.2<br>
Greenbelt. MD. 20771 U.S.A.<br>
(301) 614-5764 (voice)<br>
(301) 614-5268 (fax)<br>
<a moz-do-not-send="true" href="http://disc.gsfc.nasa.gov/"
target="_blank">http://disc.gsfc.nasa.gov</a><br>
<a moz-do-not-send="true"
href="http://disc2.nascom.nasa.gov/Giovanni/tovas/"
target="_blank">http://disc2.nascom.nasa.gov/Giovanni/tovas/</a><br>
<a moz-do-not-send="true"
href="http://disc.sci.gsfc.nasa.gov/hurricane/trmm_quikscat_analysis.shtml"
target="_blank">http://disc.sci.gsfc.nasa.gov/hurricane/trmm_quikscat_analysis.shtml</a><br>
<a moz-do-not-send="true"
href="http://disc.sci.gsfc.nasa.gov/agriculture/ais_sup/current_conditions.shtml"
target="_blank">http://disc.sci.gsfc.nasa.gov/agriculture/ais_sup/current_conditions.shtml</a><br>
<br>
</blockquote>
</div>
<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Zhong Liu, Ph.D.
<a class="moz-txt-link-abbreviated" href="mailto:Zhong.Liu-1@nasa.gov">Zhong.Liu-1@nasa.gov</a>
George Mason University and
NASA Goddard Earth Sciences Data and
Information Services Center
NASA/GSFC, Code 610.2
Greenbelt. MD. 20771 U.S.A.
(301) 614-5764 (voice)
(301) 614-5268 (fax)
<a class="moz-txt-link-freetext" href="http://disc.gsfc.nasa.gov">http://disc.gsfc.nasa.gov</a>
<a class="moz-txt-link-freetext" href="http://disc2.nascom.nasa.gov/Giovanni/tovas/">http://disc2.nascom.nasa.gov/Giovanni/tovas/</a>
<a class="moz-txt-link-freetext" href="http://disc.sci.gsfc.nasa.gov/hurricane/trmm_quikscat_analysis.shtml">http://disc.sci.gsfc.nasa.gov/hurricane/trmm_quikscat_analysis.shtml</a>
<a class="moz-txt-link-freetext" href="http://disc.sci.gsfc.nasa.gov/agriculture/ais_sup/current_conditions.shtml">http://disc.sci.gsfc.nasa.gov/agriculture/ais_sup/current_conditions.shtml</a></pre>
</body>
</html>