[Met_help] [rt.rap.ucar.edu #70352] History for TRMM 3hr accumulations

John Halley Gotway via RT met_help at ucar.edu
Tue Jan 27 09:35:43 MST 2015


----------------------------------------------------------------
  Initial Request
----------------------------------------------------------------

Hi JohnI have gone to the link of 3hourly accumulations of TRMM data. ftp://disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201305/and I downloaded the some of the files say, 







3B42.130522.00z.7.precipitation.bin2.2 MB25/07/2013 00:00:003B42.130522.00z.7.relativeError.bin2.2 MB25/07/2013 00:00:003B42.130522.03z.7.precipitation.bin2.2 MB25/07/2013 00:00:003B42.130522.03z.7.relativeError.bin2.2 MB25/07/2013 00:00:003B42.130522.06z.7.precipitation.bin2.2 MB25/07/2013 00:00:003B42.130522.06z.7.relativeError.bin2.2 MB25/07/2013 00:00:003B42.130522.09z.7.precipitation.bin2.2 MB25/07/2013 00:00:003B42.130522.09z.7.relativeError.bin2.2 MB25/07/2013 00:00:003B42.130522.12z.7.precipitation.bin2.2 MB25/07/2013 00:00:003B42.130522.12z.7.relativeError.bin2.2 MB25/07/2013 00:00:003B42.130522.15z.7.precipitation.bin2.2 MB25/07/2013 00:00:003B42.130522.15z.7.relativeError.bin2.2 MB25/07/2013 00:00:003B42.130522.18z.7.precipitation.bin2.2 MB25/07/2013 00:00:003B42.130522.18z.7.relativeError.bin2.2 MB25/07/2013 00:00:003B42.130522.21z.7.precipitation.bin2.2 MB25/07/2013 00:00:003B42.130522.21z.7.relativeError.bin2.2 MB25/07/2013 00:00:003B42.130523.00z.7.precipitati!
 on.bin2.2 MB25/07/2013 00:00:003B42.130523.00z.7.relativeError.bin2.2 MB25/07/2013 00:00:003B42.130523.03z.7.precipitation.bin2.2 MB25/07/2013 00:00:00



I am interested in verifying the model O/P from 0300 of 22-05-2013 to 0300 UTC of 23-05-2013, A total of 8 files.Now how should I combine these binary files into ONE??? 		 	   		  

----------------------------------------------------------------
  Complete Ticket History
----------------------------------------------------------------

Subject: TRMM 3hr accumulations
From: John Halley Gotway
Time: Tue Jan 13 16:11:41 2015

Geeta,

Run the trmmbin2nc.R script to convert them to NetCDF.  Then run the
MET
pcp_combine tool to sum up the values.  Optionally, you could run
plot_data_plane to plot the result.

You don't need the relative error binary files, just the precipitation
ones.  Here's an example of commands you could use to process 2 of
these
files.  You could easily put this inside a loop to process all 8 of
them.
I've attached the resulting png image file.

Hope that helps.

Thanks,
John

# Get data
wget
ftp://disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201305/3B42.130522.00z.7.precipitation.bin
wget
ftp://disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201305/3B42.130522.03z.7.precipitation.bin

# Get Rscript
wget http://www.dtcenter.org/met/users/downloads/Rscripts/trmmbin2nc.R

# Run Rscript
Rscript trmmbin2nc.R 3B42.130522.00z.7.precipitation.bin
3B42.130522.00z.7.precipitation.nc
Rscript trmmbin2nc.R 3B42.130522.03z.7.precipitation.bin
3B42.130522.03z.7.precipitation.nc

# Run pcp_combine to add precip data
met-5.0/bin/pcp_combine -add \
   3B42.130522.00z.7.precipitation.nc 'name="APCP_03"; level="(*,*)";'
\
   3B42.130522.03z.7.precipitation.nc 'name="APCP_03"; level="(*,*)";'
\
   3B42.130522.00z.to.03Z.7.precipitation.nc

# Run plot_data_plane to plot the result
met-5.0/bin/plot_data_plane \
   3B42.130522.00z.to.03Z.7.precipitation.nc \
   3B42.130522.00z.to.03Z.7.precipitation.ps \
   'name="APCP_06"; level="(*,*)";'

# Convert the postscript to png format
convert -rotate 90 -background white -flatten
3B42.130522.00z.to.03Z.7.precipitation.ps
3B42.130522.00z.to.03Z.7.precipitation.png


On Tue, Jan 13, 2015 at 4:02 AM, Geeta Geeta via RT
<met_help at ucar.edu>
wrote:

>
> Tue Jan 13 04:02:16 2015: Request 70352 was acted upon.
> Transaction: Ticket created by geeta124 at hotmail.com
>        Queue: met_help
>      Subject: TRMM 3hr accumulations
>        Owner: Nobody
>   Requestors: geeta124 at hotmail.com
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70352 >
>
>
> Hi JohnI have gone to the link of 3hourly accumulations of TRMM
data.
> ftp://disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201305/and I
> downloaded the some of the files say,
>
>
>
>
>
>
>
> 3B42.130522.00z.7.precipitation.bin2.2 MB25/07/2013
> 00:00:003B42.130522.00z.7.relativeError.bin2.2 MB25/07/2013
> 00:00:003B42.130522.03z.7.precipitation.bin2.2 MB25/07/2013
> 00:00:003B42.130522.03z.7.relativeError.bin2.2 MB25/07/2013
> 00:00:003B42.130522.06z.7.precipitation.bin2.2 MB25/07/2013
> 00:00:003B42.130522.06z.7.relativeError.bin2.2 MB25/07/2013
> 00:00:003B42.130522.09z.7.precipitation.bin2.2 MB25/07/2013
> 00:00:003B42.130522.09z.7.relativeError.bin2.2 MB25/07/2013
> 00:00:003B42.130522.12z.7.precipitation.bin2.2 MB25/07/2013
> 00:00:003B42.130522.12z.7.relativeError.bin2.2 MB25/07/2013
> 00:00:003B42.130522.15z.7.precipitation.bin2.2 MB25/07/2013
> 00:00:003B42.130522.15z.7.relativeError.bin2.2 MB25/07/2013
> 00:00:003B42.130522.18z.7.precipitation.bin2.2 MB25/07/2013
> 00:00:003B42.130522.18z.7.relativeError.bin2.2 MB25/07/2013
> 00:00:003B42.130522.21z.7.precipitation.bin2.2 MB25/07/2013
> 00:00:003B42.130522.21z.7.relativeError.bin2.2 MB25/07/2013
> 00:00:003B42.130523.00z.7.precipitati!
>  on.bin2.2 MB25/07/2013
00:00:003B42.130523.00z.7.relativeError.bin2.2
> MB25/07/2013 00:00:003B42.130523.03z.7.precipitation.bin2.2
MB25/07/2013
> 00:00:00
>
>
>
> I am interested in verifying the model O/P from 0300 of 22-05-2013
to 0300
> UTC of 23-05-2013, A total of 8 files.Now how should I combine these
binary
> files into ONE???
>

------------------------------------------------


More information about the Met_help mailing list