GRIB2 to ARL with api2arl_v3

Post questions and find resources to convert meteorological data into a format HYSPLIT can read.
Post Reply
maaria
Posts: 1
Joined: January 2nd, 2026, 4:11 am
Registered HYSPLIT User: No

GRIB2 to ARL with api2arl_v3

Post by maaria »

Hello,

I am trying to convert custom GRIB2 meteorological data to ARL format using
api2arl_v3, but the conversion fails immediately with:

ECCODES ERROR : IO ERROR: Bad address: (null)
STOP 900

I have tested this on macOS and also in WSL2 (Ubuntu). In WSL2, api2arl also
reported that the input file could not be found, even though the file path
was correct.

The command I am using is:

./api2arl_v3 -z1 -i input.grib2 -o output.arl

The GRIB2 file was generated from MET Norway MEPS (HARMONIE) data using a
NetCDF → GRIB2 workflow (attached). I have also attached text output
describing the GRIB2 contents (grib_ls, cdo sinfo / infon).

GRIB2 characteristics:
- Regular lat-lon grid
- Pressure levels (50–1000 hPa)
- Single analysis time
- Variables: u, v, t, r, gh, w

I am aware that api2arl typically also expects surface-level fields, but I am
intentionally testing pressure-level data first to get the basic conversion
working.

Based on this:
1) Is this GRIB2 structure suitable for api2arl?
2) Are any required fields or metadata missing?
3) What is a good and straightforward way to successfully run the GRIB2 → ARL
conversion with api2arl?

Thank you for any guidance. :)
Attachments
netcdf_to_grib2.txt
Conversion workflow NetCDF to GRIB2
(2.22 KiB) Downloaded 8 times
meps_pl_latlon.grib2.info.txt
Info of my GRIB2 file
(12.94 KiB) Downloaded 10 times
Post Reply

Return to “Conversion programs”