Read WRF Intermediate Format data files for analysis in Python or R

Topics related to running the metgrid.exe program
Post Reply
Chang_Shu
Posts: 21
Joined: Mon Jan 06, 2020 4:28 am

Read WRF Intermediate Format data files for analysis in Python or R

Post by Chang_Shu » Thu May 13, 2021 6:25 pm

Hello,

I am wondering if anyone has ever dealt with the WRF Intermediate Format data files, which are for the input of the metgrid.exe program.
I am doing future projections of the climate data using the NCAR CESM Global Bias-Corrected CMIP5 Output to Support WRF/MPAS Research dataset (https://rda.ucar.edu/datasets/ds316.1) as the boundary inputs.
Before the simulation in WRF, I would like to analyze these boundary conditions first to select which year for the simulation.
But I notice that the files provided by the CESM dataset are in the BINARY format.
I normally use Python and R to process the data in NetCDF format, but I am not familiar with these BINARY format files.
Could anyone please let me know if there is any tool/package to read the BINARY file and extract data from it?

Thanks in advance for sharing your experience on this type of BINARY files,

Chang

kwerner
Posts: 2287
Joined: Wed Feb 14, 2018 9:21 pm

Re: Read WRF Intermediate Format data files for analysis in Python or R

Post by kwerner » Thu May 13, 2021 9:06 pm

Hi Chang,
There are programs available for reading and plotting intermediate formatted data. Take a look at this presentation (specifically slides 15-18) and see if that is helpful.
NCAR/MMM

Post Reply

Return to “metgrid”