Using IMERG data for observations in MODE #1009
-
Is there any example/tutorial that uses IMERG data for MODE analysis? I have been searching the internet but nothing comes out. I believe it is not trivial because IMERG comes in HDF5 and grid is different to GFS (in my case). I am thinking in the following workflow:
Any suggestions? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
I see you have a question about using IMERG data as input to the MODE tool in MET. You're correct that MODE cannot read the HDF5 IMERG data directly, nor can any of the other MET tools. However, MODE, along with the other MET tools, can read gridded data served up via a python embedding script. And that's what I'd recommend you pursue here. Rather than laying out a prescribed path for processing the data, let me show you what examples already exist and you can decide how to proceed. First, the MET website does contains some sample Python Scripts to demonstrate python embedding. All of the examples show how to call MET's plot_data_plane tool to read the data via python and plot it. However, there is no example of reading IMERG data there. Second, a search for "IMERG" in the METplus documentation takes you to this Use Case Page. This is an example of using the METplus wrappers, along with python embedding, to run MET's pcp_combine tool to sum up IMERG data across multiple files. This is pretty much what you're trying to do. It reads HDF5 IMERG data, sums it up with pcp_combine, and writes a NetCDF file that MODE can read. Here's a link to the actual sum_IMERG_V06_HDF5.py python embedding script that use case calls. It's up to you if you'd like to get up and running with the METplus wrappers. If so, you can adapt this existing use case for your needs. If not, I'd recommend that you:
|
Beta Was this translation helpful? Give feedback.
I see you have a question about using IMERG data as input to the MODE tool in MET. You're correct that MODE cannot read the HDF5 IMERG data directly, nor can any of the other MET tools. However, MODE, along with the other MET tools, can read gridded data served up via a python embedding script. And that's what I'd recommend you pursue here.
Rather than laying out a prescribed path for processing the data, let me show you what examples already exist and you can decide how to proceed.
First, the MET website does contains some sample Python Scripts to demonstrate python embedding. All of the examples show how to call MET's plot_data_plane tool to read the data via python and plot it. However…