Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Efficient Conversion of WRF/ADIOS2 Output to NetCDF4 with ADIOS2 v2.10.1

zia.waqqas

New member
Here’s a restructured, clearer, and more detailed version of your message — suitable for an email, GitHub issue, or forum post:




Hello,


I have successfully compiled and run WRF v4.7.1 with ADIOS2 v2.10.1. The simulation executes correctly, and the model outputs are written to the specified output directory in ADIOS2 format.


However, I am now looking for an efficient and reliable method to convert these ADIOS2 output files into standard NetCDF4 format for post-processing and analysis.


I came across the converter tool available here:
🔗 WRF-ADIOS2-to-NetCDF4,
but it appears to be outdated and incompatible with newer ADIOS2 releases (≥ 2.10). Attempts to compile or run it against recent versions result in API mismatches and build errors.


Could you please suggest a current or recommended workflow or toolchain for performing this conversion efficiently?
For example:


  • Are there official ADIOS2 utilities (like bp2h5 or others) that can reliably handle WRF outputs?
  • Is there any updated Python or C++ interface to read ADIOS2 BP files and write them to NetCDF4 using libraries like xarray or netCDF4?
  • Alternatively, are there any community-maintained scripts compatible with modern ADIOS2 builds?

Any guidance or examples would be greatly appreciated.


Thank you in advance for your help and time.


Best regards,
 
Top